@if(empty($data) || !is_array($data)) @else @foreach($data as $group) @php if (!is_array($group) || !isset($group['info']) || !isset($group['rows'])) continue; $info = $group['info']; $deviceInfo = implode(' / ', array_filter([ $info['plate'] ?? null, $info['name'] ?? null, $info['group'] ?? null ])); $colCount = count($headers); @endphp @if(!(isset($params['report_type']) && $params['report_type'] == 13)) @endif @foreach($headers as $header) @endforeach @if(!empty($group['rows'])) @foreach($group['rows'] as $row) @foreach((array) $row as $cell) @php $isLink = strpos((string) $cell, ' @if($isLink) {!! $cell !!} @else {{ $text }} @endif @endforeach @endforeach @endif @if(!empty($group['total'])) @foreach($group['total'] as $cell) @endforeach @endif @if(!empty($group['average'])) @foreach($group['average'] as $cell) @endforeach @endif @if(!empty($group['summary'])) @foreach($group['summary'] as $label => $value) @endforeach @endif @endforeach @endif
{{ config('app.name') }} - {{ $reportName }}
@php $dStart = $params['start_date'] ?? $params['date_from'] ?? date('Y-m-d'); $dEnd = $params['end_date'] ?? $params['date_to'] ?? date('Y-m-d'); @endphp {{ \Carbon\Carbon::parse($dStart)->format('d/m/Y') }} - {{ \Carbon\Carbon::parse($dEnd)->format('d/m/Y') }}
No data available.
{{ $deviceInfo }}
{{ $header }}
{{ strip_tags((string) $cell) }}
{{ strip_tags((string) $cell) }}
{{ $label }} {{ $value }}