{{ $account->code }} {{ str_repeat('-', $depth ?? 0) }} {{ $account->name }} {{ $account->balance }} @foreach($account->children as $child) @include('client.chart_of_accounts.partials.account_row', ['account' => $child, 'depth' => ($depth ?? 0) + 1]) @endforeach