@extends('back.layout.app') @section('title', config('app.name') . ' - Clients') @php $breadcrumb = 'crm.clients'; @endphp @section('content')

Clients

{{ $customers->count() }} client(s)
@can('export-clients') Exporter @endcan @can('create-clients') @endcan
@include('back.modules.crm.clients.partials.create_client')
@foreach ($customers as $customer) @endforeach
Nom Commercial Secteur Thème Nb opérations
{{ $customer->name }} {{ $customer->user?->firstname }} @if ($customer->activity) {{ $customer->activity->name }} @else @endif @if ($customer->theme) {{ $customer->theme->name }} @else @endif {{ str_pad($customer->operations_count ?? 0, 6, '0', STR_PAD_LEFT) }} {{ $customer->operations_count ?? 0 }} @can('edit-clients')
Modifier
@endcan @can('delete-clients') @if (($customer->operations_count ?? 0) === 0)
Supprimer
@endif @endcan
{{ __('ui.datatable.show') }}{{ __('ui.datatable.per_page') }}
@endsection