{{-- Sidebar note pasti e giornata --}}
NOTE
@if(!empty($notaGiorno))
Giornata:
{{ $notaGiorno }}
@endif @foreach($pasti as $pasto) @php $notaPasto = trim((string) ($pasto['note'] ?? '')); @endphp @if($notaPasto !== '')
{{ $pasto['label'] ?? 'Pasto' }}:
{{ $notaPasto }}
@endif @endforeach @if(empty($notaGiorno) && collect($pasti)->every(fn ($p) => trim((string) ($p['note'] ?? '')) === ''))
—
@endif