@if (session()->has('message'))
{{ session()->get('message') }}
@endif
date |
Catégorie |
Collectivite - Territoriale |
Titre de l'expérience |
@if (Auth::user()->role=='evaluateur') Evaluer | @endif
@if (Auth::user()->role=='evaluateur') Note | @endif
@if (Auth::user()->role!='evaluateur') Actions | @endif
@foreach ($collectivites as $user)
@if (Auth::user()->role=='evaluateur')
{{ Carbon\Carbon::parse($user->collectivite->created_at)->format('d-m-Y') }} |
@if(!empty( $user->collectivite->categorie->nomc ))
{{ $user->collectivite->categorie->nomc }}
@endif |
{{ $user->collectivite->nom }} |
@foreach ($user->collectivite->descriptions as $description )
{{ $description->titre }}
@endforeach
|
@if (sizeOf($user->notes) > 0)
@foreach ($user->notes as $note)
@if ($note->nobje==0 || $note->ndesc==0 || $note->npert==0 || $note->ncorh==0 || $note->ndura==0 || $note->nmeth==0 || $note->neffi==0 || $note->nefce==0 || $note->ncapt==0 || $note->nefpp==0 || $note->nefpa==0 || $note->nutfu==0 || $note->nviab==0 || $note->ndiff==0 || $note->nelem==0 || $note->ndefi==0 || $note->noppo==0 || $note->nrabp==0 || $note->nrame==0)
@else
@endif
@endforeach
@else
@endif
|
@if (sizeOf($user->notes) > 0)
@foreach ($user->notes as $note)
@if ($note->nobje!=0 && $note->ndesc!=0 && $note->npert!=0 && $note->ncorh!=0 && $note->ndura!=0 && $note->nmeth!=0 && $note->neffi!=0 && $note->nefce!=0 && $note->ncapt!=0 && $note->nefpp!=0 && $note->nefpa!=0 && $note->nutfu!=0 && $note->nviab!=0 && $note->ndiff!=0 && $note->nelem!=0 && $note->ndefi!=0 && $note->noppo!=0 && $note->nrabp!=0 && $note->nrame!=0)
{{number_format(( $note->nobje + $note->ndesc + $note->npert + $note->ncorh + $note->ndura + $note->nmeth + $note->neffi + $note->nefce + $note->ncapt
+ $note->nefpp + $note->nefpa + $note->nutfu + $note->nviab + $note->ndiff + $note->nelem + $note->ndefi + $note->noppo + $note->nrabp + $note->nrame)/ 19,1)
}}
@endif
@endforeach
@endif
|
@else
{{ Carbon\Carbon::parse($user->created_at)->format('d-m-Y') }} |
@if(!empty( $user->categorie->nomc ))
{{ $user->categorie->nomc }}
@endif |
{{ $user->nom }} |
@foreach ($user->descriptions as $description )
{{ $description->titre }}
@endforeach
|
|
@endif
@endforeach