mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 12:24:09 +00:00
fixing totals to include service charge for x2 payments
This commit is contained in:
@@ -340,12 +340,9 @@ class BookingController extends Controller
|
||||
|
||||
$booking->service_charge = 0;
|
||||
if($booking){
|
||||
if($booking->term === 'x2_cash' || $booking->term === 'x2_cheque' || $booking->term === 'x2_ba'){
|
||||
if ($booking->amount < 10000) {
|
||||
$booking->service_charge = 'tara';
|
||||
}
|
||||
if ($booking->amount < 10000 && ($booking->term === 'x2_cash' || $booking->term === 'x2_cheque' || $booking->term === 'x2_ba')) {
|
||||
$booking->service_charge = 20;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// set timeout
|
||||
|
||||
Reference in New Issue
Block a user