added bank name and bank branch to booking calcualation

This commit is contained in:
Jack Goh
2018-08-13 11:36:26 +08:00
parent 148f771098
commit 91c0bec289
2 changed files with 12 additions and 7 deletions
+2 -4
View File
@@ -78,10 +78,6 @@ class BookingController extends Controller
return $bookings;
}
public function userComplete(){
$user = Auth::user();
$bookings = Booking::select('user_id', 'id', 'created_at', 'status', 'rate', 'term', 'amount', 'bia', 'verification_status')
@@ -786,6 +782,8 @@ class BookingController extends Controller
'taxAmount' => $taxAmount,
'billingChargeAmount' => $billingChargeAmount,
'bankin_amount' => $bankin_amount,
'bank_name'=> $request->input('bank_name'),
'bank_branch'=> $request->input('bank_branch'),
'acc_name' => $request->input('acc_name'),
'acc_no' => $request->input('acc_no')
], 200);