diff --git a/routes/web.php b/routes/web.php index d69083cc..e744480f 100644 --- a/routes/web.php +++ b/routes/web.php @@ -515,7 +515,7 @@ Route::get('/container/billing/{month}/{year}', function($month, $year){ }); Route::get('/yd/fix', function(){ - $packingLists = \App\Models\PackingList::where('type', \App\Classes\ValueObjects\Constants\PackingListType::SHIPPING_PACKING_LIST)->where('status', \App\Classes\ValueObjects\Constants\ApprovalStatus::APPROVED)->where('claimant_i', 2307)->get(); + $packingLists = \App\Models\PackingList::where('type', \App\Classes\ValueObjects\Constants\PackingListType::SHIPPING_PACKING_LIST)->where('status', \App\Classes\ValueObjects\Constants\ApprovalStatus::APPROVED)->where('claimant_id', 2307)->get(); $i = 0; echo count($packingLists).'

'; foreach ($packingLists as $packingList){