From 15db2715f5a1165cbfcc1c49e4a772af6b71e47b Mon Sep 17 00:00:00 2001 From: Omair Saleh Date: Fri, 2 Dec 2022 11:15:50 +0800 Subject: [PATCH] estimate container shipping cost --- routes/web.php | 1 + 1 file changed, 1 insertion(+) diff --git a/routes/web.php b/routes/web.php index c4db7425..e9dc1a61 100644 --- a/routes/web.php +++ b/routes/web.php @@ -531,6 +531,7 @@ Route::get('/container/billing/{month}/{year}', function($month, $year){ $price += 50; } + $cbm = max($cbm, 0.3); $cost = $price * ($cbm + $over_weight_cbm); $containerCost += $cost;