From f2cc45303c1063fd3f418b6d59a46d71a3f0f30e Mon Sep 17 00:00:00 2001 From: Omair Saleh Date: Thu, 1 Dec 2022 18:40:36 +0800 Subject: [PATCH] estimate container shipping cost --- routes/web.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index f33c1685..cf4ab73c 100644 --- a/routes/web.php +++ b/routes/web.php @@ -532,7 +532,7 @@ Route::get('/container/billing/{month}/{year}', function($month, $year){ if(in_array($address->state_id, [13, 14])) { echo 'East Malaysia - '; } - echo 'supplier cost:'.$cost; + echo 'estimated cost:'.$cost; echo '

'; if(!$invoice) { @@ -562,6 +562,7 @@ Route::get('/container/billing/{month}/{year}', function($month, $year){ echo '

Billed Total: '.$containerTotalBilled.'

'; echo '

Total Paid: '.$containerTotalPaid.'

'; echo '

Outstanding: '.($totalBilled - $containerTotalPaid).'

'; + echo '

Estimated Cost: '.$containerCost.'

'; echo '


'; }