{{-- The report page (T071, D8). WHAT IS ON EVERY PAGE, AND WHY The shop, so a page that has been photocopied and filed still says whose it is. The report's own question, because a title alone does not distinguish "sales by branch" run three ways. THE FILTERS IN WORDS, because two copies showing different figures with nothing saying one was Colombo and one was every branch is worse than no report. And WHEN it was produced — without that, the only way to tell which of two copies is current is to trust whoever handed it over. Page numbers are drawn by dompdf's own page counter in the footer, so a pack that has been dropped can be put back in order. --}}
| in_array($column->type, ['money', 'quantity', 'number'], true)])>{{ $column->label }} | @endforeach
|---|
| in_array($column->type, ['money', 'quantity', 'number'], true)])>{{ $formatter($row[$column->key] ?? null, $column) }} | @endforeach
| in_array($column->type, ['money', 'quantity', 'number'], true)])> @if ($i === 0) Total @elseif (array_key_exists($column->key, $totals)) {{ $formatter($totals[$column->key], $column) }} @endif | @endforeach