diff --git a/resources/assets/js/pages/home.vue b/resources/assets/js/pages/home.vue index c159acdf..99e8f9fe 100644 --- a/resources/assets/js/pages/home.vue +++ b/resources/assets/js/pages/home.vue @@ -141,19 +141,19 @@ - +
- + - + - + - @@ -178,25 +178,21 @@ Customer Marking : {{ bookingConfirmTable.marking }} + + Payment for (Order No.) : + {{ bookingConfirmTable.payment_order }} + Payment Method : {{ bookingConfirmTable.payment_method }} - CNY/RMB : - {{ bookingConfirmTable.amount }} + Remarks : + {{ bookingConfirmTable.remark }} - + Service Charge : - RMB {{ bookingConfirmTable.service_charge }} - - - RATE : - {{ bookingConfirmTable.rate }} - - - China Beneficiary Acc : - {{ bookingForm.account_name }} + + CNY/RMB : @@ -235,11 +231,40 @@ - Bank in Amount : + Bank In Amount : RM {{ bookingConfirmTable.bankin_amount }} + + China Beneficiary Acc : + + + + +
+ {{index+1}}) {{ item.account_name }} {{ item.account_num }} +
+
+ + + + + + Bank In Amount : + RM {{ bookingConfirmTable.bankin_amount }} + + + + + + + + CIEF WORLDWIDE SDN. BHD.(1134596-M) +
+ MBB 568603010762 + + @@ -343,13 +368,12 @@ export default { amount: '', rate: '' }, - bookingForm: { - // amount: '', + bookingForm: [{ account_name: '', bank_name: '', bank_branch: '', account_num: '' - }, + }], rules: { amount: [{ required: true, @@ -459,8 +483,6 @@ export default { }) }) }, - - makePagination(data){ let pagination ={ current_page: data.current_page, @@ -511,12 +533,11 @@ export default { this.loading = false console.log(response) this.bookingConfirmTable = response.data; - this.bookingConfirmTable.payment_for = 'Full Payment';//For future purpose? - this.bookingConfirmTable.remark = '';//For future purpose? + this.bookingConfirmTable.payment_for = 'Full Payment';//For future purpose + this.bookingConfirmTable.remark = '';//For future purpose + this.bookingConfirmTable.payment_order = '';//For future purpose this.dialogFormVisible = false this.dialogFormVisible1 = true - console.log(this.bookingConfirmTable); - console.log(this.bookingForm); }) .catch((error) => { this.$message({ @@ -550,8 +571,6 @@ export default { amount: this.booking.amount, term: this.term } - - console.log(newBooking) axios.post('api/booking', newBooking) .then((response) => { this.loading = false @@ -560,7 +579,6 @@ export default { name: 'booking.user.upload', params: {id: response.data.id } }) - // pass variable to another router }) .catch((error) => {