@extends('layout') @section('css') @endsection @section('content')

Tableau de bord

@foreach ($nbCollectiviteByCategorie as $CollectiviteByCategorie)

{{ $CollectiviteByCategorie->nomc }}

{{ $CollectiviteByCategorie->nb }}

{{-- Projets en cours --}}
@endforeach
Nombre de Soumision par categorie
Nombre de Soumision par categorie
Liste des soumissions des collectivités territoriales
@foreach ($collectivites as $collectivite) @endforeach
date Categorie Collectivite territoriale Titre de l'experience Evaluateurs et Notes Moyenne Actions
{{ Carbon\Carbon::parse($collectivite->created_at)->format('d-m-Y') }} @if(!empty( $collectivite->categorie->nomc)) {{ $collectivite->categorie->nomc }} @endif {{ $collectivite->nom }} @foreach ($collectivite->descriptions as $description ) {{ $description->titre }} @endforeach @foreach ($collectivite->affecters as $affecter )

{{ $affecter->user->name }} @if (sizeOf($affecter->notes) > 0) @foreach ($affecter->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

@endforeach
@foreach($listeMoyenne as $key => $moyenne) @if ($key==$collectivite->id) {{ $moyenne }} @endif @endforeach {!! Form::open(['method' => 'DELETE', 'route'=>['collectivite.destroy', $collectivite->id], 'style'=> 'display:inline', 'onclick'=>"if(!confirm('Êtes-vous sûr de vouloir supprimer cet enregistrement ?')) { return false; }"]) !!} {!! Form::close() !!}
{{-- Tableu des notes --}} @foreach ($affecters as $affecter) @endforeach
Evaluateur Collectivite Categorie Objectif Description Pertinance Coherence Durabilité Methodologie Effcacité Efficience Capitalisation Effet PPL Effet APAL Utilisation Future viabilté Diffusion Element Saillant Defis Opportunités Raison BP Raison SM Moyenne
{{ $affecter->user->name }} {{ $affecter->collectivite->nom }} @if(!empty( $affecter->collectivite->categorie->nomc)){{ $affecter->collectivite->categorie->nomc }} @endif @if (sizeOf($affecter->notes) > 0) @foreach ($affecter->notes as $note) {{ $note->ndesc}} @endforeach @else 0 @endif @if (sizeOf($affecter->notes) > 0) @foreach ($affecter->notes as $note) {{ $note->nobje}} @endforeach @else 0 @endif @if (sizeOf($affecter->notes) > 0) @foreach ($affecter->notes as $note) {{ $note->npert}} @endforeach @else 0 @endif @if (sizeOf($affecter->notes) > 0) @foreach ($affecter->notes as $note) {{ $note->ncorh}} @endforeach @else 0 @endif @if (sizeOf($affecter->notes) > 0) @foreach ($affecter->notes as $note) {{ $note->ndura}} @endforeach @else 0 @endif @if (sizeOf($affecter->notes) > 0) @foreach ($affecter->notes as $note) {{ $note->nmeth}} @endforeach @else 0 @endif @if (sizeOf($affecter->notes) > 0) @foreach ($affecter->notes as $note) {{ $note->neffi}} @endforeach @else 0 @endif @if (sizeOf($affecter->notes) > 0) @foreach ($affecter->notes as $note) {{ $note->nefce}} @endforeach @else 0 @endif @if (sizeOf($affecter->notes) > 0) @foreach ($affecter->notes as $note) {{ $note->ncapt}} @endforeach @else 0 @endif @if (sizeOf($affecter->notes) > 0) @foreach ($affecter->notes as $note) {{ $note->nefpp}} @endforeach @else 0 @endif @if (sizeOf($affecter->notes) > 0) @foreach ($affecter->notes as $note) {{ $note->nefpa}} @endforeach @else 0 @endif @if (sizeOf($affecter->notes) > 0) @foreach ($affecter->notes as $note) {{ $note->nutfu}} @endforeach @else 0 @endif @if (sizeOf($affecter->notes) > 0) @foreach ($affecter->notes as $note) {{ $note->nviab}} @endforeach @else 0 @endif @if (sizeOf($affecter->notes) > 0) @foreach ($affecter->notes as $note) {{ $note->ndiff}} @endforeach @else 0 @endif @if (sizeOf($affecter->notes) > 0) @foreach ($affecter->notes as $note) {{ $note->nelem}} @endforeach @else 0 @endif @if (sizeOf($affecter->notes) > 0) @foreach ($affecter->notes as $note) {{ $note->ndefi}} @endforeach @else 0 @endif @if (sizeOf($affecter->notes) > 0) @foreach ($affecter->notes as $note) {{ $note->noppo}} @endforeach @else 0 @endif @if (sizeOf($affecter->notes) > 0) @foreach ($affecter->notes as $note) {{ $note->nrabp}} @endforeach @else 0 @endif @if (sizeOf($affecter->notes) > 0) @foreach ($affecter->notes as $note) {{ $note->nrame}} @endforeach @else 0 @endif @if (sizeOf($affecter->notes) > 0) @foreach ($affecter->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
@endsection @section('script') @endsection