Fix calculation

This commit is contained in:
weiweitoo
2018-07-20 21:47:23 +08:00
parent 21c13d3e60
commit 65c65ef257
+1 -1
View File
@@ -600,7 +600,7 @@ class BookingController extends Controller
$svcharge = 20.00;
}
$subtotal = ($amount + $svcharge) / $rate + (0 * ($amount + $svcharge));
$subtotal = $amount + $svcharge) / $rate;
$taxAmount = round($subtotal * $taxrate,2);
$billingChargeAmount = round(($amount + $svcharge) * $billingChargeRate, 2);
$bankin_amount = round($subtotal + $taxAmount + $billingChargeAmount , 2);