diff --git a/resources/assets/js/components/NewInvoice.vue b/resources/assets/js/components/NewInvoice.vue index abe93794..996e23e2 100644 --- a/resources/assets/js/components/NewInvoice.vue +++ b/resources/assets/js/components/NewInvoice.vue @@ -677,7 +677,7 @@ export default { return } - if (this.amount !== this.bia) { + if (this.bia !== this.total) { console.log('amount not matched') alert(`PO Total RM${this.total} Does Not Match Expected RM${this.bia}`) return