mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 04:14:04 +00:00
fixing totals to include service charge for x2 payments
This commit is contained in:
@@ -347,6 +347,8 @@ class BookingController extends Controller
|
||||
$booking->invoice_path = Storage::url($invoice->invoice_path);
|
||||
}
|
||||
|
||||
$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;
|
||||
|
||||
Reference in New Issue
Block a user