mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
shipping sales report
This commit is contained in:
+1
-1
@@ -481,7 +481,7 @@ Route::get('/container/billing/{month}/{year}', function($month, $year){
|
||||
$totalBilled += $invoice->amount;
|
||||
$totalPaid += $payments->sum('amount');
|
||||
|
||||
echo $packingList->reference.' | Amount: '.$invoice->amount.' | Paid: '.$payments->sum('amount');
|
||||
echo '<span style="color: '.(($invoice->amount - $payments->sum('amount')) < 0.01 ? 'green' : 'red').'">'.$packingList->reference.' | Amount: '.$invoice->amount.' | Paid: '.$payments->sum('amount').'</span>';
|
||||
echo '<br>';
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user