@extends('layouts.portal') @section('title', __('Subaccounts Tree')) @push('styles') @endpush @section('content')
@include('partials.portal-header')

{{ __('General Ledger') }}

{{ __('Subaccounts Tree') }}

{{ __('All active accounts from the accounting.Subaccounts view, arranged in an expandable parent-child tree.') }}

{{ __('Chart of Accounts') }} →
{{ __('Subaccounts: :count', ['count' => $subaccountCount]) }}
{{ __('Print PDF') }}
@if($tree === [])
{{ __('No active accounts are available.') }}
@else
    @foreach($tree as $account) @include('accounting.subaccounts._node', ['account' => $account, 'depth' => 0]) @endforeach
@endif
@endsection