diff --git a/routes/web.php b/routes/web.php index 9b32ffd4..fd633b01 100644 --- a/routes/web.php +++ b/routes/web.php @@ -304,6 +304,7 @@ Route::get('/customers/active/{active_start}/{active_end}/{inactive_start?}/{ina Number of Orders CBM '; + foreach ($companies as $key => $company){ $connection = $company->inviters()->withPivot('invitee_reference')->first(); $marking = $connection ? $connection->pivot->invitee_reference:''; @@ -317,8 +318,6 @@ Route::get('/customers/active/{active_start}/{active_end}/{inactive_start?}/{ina }); } - $totalCbm = ($with_cbm ? '['. $packingList->count().'] ('. $totalCbm .')' : ''); - echo ' '.$key.' '.$marking.'