estimate container shipping cost

This commit is contained in:
Omair Saleh
2022-12-01 18:40:36 +08:00
parent e0db537931
commit f2cc45303c
+2 -1
View File
@@ -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 '<br><br>';
if(!$invoice) {
@@ -562,6 +562,7 @@ Route::get('/container/billing/{month}/{year}', function($month, $year){
echo '<h4>Billed Total: '.$containerTotalBilled.'</h4>';
echo '<h4>Total Paid: '.$containerTotalPaid.'</h4>';
echo '<h4>Outstanding: '.($totalBilled - $containerTotalPaid).'</h4>';
echo '<h4>Estimated Cost: '.$containerCost.'</h4>';
echo '<br><br><br>';
}