diff --git a/database/migrations/2026_04_27_120143_make_company_id_nullable_in_maintenance_records_table.php b/database/migrations/2026_04_27_120143_make_company_id_nullable_in_maintenance_records_table.php new file mode 100644 index 0000000..69e3df8 --- /dev/null +++ b/database/migrations/2026_04_27_120143_make_company_id_nullable_in_maintenance_records_table.php @@ -0,0 +1,28 @@ +foreignId('company_id')->nullable()->change(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('maintenance_records', function (Blueprint $table) { + $table->foreignId('company_id')->nullable(false)->change(); + }); + } +}; diff --git a/resources/views/admin/warehouses/partials/modal-replenishment-status.blade.php b/resources/views/admin/warehouses/partials/modal-replenishment-status.blade.php new file mode 100644 index 0000000..8c64601 --- /dev/null +++ b/resources/views/admin/warehouses/partials/modal-replenishment-status.blade.php @@ -0,0 +1,41 @@ +{{-- 狀態更新確認 Modal --}} +
+
+
+ +
+
+
+ + + +
+
+

+
+

+
+
+
+
+ + +
+
+
+
diff --git a/resources/views/layouts/partials/sidebar-menu.blade.php b/resources/views/layouts/partials/sidebar-menu.blade.php index cc7ab9a..72a02d7 100644 --- a/resources/views/layouts/partials/sidebar-menu.blade.php +++ b/resources/views/layouts/partials/sidebar-menu.blade.php @@ -2,24 +2,26 @@
  • - {{ __('Dashboard') }} + {{ __('Dashboard') }}
  • {{-- 2. 應用程式 (個人) --}}
  • - -
    +
    @@ -30,18 +32,20 @@ @can('menu.members') 3. 會員管理
  • - -
    +
  • @@ -52,37 +56,39 @@ @can('menu.machines') {{-- 4. 機台管理 --}}
  • - -
    +
    @@ -95,18 +101,20 @@ @can('menu.app') 5. APP管理
  • - -
    +
  • @@ -117,32 +125,34 @@ @can('menu.warehouses') {{-- 6. 倉庫管理 --}}
  • - -
    +
    @@ -153,19 +163,21 @@ @can('menu.sales') {{-- 7. 銷售管理 --}}
  • - -
    +
  • @@ -176,17 +188,19 @@ @can('menu.analysis') 8. 分析管理
  • - -
    +
  • @@ -198,16 +212,18 @@ @can('menu.audit') 9. 稽核管理
  • - -
    +
  • @@ -218,24 +234,26 @@ @can('menu.data-config') {{-- 10. 資料設定 --}}
  • - -
    +
    @@ -270,20 +288,22 @@ @can('menu.remote') {{-- 11. 遠端管理 --}}
  • - -
    +
    @@ -295,19 +315,21 @@ @can('menu.line') 12. Line管理
  • - -
    +
  • @@ -318,20 +340,22 @@ @can('menu.reservation') 13. 預約系統
  • - -
    +
  • @@ -341,16 +365,18 @@ @can('menu.special-permission') {{-- 14. 特殊權限 --}}
  • - -
    +
  • @@ -360,23 +386,25 @@ @can('menu.basic-settings') {{-- 14.5. 基本設定 --}}
  • - -
    +
    @@ -389,29 +417,31 @@ @can('menu.permissions') {{-- 15. 權限設定 --}}
  • - -
    +
    diff --git a/resources/views/profile/partials/login-history.blade.php b/resources/views/profile/partials/login-history.blade.php index 85a164a..9a03404 100644 --- a/resources/views/profile/partials/login-history.blade.php +++ b/resources/views/profile/partials/login-history.blade.php @@ -14,14 +14,9 @@
    - -
    -
    @forelse($user->loginLogs()->latest()->take(10)->get() as $log) -
    - -
    +