From 900a307ac5f293785ebbfc6ed23e0a28811a0d6d Mon Sep 17 00:00:00 2001 From: omair saleh Date: Wed, 23 Sep 2020 15:01:28 +0800 Subject: [PATCH] fix total equal bia --- resources/assets/js/components/NewInvoice.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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