@extends('layouts.master') @section('title', 'Congés_circonstance') @section('parentPageTitle', 'UI') @section('content') @section('page-style') @stop @if(Auth()->user()->roles()->whereIn('role_id', [1,45,46,47])->exists())
@endif| N° | Matri | Nom Employé | Dir | Date de création | Jours demandés | Date de début | Date de fin | Action |
|---|---|---|---|---|---|---|---|---|
| {{$index++}} | {{$l->matricule}} | {{$l->name}} | {{$l->pseudo_dir}} | {{$l->date_fait }} | {{$l->jours_demand }} @if ($l->jours_demand == 1) jour @else jours @endif | {{ \Carbon\Carbon::parse($l->dateDebut_cong)->format('d/m/Y') }} | {{ \Carbon\Carbon::parse($l->date_fin_conge)->format('d/m/Y') }} | Afficher @php $dateDebut = \Carbon\Carbon::parse($l->dateDebut_cong)->toDateString(); $today = now()->toDateString(); @endphp @if($dateDebut >= $today) @elseif(Auth()->user()->roles()->whereIn('role_id', [1])->exists() ) @endif |
| N° | Matri | Nom Employé | Dir | Date de création | Jours demandés | Date de début | Date de fin | Action |
|---|---|---|---|---|---|---|---|---|
| {{$index++}} | {{$l->matricule}} | {{$l->name}} | {{$l->pseudo_dir}} | {{$l->date_fait }} | {{$l->jours_demand }} @if ($l->jours_demand == 1) jour @else jours @endif | {{ \Carbon\Carbon::parse($l->dateDebut_cong)->format('d/m/Y') }} | {{ \Carbon\Carbon::parse($l->date_fin_conge)->format('d/m/Y') }} | Afficher @php $dateDebut = \Carbon\Carbon::parse($l->dateDebut_cong)->toDateString(); $today = now()->toDateString(); @endphp @if($dateDebut >= $today) @elseif(Auth()->user()->roles()->whereIn('role_id', [1])->exists() ) @endif |
| N° | Matri | Nom Employé | Dir | Date de création | Jours demandés | Date de début | Date de fin | Action |
|---|---|---|---|---|---|---|---|---|
| {{$index++}} | {{$l->matricule }} | {{$l->name}} | {{$l->pseudo_dir}} | {{$l->date_fait }} | {{$l->jours_demand }} @if ($l->jours_demand == 1) jour @else jours @endif | {{ \Carbon\Carbon::parse($l->dateDebut_cong)->format('d/m/Y') }} | {{ \Carbon\Carbon::parse($l->date_fin_conge)->format('d/m/Y') }} | Afficher @php $dateDebut = \Carbon\Carbon::parse($l->dateDebut_cong)->toDateString(); $today = now()->toDateString(); @endphp @if($dateDebut >= $today) @elseif(Auth()->user()->roles()->whereIn('role_id', [1])->exists() ) @endif |