# |
@lang('customers.name') |
@lang('customers.address') |
@lang('customers.phone') |
@lang('customers.date') |
@lang('customers.control') |
@foreach($customers as $cust)
{{ $cust->id }} |
{{ $cust->name }} |
{{ $cust->address }} |
{{ $cust->phone }} |
{{ date('d-M-y-g:i ', strtotime($cust->created_at)) }} |
{{Form::open(['route' => ['customers.destroy', $cust->id], 'method' => 'DELETE' , 'id' => 'deleteCustomersForm'])}}
{{Form::button(' '.trans('button.delete'), ['class'=>'btn btn-xs btn-danger deleteCustomersBtn', 'type'=>'submit', 'data-id' => $cust->id]) }}
{{Form::close()}}
|
@endforeach