mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 04:14:04 +00:00
change invoice total validation from rmb to rm
This commit is contained in:
@@ -594,6 +594,7 @@ export default {
|
||||
tax,
|
||||
service_charge,
|
||||
amount,
|
||||
bia,
|
||||
rate
|
||||
} = this.booking_details
|
||||
|
||||
@@ -601,6 +602,7 @@ export default {
|
||||
this.tax = tax
|
||||
this.service_charge = service_charge
|
||||
this.amount = amount
|
||||
this.bia = bia
|
||||
this.rate = rate
|
||||
}
|
||||
},
|
||||
@@ -675,9 +677,9 @@ export default {
|
||||
return
|
||||
}
|
||||
|
||||
if (this.amount != this.total) {
|
||||
if (this.amount !== 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