fix/serviceCharge

This commit is contained in:
lonetrinity
2018-10-11 15:37:13 +08:00
parent 3cd7ed8226
commit b188de0747
+7 -7
View File
@@ -485,13 +485,13 @@ class BookingController extends Controller
break;
}
// Service charge (RMB) : if amount higher than 10,000 or term x2 no service charge.
// if ($amount >= 10000 && ($term == 'x2_cash' || $term == 'x2_cheque' || $term == 'x2_ba')) {
// $svcharge = 0;
// } else {
// $svcharge = 0;
// //$svcharge = 0; // UPDATE ON : 15-8-2018 from PM
// }
// Service charge (RMB) : if amount higher than 10,000 or term x2 no service charge.
if ($amount >= 10000 && ($term == 'x2_cash' || $term == 'x2_cheque' || $term == 'x2_ba')) {
$svcharge = 0;
} else {
$svcharge = 0;
//$svcharge = 0; // UPDATE ON : 15-8-2018 from PM
}
$subtotal = round(($amount + $svcharge) / $rate, 2);