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 --}} +