diff --git a/app/Http/Controllers/BookingController.php b/app/Http/Controllers/BookingController.php index a26c4508..1088d894 100644 --- a/app/Http/Controllers/BookingController.php +++ b/app/Http/Controllers/BookingController.php @@ -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; diff --git a/resources/assets/js/pages/home.vue b/resources/assets/js/pages/home.vue index 8e2d5c0e..098139eb 100644 --- a/resources/assets/js/pages/home.vue +++ b/resources/assets/js/pages/home.vue @@ -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 })