From b823152a51d87ac1f311f2262e098d7a8bdfe6fa Mon Sep 17 00:00:00 2001 From: Edmond Teh Date: Fri, 25 Sep 2020 16:44:37 +0800 Subject: [PATCH] save service_charge and billing_charge to bookings --- app/Http/Controllers/BookingController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Http/Controllers/BookingController.php b/app/Http/Controllers/BookingController.php index 9c82209f..7641c6bf 100644 --- a/app/Http/Controllers/BookingController.php +++ b/app/Http/Controllers/BookingController.php @@ -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');