@props([ 'title', 'pdfRoute' => null, 'backRoute' => null, 'backLabel' => 'Reports', 'from' => request('from', $accountingPeriod['from'] ?? null), 'to' => request('to', $accountingPeriod['to'] ?? null), 'asOf' => null, ]) @php $query = array_filter([ 'from' => $from, 'to' => $to, 'account_id' => request('account_id'), ]); $periodLabel = $accountingPeriod['label'] ?? null; @endphp