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:
@@ -601,7 +601,8 @@ export default {
|
||||
this.form.formData.marking = marking
|
||||
this.tax = tax
|
||||
this.service_charge = service_charge
|
||||
this.amount = bia
|
||||
this.amount = amount
|
||||
this.bia = bia
|
||||
this.rate = rate
|
||||
}
|
||||
},
|
||||
@@ -676,9 +677,9 @@ export default {
|
||||
return
|
||||
}
|
||||
|
||||
if (this.amount != this.total) {
|
||||
if (this.bia != this.total) {
|
||||
console.log('amount not matched')
|
||||
alert(`PO Total RM${this.total} Does Not Match Expected RM${this.amount}`)
|
||||
alert(`PO Total RM${this.total} Does Not Match Expected RM${this.bia}`)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user