{{ $report['title'] ?? ucfirst(str_replace('_', ' ', $reportType)) . ' Report' }}

Generated: {{ now()->format('Y-m-d H:i:s') }}

Filters

@forelse(($report['filters'] ?? []) as $key => $value) @empty @endforelse
Filter Value
{{ str($key)->replace('_', ' ')->title() }} {{ is_array($value) ? json_encode($value, JSON_UNESCAPED_UNICODE) : ($value === null || $value === '' ? '—' : $value) }}
No filters applied.

Summary

@forelse(($report['summary'] ?? []) as $key => $value) @empty @endforelse
Metric Value
{{ str($key)->replace('_', ' ')->title() }} {{ is_array($value) ? json_encode($value, JSON_UNESCAPED_UNICODE) : $value }}
No summary data available.

Rows

@php($rows = $report['rows'] ?? []) @php($headings = array_keys($rows[0] ?? [])) @forelse($headings as $heading) @empty @endforelse @forelse($rows as $row) @foreach($headings as $heading) @endforeach @empty @endforelse
{{ str($heading)->replace('_', ' ')->title() }}Message
{{ is_array($row[$heading] ?? null) ? json_encode($row[$heading], JSON_UNESCAPED_UNICODE) : ($row[$heading] ?? '—') }}
No rows available.
@if(!empty($report['analytics']))

Analytics

@foreach($report['analytics'] as $key => $value) @endforeach
Key Value
{{ str($key)->replace('_', ' ')->title() }} {{ is_array($value) ? json_encode($value, JSON_UNESCAPED_UNICODE) : $value }}
@endif