@if ($fiche_recherche=='client_index')

LISTE CLIENT

@else

LISTE {{strtoupper($fiche_recherche)}}

@endif @switch($fiche_recherche) @case('client') @include('fiche_annexe.table_client_fiche_annexe', ['type_fiche_annexe' => 'incident_form', 'id_fiche_annexe' => NULL]) @break @case('centrale') @include('fiche_annexe.table_centrale_fiche_annexe', ['type_fiche_annexe' => 'incident', 'id_fiche_annexe' => NULL]) @break @case('chantier') @include('fiche_annexe.table_chantier_fiche_annexe', ['type_fiche_annexe' => 'incident', 'id_fiche_annexe' => NULL, 'client_id' => $client_id]) @break @case('vehicule') @include('fiche_annexe.table_vehicule_fiche_annexe', ['type_fiche_annexe' => 'incident', 'id_fiche_annexe' => NULL]) @break @case('chauffeur') @include('fiche_annexe.table_chauffeur_fiche_annexe', ['type_fiche_annexe' => 'incident', 'id_fiche_annexe' => NULL]) @break @case('commande') @include('fiche_annexe.table_commande_fiche_annexe', ['type_fiche_annexe' => 'incident', 'id_fiche_annexe' => NULL]) @break @case('bl') @include('fiche_annexe.table_bl_fiche_annexe', ['type_fiche_annexe' => 'incident', 'id_fiche_annexe' => NULL]) @break @case('commercial') @include('fiche_annexe.table_commercial_fiche_annexe', ['type_fiche_annexe' => 'incident', 'id_fiche_annexe' => NULL]) @break @case('client_index') @include('fiche_annexe.table_client_fiche_annexe', ['type_fiche_annexe' => 'incident_index', 'id_fiche_annexe' => NULL]) @break @default {{-- Rien à afficher --}} @endswitch