@foreach($provinces as $province)
PROVINCE |
COMMUNE |
ARRONDISSEMENT |
CENTRE |
BUREAU |
INSCRITS |
VOTANTS |
BLANCS |
SUFRAGES |
ABSTENTIONS |
@foreach($province->departments()->orderBy('name')->get() as $departement)
@foreach($departement->districts()->orderBy('name')->get() as $district)
@foreach($district->votingCenters()->orderBy('name')->get() as $centre)
@foreach($centre->bureaus()->orderBy('numero')->get() as $bureau)
{{$province->name}} |
{{$departement->name}} |
{{$district->name}} |
{{$centre->name}} |
Bureau N°{{$bureau->numero}} |
{{$bureau->inscrit}} |
{{$bureau->votants}} |
{{$bureau->blancs}} |
{{$bureau->resultats()->sum('vote')}} |
{{$bureau->abstention}} |
@endforeach
@endforeach
@endforeach
@endforeach
@endforeach