diff --git a/resources/assets/js/views/sales/customers.js b/resources/assets/js/views/sales/customers.js index 9f3c87ed4..bc914d1d6 100644 --- a/resources/assets/js/views/sales/customers.js +++ b/resources/assets/js/views/sales/customers.js @@ -63,6 +63,17 @@ const app = new Vue({ return true; } + if (response.data.error) { + this.$notify({ + message: response.data.message, + timeout: 0, + icon: 'fas fa-bell', + type: 'warning', + }); + + return false; + } + if (response.data.success) { this.form.errors.set('email', { 0: can_login_errors.email