From cc26e6734078e1f7913e0d12311dd10f536bdef1 Mon Sep 17 00:00:00 2001 From: Omair Saleh Date: Fri, 2 Dec 2022 11:22:47 +0800 Subject: [PATCH] estimate container shipping cost --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index e9dc1a61..4b3db26a 100644 --- a/routes/web.php +++ b/routes/web.php @@ -560,7 +560,7 @@ Route::get('/container/billing/{month}/{year}', function($month, $year){ $totalPaid += $payments->sum('amount'); $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 ''.

'.$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 '

'; }