fix beneficiary name and acc number display on booking confirmation

This commit is contained in:
Jack Goh
2018-07-26 14:47:48 +08:00
parent a06f57712d
commit 665a4faa91
2 changed files with 7 additions and 5 deletions
@@ -627,6 +627,8 @@ class BookingController extends Controller
'taxAmount' => $taxAmount,
'billingChargeAmount' => $billingChargeAmount,
'bankin_amount' => $bankin_amount,
'acc_name' => $request->input('acc_name'),
'acc_no' => $request->input('acc_no')
], 200);
}
+5 -5
View File
@@ -242,10 +242,8 @@
</tr>
<tr>
<td>
<div v-for="(item,index) in bookingForm" align="center">
{{index+1}}) {{ item.account_name }} {{ item.account_num }}
<br/>
</div>
Name : {{ bookingConfirmTable.acc_name }} <br>
Account No. : {{ bookingConfirmTable.acc_no }}
</td>
<td>
</td>
@@ -523,7 +521,9 @@ export default {
if (valid) {
let newConfirmation = {
amount: this.booking.amount,
term: this.term
term: this.term,
acc_name: this.bookingForm.account_name,
acc_no: this.bookingForm.account_num
}
axios.post('api/booking/calculation', newConfirmation)
.then((response) => {