mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 04:14:04 +00:00
fixed switched total validation from amount to bank in amount
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user