mirror of
https://gitlab.com/omair-personal/exchange.git
synced 2026-08-19 12:34:13 +00:00
Fix calculation
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user