@if(str_replace('-', ' ', Request::path()) != "administration") @if(collect(["BOSS", "RESPONSABLE EXECUTION", "COMPTABLE", "CHEF EQUIPE"])->contains(auth()->user()->role)) @endif @endif
LISTE DES POINTAGES
@if(collect(["BOSS", "RESPONSABLE EXECUTION", "COMPTABLE", "CHEF CHANTIER"])->contains(auth()->user()->role)) @endif @foreach($pointages as $pointage) @if(collect(["BOSS", "RESPONSABLE EXECUTION", "COMPTABLE", "CHEF CHANTIER"])->contains(auth()->user()->role)) @endif @endforeach
PERSONNEL POINTEUR DATE POINTAGE HEURE MINUTE JUSTIFICATIONACTION
{{ DB::table("personnels")->find($pointage->personnel)->nom ?? '' }} {{ DB::table("personnels")->find($pointage->personnel)->prenom ?? '' }} {{ DB::table("personnels")->find($pointage->chef)->nom ?? '' }} {{ date_format(date_create($pointage->date), "d/m/Y")?? '' }} {{ $pointage->nombre_heure ?? '' }} {{ $pointage->nombre_minute ?? '' }} {{ $pointage->justification ?? '' }} @if(collect(["BOSS", "RESPONSABLE EXECUTION"])->contains(auth()->user()->role)) @endif
{{ $pointages->links() }}