{{ __('sub_accounts') }}

@csrf @if(isset($sub_accountEdit)) @endif
Sub Account
General Ledger Account
@if(Session::has('fail'))
{{Session::get('fail')}}
@elseif(Session::has('success') )
{{Session::get('success')}}
@elseif(Session::has('editfail'))
{{Session::get('editfail')}}
@elseif(Session::has('editsuccess'))
{{Session::get('editsuccess')}}
@endif
@if(isset($sub_accountEdit)) @endif
@foreach($sub_accounts as $sub_account) @endforeach
# Sub Account Parent Account Action
{{$count++}} {{$sub_account->name}} @foreach ($accounts as $account) @if ($sub_account->parentAccountId == $account->id) {{$account->name}} @endif @endforeach