diff --git a/resources/views/customer/index.blade.php b/resources/views/customer/index.blade.php index b63240e..561909a 100644 --- a/resources/views/customer/index.blade.php +++ b/resources/views/customer/index.blade.php @@ -135,6 +135,7 @@ .includes(this.search_customer.replace(/ /g, '').toLowerCase()) }); }, + deleteCustomer(index) { let vm = this; let customer_key = Object.keys(this.customers).find(key => (this.customers[key].id == this.getFilteredCustomers()[index].id));