mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-19 04:23:59 +00:00
update smc monthly summary containers ref
This commit is contained in:
+1
-2
@@ -271,8 +271,7 @@ Route::get('/settings', function () {
|
||||
})->name('settings');
|
||||
|
||||
Route::get('/customer/summary/monthly', function () {
|
||||
dd(\Carbon\Carbon::now()->format('m'));
|
||||
$containers = Container::whereMonth('loading_date', 5)->get();
|
||||
$containers = Container::whereMonth('loading_date', '>', ((float)\Carbon\Carbon::now()->format('m') - 1))->get();
|
||||
// $containers = Container::whereIn('reference', ['cs-6062', 'eps-3926', 'sh-1122', 'sh-1121', 'eps-3925', 'cs-6060', 'eps-3927', 'cs-6066', 'cs-6069'])->get();
|
||||
foreach ($containers as $container){
|
||||
$packingLists = $container->packingLists()->get()->filter(function ($packingList) {
|
||||
|
||||
Reference in New Issue
Block a user