@if(str_replace('-', ' ', Request::path()) != "administration") @if(collect(["BOSS", "RESPONSABLE EXECUTION", "SERVICE TECHNIQUE"])->contains(auth()->user()->role)) @endif @endif
LISTE DES LOCATIONS
@foreach($locations as $location) @endforeach
AUTORITE ACQUERANT CHANTIER MATERIEL QUANTITE LOUEE ACTION
{{ DB::table("personnels")->find($location->autorite)->prenom ?? '' }} {{ DB::table("personnels")->find($location->autorite)->nom ?? '' }} {{ DB::table("personnels")->find($location->acquerant)->prenom ?? '' }} {{ DB::table("personnels")->find($location->acquerant)->nom ?? '' }} {{ DB::table("chantiers")->find($location->chantier)->code_chantier ?? '' }} {{ DB::table("materiaus")->find($location->materiel)->nom ?? '' }} {{ $location->quantite_louer ?? '' }} @if(collect(["BOSS", "RESPONSABLE EXECUTION", "SERVICE TECHNIQUE"])->contains(auth()->user()->role)) @endif @if(collect(["BOSS", "RESPONSABLE EXECUTION"])->contains(auth()->user()->role)) @endif
{{ $locations->links() }}