@include('customers._filter')
| # |
Typ |
Ku.Nr. |
Firma |
Ort |
Aktionen |
@include('flash_message')
@if ($customers->count())
@foreach ($customers as $index => $customer)
| {{ $index + $customers->firstItem() }} |
status == '0') {{-- Inactiv --}}
class="label label-danger"
@elseif ($customer->status == '1') {{-- Active --}}
class="label label-default"
@elseif ($customer->status == '2') {{-- Blocked --}}
class="label label-dark"
@endif
>{{ $customer->type }} |
{{ $customer->KuNr }} |
{{ $customer->company }} |
{{ $customer->addresses->where('address_type', 'standard')->first()->city ?? '' }}
|
{{-- --}}
|
@endforeach
@endif
{{ $customers->total() > 1 ? $customers->total() .' Einträge' : $customers->total() .' Eintrag'}}
{{ $customers->withQueryString()->links() }}