|
@@ -37,15 +37,17 @@
|
|
|
<td>{{date("d/m/Y", strtotime($record->date_from))}} - {{date("d/m/Y", strtotime($record->date_to))}} </td>
|
|
<td>{{date("d/m/Y", strtotime($record->date_from))}} - {{date("d/m/Y", strtotime($record->date_to))}} </td>
|
|
|
@if($_GET["type"] != "custom")
|
|
@if($_GET["type"] != "custom")
|
|
|
<td>
|
|
<td>
|
|
|
- @foreach(json_decode($record->when) as $xx => $x)
|
|
|
|
|
- @if($xx > 0)
|
|
|
|
|
- <br>
|
|
|
|
|
- @endif
|
|
|
|
|
- @foreach($x->day as $zz => $d)
|
|
|
|
|
- {{$zz > 0 ? '-' : ''}}{{$d}}
|
|
|
|
|
|
|
+ @if($record->when != null)
|
|
|
|
|
+ @foreach(json_decode($record->when) as $xx => $x)
|
|
|
|
|
+ @if($xx > 0)
|
|
|
|
|
+ <br>
|
|
|
|
|
+ @endif
|
|
|
|
|
+ @foreach($x->day as $zz => $d)
|
|
|
|
|
+ {{$zz > 0 ? '-' : ''}}{{$d}}
|
|
|
|
|
+ @endforeach
|
|
|
|
|
+ h {{$x->from}} - {{$x->to}}
|
|
|
@endforeach
|
|
@endforeach
|
|
|
- h {{$x->from}} - {{$x->to}}
|
|
|
|
|
- @endforeach
|
|
|
|
|
|
|
+ @endif
|
|
|
</td>
|
|
</td>
|
|
|
@endif
|
|
@endif
|
|
|
<td>{{$record->getins->name ?? ""}}</td>
|
|
<td>{{$record->getins->name ?? ""}}</td>
|