From 2867256032e4c457ebbfac62df5c0861a1346ef8 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Mon, 21 Sep 2020 14:44:25 +0800 Subject: [PATCH] fixed switched total validation from amount to bank in amount --- 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 4d9ad30a..36e25ef3 100644 --- a/resources/assets/js/components/NewInvoice.vue +++ b/resources/assets/js/components/NewInvoice.vue @@ -675,7 +675,7 @@ 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}`) return