@php $i = 1; @endphp
@foreach($pasts as $data)
@if($i == 1 OR ($i - 1) % 3 == 0)
@php $i = 1; @endphp
@endif
@if($i % 3 == 0 OR $loop->last)
@endif
@php $i++; @endphp
@endforeach
@if(!$data->done)
@if($data->datePast())
@else
@endif
@else
@endif
{{ $data->title }}
{!! $data->reason !!}
{{ $data->datetime->translatedFormat('D d F Y') }}
@if(auth()->user()->subStandard() AND $data->type == 'Téléconsultation')
Téléconsulter
@elseif($data->type == 'Consultation')
Consulter
@elseif($data->type == 'Hospitalisation')
Hospitaliser
@endif
@foreach($todays as $data)
@if($i == 1 OR ($i - 1) % 3 == 0)
@php $i = 1; @endphp
@endif
@if($i % 3 == 0 OR $loop->last)
@endif
@php $i++; @endphp
@endforeach
{{ $data->title }}
@if(!$data->done)
@if($data->datePast())
@else
@endif
@else
@endif
{!! $data->reason !!}
{{ $data->datetime->translatedFormat('D d F Y') }}
@if(auth()->user()->subStandard() AND $data->type == 'Téléconsultation')
Téléconsulter
@elseif($data->type == 'Consultation')
Consulter
@elseif($data->type == 'Hospitalisation')
Hospitaliser
@endif
@foreach($comings as $data)
@if($i == 1 OR ($i - 1) % 3 == 0)
@endif
@if($i % 3 == 0 OR $loop->last)
@endif
@php $i++; @endphp
@endforeach
{{ $data->title }}
@if(!$data->done)
@if($data->datePast())
@else
@endif
@else
@endif
{!! $data->reason !!}
{{ $data->datetime->translatedFormat('D d F Y') }}
@if(auth()->user()->subStandard() AND $data->type == 'Téléconsultation')
Téléconsulter
@elseif($data->type == 'Consultation')
Consulter
@elseif($data->type == 'Hospitalisation')
Hospitaliser
@endif