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