diff --git a/routes/web.php b/routes/web.php index 1ecd214e..53c54686 100644 --- a/routes/web.php +++ b/routes/web.php @@ -240,7 +240,8 @@ Route::get('/settings', function () { })->name('settings'); Route::get('/customer/summary/monthly', function () { - $containers = Container::whereMonth('loading_date', 1)->where('owner_id', 3)->get(); +// $containers = Container::whereMonth('loading_date', 1)->where('owner_id', 3)->get(); + $containers = Container::whereIn('reference', ['SM21-166', 'SM21-168', 'SM21-170', 'SM21-171', 'SM21-172', 'SM21-173', 'EPS-3833'])->get(); foreach ($containers as $container){ $packingLists = $container->packingLists()->get()->filter(function ($packingList) { return $packingList->owner->company_module_id === 248;