@foreach($accounts as $account) @if(count($account->child_accounts) > 0) @foreach($account->child_accounts as $child_account) @endforeach @endif @endforeach @if(!$account_exist) @endif
@lang( 'messages.action' ) @lang( 'user.name' ) @lang( 'accounting::lang.gl_code' ) @lang( 'accounting::lang.parent_account' ) @lang( 'accounting::lang.account_type' ) @lang( 'accounting::lang.account_sub_type' ) @lang( 'accounting::lang.detail_type' ) @lang( 'accounting::lang.primary_balance' ) @lang( 'sale.status' )
{{$account->name}} {{$account->gl_code}} @if(!empty($account->account_primary_type)){{__('accounting::lang.' . $account->account_primary_type)}}@endif @if(!empty($account->account_sub_type)){{__('accounting::lang.' . $account->account_sub_type->name)}}@endif @if(!empty($account->detail_type)){{__('accounting::lang.' . $account->detail_type->name)}}@endif @if(!empty($account->balance)) @format_currency($account->balance) @endif @if($account->status == 'active') @lang( 'accounting::lang.active' ) @elseif($account->status == 'inactive') @lang( 'lang_v1.inactive' ) @endif
{{$child_account->name}} {{$child_account->gl_code}} {{$account->name}} @if(!empty($child_account->account_primary_type)){{__('accounting::lang.' . $child_account->account_primary_type)}}@endif @if(!empty($child_account->account_sub_type)){{__('accounting::lang.' . $child_account->account_sub_type->name)}}@endif @if(!empty($child_account->detail_type)){{__('accounting::lang.' . $child_account->detail_type->name)}}@endif @if(!empty($child_account->balance)) @format_currency($child_account->balance) @endif @if($child_account->status == 'active') @lang( 'accounting::lang.active' ) @elseif($child_account->status == 'inactive') @lang( 'lang_v1.inactive' ) @endif

@lang( 'accounting::lang.no_accounts' )

@lang( 'accounting::lang.add_default_accounts_help' )

@lang( 'accounting::lang.add_default_accounts' )