@include('partials.filters', ['filter_route'=>url('/customers'), 'filter_id'=>'customerFilter'])
| {{trans('customer.name')}} | {{trans('customer.email')}} | Order Id | Number Of Products | Requestdate | Approval/decline date | COLLECTION DATE | AMOUNT | STATUS | Actions |
|---|---|---|---|---|---|---|---|---|---|
| {{ $value->name }} | {{ $value->email }} | {{ $value->phone_number }} | {{ $value->location }} | {{ $value->id_number }} | {{ $value->created_at }} | @php $actions = [ ['url'=>'agents/view/' . $value->id,'name'=>'View Customer'], ['data-replace'=>'#editCustomer','url'=>'#editCustomerModal','ajax-url'=>url('customers/'.$value->id.'/edit'), 'name'=>trans('item.edit'), 'icon'=>'pencil'], ['url'=>'agents/deactivate' . $value->id,'name'=>'delete']]; @endphp @include('partials.actions', ['actions'=>$actions]) |
@include('agents.form', ['customer'=>''])