From aa1ba03415292dd191fccb2aaeb9e4ccdac9b3f1 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Fri, 18 Mar 2022 16:16:25 +0800 Subject: [PATCH] update rfm to table --- routes/web.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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.'