save service_charge and billing_charge to bookings

This commit is contained in:
Edmond Teh
2020-09-25 16:44:37 +08:00
parent a3a6ee1f94
commit b823152a51
@@ -448,6 +448,8 @@ class BookingController extends Controller
$bankin_amount = round($subtotal + $taxAmount + $billingChargeAmount , 2);
$booking = new Booking();
$booking->billing_charge = $billingChargeAmount;
$booking->service_charge = $svcharge;
$booking->account_name = $request->input('account_name');
$booking->account_num = $request->input('account_num');
$booking->bank_name = $request->input('bank_name');