chore: update document approval workflow and bug fixes
This commit is contained in:
1
test_script.php
Normal file
1
test_script.php
Normal 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(\);
|
||||
Reference in New Issue
Block a user