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