{{-- A report as one document: dompdf renders it for PDF downloads, and with $printable (plus $direction) it is the print-ready page, whose browser "Save as PDF" draws every script (dompdf can't shape Arabic or show Bengali). --}} @php($printable ??= false)
@foreach ($report['summary'] as [$label, $value, $valueFormat]) {{ $label }}: {{ \App\Services\Admin\ReportService::format($value, $valueFormat) }} @endforeach
{{ __('This PDF lists the first :shown of :total rows; the totals cover all of them. Download CSV or Excel for every row.', ['shown' => count($rows), 'total' => count($report['rows'])]) }}
@endif @if ($printable) @endif