From 0cb3bd6ce382fd8d1731a637db30cf58c8eeb5c0 Mon Sep 17 00:00:00 2001 From: Omair Saleh Date: Thu, 1 Dec 2022 18:41:17 +0800 Subject: [PATCH] estimate container shipping cost --- routes/web.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes/web.php b/routes/web.php index cf4ab73c..6c09d999 100644 --- a/routes/web.php +++ b/routes/web.php @@ -533,7 +533,7 @@ Route::get('/container/billing/{month}/{year}', function($month, $year){ echo 'East Malaysia - '; } echo 'estimated cost:'.$cost; - echo '

'; + echo '
'; if(!$invoice) { echo '

'.$packingList->reference .' Warning: no billing

'; @@ -554,7 +554,7 @@ Route::get('/container/billing/{month}/{year}', function($month, $year){ $containerTotalPaid += $payments->sum('amount'); echo ''.$packingList->reference.' | Amount: '.$invoice->amount.' | Paid: '.$payments->sum('amount').' | Invoice Date: '.$invoice->created_at->format('d-m-Y'). (($invoice->amount - $payments->sum('amount')) < 0.01 ? '' : '('.$invoice->created_at->diffForHumans().')').''; - echo '
'; + echo '

'; }