SOGEAC — Fiche d’attribution des comptoirs d’enregistrement
{{-- Bloc 1 : 00h00 → 11h45 --}}
{{ \Carbon\Carbon::parse($repartition->date)->format('d/m/Y') }} — 00h00 → 12h00
| Comptoir |
@foreach ($plages->slice(0, 48) as $plage)
{{ \Carbon\Carbon::parse($plage->debut)->format('H:i') }} |
@endforeach
@foreach ($comptoirs as $c)
|
{{ $c->nom ?? ('Comptoir '.$c->numero) }}
|
@foreach ($plages->slice(0, 48) as $p)
@php
$att = $repartition->attributions
->where('comptoir_id', $c->id)
->where('plage_id', $p->id)
->first();
@endphp
{{ $att?->compagnie?->code ?? '' }} |
@endforeach
@endforeach
{{-- Bloc 2 : 12h15 → 00h00 --}}
{{ \Carbon\Carbon::parse($repartition->date)->format('d/m/Y') }} — 12h15 → 00h00
| Comptoir |
@foreach ($plages->slice(48) as $plage)
{{ \Carbon\Carbon::parse($plage->debut)->format('H:i') }} |
@endforeach
@foreach ($comptoirs as $c)
|
{{ $c->nom ?? ('Comptoir '.$c->numero) }}
|
@foreach ($plages->slice(48) as $p)
@php
$att = $repartition->attributions
->where('comptoir_id', $c->id)
->where('plage_id', $p->id)
->first();
@endphp
{{ $att?->compagnie?->code ?? '' }} |
@endforeach
@endforeach