diff --git a/resources/assets/js/components/NewInvoice.vue b/resources/assets/js/components/NewInvoice.vue index 36e25ef3..6f36e0b2 100644 --- a/resources/assets/js/components/NewInvoice.vue +++ b/resources/assets/js/components/NewInvoice.vue @@ -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 }