22 lines
612 B
PHP
22 lines
612 B
PHP
Début: {{ $planning->start->formatLocalized('%A %d %B') }} <br>
|
|
Fin: {{ $planning->end->formatLocalized('%A %d %B') }}
|
|
<hr>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Jour</th>
|
|
<th>Activité</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@php
|
|
setlocale(LC_TIME, config('app.locale'));
|
|
@endphp
|
|
@foreach($planning->data as $day => $value)
|
|
<tr>
|
|
<td>{{ Carbon::createFromFormat('dmY',$day)->formatLocalized('%A %d %B') }}</td>
|
|
<td>{!! nl2br(e(stripcslashes($value))) !!}</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|