@if(str_replace('-', ' ', Request::path()) != "administration") @if(collect(["BOSS", "RESPONSABLE EXECUTION", "SERVICE TECHNIQUE"])->contains(auth()->user()->role)) @endif @endif
{{ $listeTypeOuiNons = DB::table("utilitaires")->where("type", "TYPE_OUI_NON")->where("statut", "1")->orderby("nom")->get() }}
LISTE DES CHANTIERS
@foreach($chantiers as $chantier) @endforeach
DESCRIPTION ADRESSE GESTIONNAIRE DEBUT FIN ACTION
{{ $chantier->description ?? '' }} {{ $chantier->adresse ?? '' }} {{ DB::table("personnels")->find($chantier->gestionnaire_chantier)->nom ?? '' }} {{ DB::table("personnels")->find($chantier->gestionnaire_chantier)->prenom ?? '' }} {{ date_format(date_create($chantier->date_debut), "d/m/Y") ?? '' }} {{ date_format(date_create($chantier->date_fin), "d/m/Y") ?? '' }} @if(collect(["BOSS", "RESPONSABLE EXECUTION", "SERVICE TECHNIQUE"])->contains(auth()->user()->role)) @endif @if(collect(["BOSS", "RESPONSABLE EXECUTION"])->contains(auth()->user()->role)) @endif
{{ $chantiers->links() }}