chore: update document approval workflow and bug fixes

This commit is contained in:
2026-05-25 13:05:20 +08:00
parent d573c02893
commit 39a8e1d4cd
910 changed files with 49994 additions and 1010 deletions

1
test_script.php Normal file
View File

@@ -0,0 +1 @@
<?php require __DIR__.'/vendor/autoload.php'; \ = require_once __DIR__.'/bootstrap/app.php'; \ = \->make(Illuminate\Contracts\Console\Kernel::class); \->bootstrap(); \ = \Modules\ProjectManagement\Models\Project::first(); \ = \Modules\MaterialLogistics\Models\ProjectInventory::where('project_id', \->id)->where('on_hand_qty', '>', 0)->with('material:id,ulid,name,sku,unit,unit_cost,category')->get()->map(fn(\)=>['name'=>\->material->name,'available_qty'=>\->available_qty,'on_hand'=>\->on_hand_qty])->toArray(); print_r(\);