@foreach($customers as $customer) @endforeach
Nombre Correo Electrónico Teléfono Empresa Código cliente Activo Acciones
{{ $customer->name }} {{ $customer->lastname }}
{{ $customer->email }} {{ $customer->phone }} {{ $customer->company }} {{ $customer->code_supplier }} {{ $customer->active }} {!! Form::open(['route' => ['customers.destroy', $customer->id], 'method' => 'delete', 'id' => $customer->id]) !!}
@can('customers.show') @endcan @can('customers.edit') @endcan @can('customers.delete') @if($customer->products->count() == 0 || $customer->shipments->count()) @else @endif @endcan {{-- {!! Form::button('', ['type' => 'submit', 'class' => 'btn btn-danger btn-xs', 'onclick' => "return confirm('Are you sure?')"]) !!} --}}
{!! Form::close() !!}