@if(str_replace('-', ' ', Request::path()) != "administration") @if(collect(["BOSS", "RESPONSABLE EXECUTION", "SERVICE TECHNIQUE"])->contains(auth()->user()->role)) @endif @endif
{{ $listeTypeCollaborateurs = DB::table("utilitaires")->where("type", "TYPE_COLLABORATEUR")->where("statut", "1")->orderby("nom")->get() }}
LISTE DES COLLABORATEURS
@foreach($collaborateurs as $collaborateur) @endforeach
NOM TELEPHONE EMAIL TYPE ACTION
{{ $collaborateur->nom ?? '' }} {{ $collaborateur->telephone ?? '' }} {{ $collaborateur->email ?? '' }} {{ $collaborateur->type ?? '' }} @if(collect(["BOSS", "RESPONSABLE EXECUTION", "SERVICE TECHNIQUE", "COMPTABLE"])->contains(auth()->user()->role)) @endif @if(collect(["BOSS", "RESPONSABLE EXECUTION"])->contains(auth()->user()->role)) @endif
{{ $collaborateurs->links() }}