fixed switched total validation from amount to bank in amount

This commit is contained in:
omair saleh
2020-09-21 14:41:57 +08:00
parent b733b36a86
commit b1f82d43bd
@@ -594,7 +594,6 @@ export default {
tax,
service_charge,
amount,
bia,
rate
} = this.booking_details
@@ -602,7 +601,6 @@ export default {
this.tax = tax
this.service_charge = service_charge
this.amount = amount
this.bia = bia
this.rate = rate
}
},
@@ -677,9 +675,9 @@ export default {
return
}
if (this.bia != this.total) {
if (this.amount != this.total/) {
console.log('amount not matched')
alert(`PO Total RM${this.total} Does Not Match Expected RM${this.bia}`)
alert(`PO Total RM${this.total} Does Not Match Expected RM${this.amount}`)
return
}