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(\);