diff --git a/routes/web.php b/routes/web.php index c6cc169c..aec23be7 100644 --- a/routes/web.php +++ b/routes/web.php @@ -432,7 +432,7 @@ Route::get('/delayed_container/customers', function(){ return $query->where('etd', '>', \Carbon\Carbon::parse('15-10-2022')); }); })->get(); -dd($containers); + $orders = $containers->map(function($container){ return $container->orders; })->flatten()->unique(function($order){