added order_no and payment_for in booking controller store function

This commit is contained in:
Jack Goh
2018-07-22 18:09:28 +08:00
parent c3d50a776b
commit 46b349b189
2 changed files with 5 additions and 1 deletions
@@ -318,6 +318,8 @@ class BookingController extends Controller
$booking->bank_name = $request->input('bank_name');
$booking->bank_branch = $request->input('bank_branch');
$booking->amount = $request->input('amount');
$booking->order_no = $request->input('order_no');
$booking->payment_for = $request->input('payment_for');
$booking->term = $term;
$booking->rate_id = $rates->id;
$booking->rate = $rate;
+3 -1
View File
@@ -564,6 +564,8 @@ export default {
this.loading = true,
this.dialogFormVisible1 = true
let newBooking = {
order_no: this.bookingForm.order_no,
payment_for: this.bookingForm.payment_for,
account_name: this.bookingForm.account_name,
account_num: this.bookingForm.account_num,
bank_name: this.bookingForm.bank_name,
@@ -586,7 +588,7 @@ export default {
this.loading = false
this.$message({
showClose: true,
message: 'Internal server issues. Please contact support',
message: 'Internal server error. Please contact support',
type: 'error',
duration: 10000
})