@php $accountId = old("lines.$i.account_id", isset($line) && $line ? ($line->account_id ?? '') : ''); @endphp