@foreach($province->departments()->orderBy('name')->get() as $departement)
@if($departement->resultats()->sum('vote')!=0)
@foreach($departement->districts()->orderBy('name')->get() as $district)
@if($district->resultats()->sum('vote')!=0)
@foreach($district->votingCenters()->orderBy('name')->get() as $centre)
@if($centre->resultats()->sum('vote')!=0)
@foreach($centre->bureaus()->orderBy('numero')->get() as $bureau)
@if($bureau->resultats()->sum('vote')!=0)
DEPARTEMENT/ARRONDISSEMET
{{$departement->name}}
DISTRICT
{{$district->name}}
BUREAU
N°{{$bureau->numero}}
N° |
CANDIDATS |
INSCRITS |
VOTANTS |
BULLETINS BLANC |
SUFRAGES EXPRIMES |
VOIX OBTENUES |
POURCENTAGE |
@forelse($candidats as $key => $value)
{{ $key+1 }} |
{{ $value->nom_params }} |
{{$bureau->inscrit}} |
{{$bureau->votants}} |
{{$bureau->blancs}} |
{{$bureau->resultats()->sum('vote')}} |
{{$bureau->resultats()->where('candidat_id', $value->id)->sum('vote')}} |
{{$bureau->pourcentage($value->id)}}% |
@empty
Aucune donnée trouvée !
|
@endforelse
@endif
@endforeach
@endif
@endforeach
@endif
@endforeach
@endif
@endforeach