Index: app/Http/Requests/Dashboard/NewDepartmentRequest.php
===================================================================
--- app/Http/Requests/Dashboard/NewDepartmentRequest.php	(revision 4b7e2d354e16238fe8e560dc6dd0849218183335)
+++ app/Http/Requests/Dashboard/NewDepartmentRequest.php	(revision b39afb5ca1f7d081b84c24655f9db69951a602c8)
@@ -26,5 +26,5 @@
         return [
         "name" => "required|min:2|max:30|unique:departments,name",
-        "code" => "required|min:2|max:10|unique:departments,code"
+        "code" => "required|min:1|integer|unique:departments,code"
         ];
     }
Index: app/Http/Requests/Dashboard/UpdateDepartmentRequest.php
===================================================================
--- app/Http/Requests/Dashboard/UpdateDepartmentRequest.php	(revision 4b7e2d354e16238fe8e560dc6dd0849218183335)
+++ app/Http/Requests/Dashboard/UpdateDepartmentRequest.php	(revision b39afb5ca1f7d081b84c24655f9db69951a602c8)
@@ -26,5 +26,5 @@
         return [
             "name" => "required|min:2|max:30|unique:departments,name,$this->id,id",
-            "code" => "required|min:2|max:30|unique:departments,code,$this->id,id"
+            "code" => "required|min:1|integer|unique:departments,code,$this->id,id"
         ];
     }
Index: database/migrations/2021_09_29_121244_create_departments_table.php
===================================================================
--- database/migrations/2021_09_29_121244_create_departments_table.php	(revision 4b7e2d354e16238fe8e560dc6dd0849218183335)
+++ database/migrations/2021_09_29_121244_create_departments_table.php	(revision b39afb5ca1f7d081b84c24655f9db69951a602c8)
@@ -17,5 +17,5 @@
             $table->increments('id');
             $table->string("name");
-            $table->string("code");
+            $table->integer("code");
             $table->integer("user_id")->unsigned();
             $table->string("location");
Index: database/seeders/DatabaseSeeder.php
===================================================================
--- database/seeders/DatabaseSeeder.php	(revision 4b7e2d354e16238fe8e560dc6dd0849218183335)
+++ database/seeders/DatabaseSeeder.php	(revision b39afb5ca1f7d081b84c24655f9db69951a602c8)
@@ -21,5 +21,5 @@
         $this->call(FileTypesTableSeeder::class);
         $this->call(FoldersTableSeeder::class);
-        $this->call(FilesTableSeeder::class);
+        //$this->call(FilesTableSeeder::class);
     }
 }
Index: public/assets/js/app.js
===================================================================
--- public/assets/js/app.js	(revision 4b7e2d354e16238fe8e560dc6dd0849218183335)
+++ public/assets/js/app.js	(revision b39afb5ca1f7d081b84c24655f9db69951a602c8)
@@ -1015,76 +1015,4 @@
     });
 
-    function hasNew(response) {
-
-        for(var i=0; i<response.length; i++) {
-            if(!response[i].isRead) {
-                return true;
-            }
-        }
-
-        return false;
-    }
-
-    function notifications() {
-
-        var url = "/dashboard/get-notifications";
-        var _token = $("meta[name='csrf-token']").attr("content");
-
-        $.ajax({
-            url: url,
-            type: "post",
-            dataType: "json",
-            data: {
-                _token : _token,
-            },
-            success: function(response) {
-
-                $(".dropdown-notifications a:not(:last)").remove();
-                $(".dropdown-notifications-unread .nav-unread").hide();
-
-                var l = response.length;
-
-                if(hasNew(response)) {
-                    $(".dropdown-notifications .unreadNotificationsInfo").hide();
-                    $(".dropdown-notifications-unread .nav-unread").show();
-                }
-
-                if(l == 0) {
-                    $(".dropdown-notifications .unreadNotificationsInfo").show();
-                }
-
-                if(l > 0) {
-                    $(".dropdown-notifications .unreadNotificationsInfo").hide();
-                }
-
-                for(var i=0; i<l; i++) {
-
-                    var style = response[i].isRead ? "" : "background: #efefef; color: black;";
-
-                    var notificationItem = `
-						<a href="` + response[i].url + `" class="dropdown-item d-flex" style="` + style + `;">
-							<div>
-								` + response[i].message + `
-								<div class="small text-muted">` + response[i].ago + `</div>
-							</div>
-						</a>`;
-
-                    $(".dropdown-notifications").prepend(notificationItem);
-                }
-            },
-            error: function(response) {
-                console.log(response);
-            }
-        });
-    }
-
-    $(".dropdown-notifications-unread .nav-unread").hide();
-    notifications();
-    setInterval(function() { notifications(); }, 5000);
-
-    $(".dropdown-notifications-wrapper").click(function() {
-        $(".dropdown-notifications-unread .nav-unread").hide();
-    });
-
     $(document).on('click', '#btn-layout-builder', function () {
 
Index: resources/assets/js/custom.js
===================================================================
--- resources/assets/js/custom.js	(revision 4b7e2d354e16238fe8e560dc6dd0849218183335)
+++ resources/assets/js/custom.js	(revision b39afb5ca1f7d081b84c24655f9db69951a602c8)
@@ -108,76 +108,4 @@
     });
 
-    function hasNew(response) {
-
-        for(var i=0; i<response.length; i++) {
-            if(!response[i].isRead) {
-                return true;
-            }
-        }
-
-        return false;
-    }
-
-    function notifications() {
-
-        var url = "/dashboard/get-notifications";
-        var _token = $("meta[name='csrf-token']").attr("content");
-
-        $.ajax({
-            url: url,
-            type: "post",
-            dataType: "json",
-            data: {
-                _token : _token,
-            },
-            success: function(response) {
-
-                $(".dropdown-notifications a:not(:last)").remove();
-                $(".dropdown-notifications-unread .nav-unread").hide();
-
-                var l = response.length;
-
-                if(hasNew(response)) {
-                    $(".dropdown-notifications .unreadNotificationsInfo").hide();
-                    $(".dropdown-notifications-unread .nav-unread").show();
-                }
-
-                if(l == 0) {
-                    $(".dropdown-notifications .unreadNotificationsInfo").show();
-                }
-
-                if(l > 0) {
-                    $(".dropdown-notifications .unreadNotificationsInfo").hide();
-                }
-
-                for(var i=0; i<l; i++) {
-
-                    var style = response[i].isRead ? "" : "background: #efefef; color: black;";
-
-                    var notificationItem = `
-						<a href="` + response[i].url + `" class="dropdown-item d-flex" style="` + style + `;">
-							<div>
-								` + response[i].message + `
-								<div class="small text-muted">` + response[i].ago + `</div>
-							</div>
-						</a>`;
-
-                    $(".dropdown-notifications").prepend(notificationItem);
-                }
-            },
-            error: function(response) {
-                console.log(response);
-            }
-        });
-    }
-
-    $(".dropdown-notifications-unread .nav-unread").hide();
-    notifications();
-    setInterval(function() { notifications(); }, 5000);
-
-    $(".dropdown-notifications-wrapper").click(function() {
-        $(".dropdown-notifications-unread .nav-unread").hide();
-    });
-
     $(document).on('click', '#btn-layout-builder', function () {
 
Index: resources/views/dashboard/departments/index.blade.php
===================================================================
--- resources/views/dashboard/departments/index.blade.php	(revision 4b7e2d354e16238fe8e560dc6dd0849218183335)
+++ resources/views/dashboard/departments/index.blade.php	(revision b39afb5ca1f7d081b84c24655f9db69951a602c8)
@@ -134,5 +134,5 @@
                                                             <div class="form-group">
                                                                 <label class="form-label">Code</label>
-                                                                <input type="text" name="code" value="{{ $department->code }}" minlength="2" maxlength="30" class="form-control" placeholder="Code" required>
+                                                                <input type="number" name="code" value="{{ $department->code }}" minlength="1" class="form-control" placeholder="Code" required>
                                                             </div>
                                                         </div>
@@ -174,5 +174,5 @@
                                                         <div class="form-group">
                                                             <label>Code</label>
-                                                            <input type="text" name="code" value="{{ old('code') }}" minlength="2" maxlength="30" class="form-control" placeholder="Code" required>
+                                                            <input type="number" name="code" value="{{ old('code') }}" minlength="1" class="form-control" placeholder="Code" required>
                                                         </div>
                                                     </div>
Index: resources/views/layouts/app.blade.php
===================================================================
--- resources/views/layouts/app.blade.php	(revision 4b7e2d354e16238fe8e560dc6dd0849218183335)
+++ resources/views/layouts/app.blade.php	(revision b39afb5ca1f7d081b84c24655f9db69951a602c8)
@@ -125,39 +125,4 @@
                     <!-- end::header fullscreen -->
 
-                    <!-- begin::header notification dropdown -->
-                    <li class="nav-item dropdown">
-{{--                    <div class="dropdown dropdown-notifications-wrapper dropdown-menu-right dropdown-menu-big">--}}
-{{--                        <a href="javascript:void(0)" class="nav-link dropdown-notifications-unread icon" data-toggle="dropdown">--}}
-{{--                            <i data-feather="bell"></i>--}}
-{{--                            <span class="nav-unread"></span>--}}
-{{--                        </a>--}}
-{{--                        <div class="dropdown-menu dropdown-notifications dropdown-menu-right dropdown-menu-big">--}}
-{{--                            <div class="bg-dark p-4 text-center d-flex justify-content-between align-items-center">--}}
-{{--                                <h5 class="mb-0">Notifications</h5>--}}
-{{--                            </div>--}}
-{{--                            <div class="p-4 text-center align-items-center">--}}
-{{--                            <p class='text-center unreadNotificationsInfo'>No unread notifications</p>--}}
-{{--                            </div>--}}
-{{--                            <div class="dropdown-divider"></div>--}}
-{{--                            <a href="{{ route("dashboard.notifications.index") }}" class="dropdown-item text-center text-muted-dark">See all</a>--}}
-{{--                        </div>--}}
-{{--                    </div>--}}
-
-                        <div class="dropdown dropdown-notifications-wrapper d-none d-md-flex">
-                            <a class="nav-link dropdown-notifications-unread icon" data-toggle="dropdown">
-                                <i class="fe fe-bell"></i>
-                                <span class="nav-unread"></span>
-                            </a>
-                            <div class="dropdown-menu dropdown-notifications dropdown-menu-right dropdown-menu-arrow">
-                                <p class='text-center unreadNotificationsInfo'>No unread notifications</p>
-                                <div class="dropdown-divider"></div>
-                                <a href="{{ route("dashboard.notifications.index") }}" class="dropdown-item text-center text-muted-dark">See all</a>
-                            </div>
-                        </div>
-                    </li>
-
-{{--                    </li>--}}
-                    <!-- end::header notification dropdown -->
-
                     <!-- begin::user menu -->
                     <li class="nav-item dropdown">
Index: routes/web.php
===================================================================
--- routes/web.php	(revision 4b7e2d354e16238fe8e560dc6dd0849218183335)
+++ routes/web.php	(revision b39afb5ca1f7d081b84c24655f9db69951a602c8)
@@ -111,8 +111,3 @@
     Route::get('files/export', 'Dashboard\ExportExcelController@ExportFiles')->name("dashboard.files.export");
 
-    // Notifications
-    Route::get("/notifications", "Dashboard\NotificationsController@notifications")->name("dashboard.notifications.index");
-    Route::post("/get-notifications", "Dashboard\NotificationsController@showNotifications")->name("dashboard.notifications.store");
-
-
 });
