{{trans('accounts.balance_sheet')}}

{{trans('general.generated_on')}} : {{dateFormat(date('Y-m-d'))}}

{{(config('core.cname'))}}

{{(config('core.address'))}},
{{(config('core.city'))}}, {{(config('core.region'))}}
{{(config('core.cname'))}} - {{(config('core.postbox'))}}
{{trans('general.phone')}}{{(config('core.cname'))}}: {{(config('core.phone'))}}
{{trans('general.email')}}: {{(config('core.email'))}}
@if(config('core.taxid')) {{trans('general.tax_id')}}: {{config('core.taxid')}}
@endif
@php $gross_ac=array(); @endphp @foreach($account_types as $key => $t_row)

{{$t_row}} {{trans('accounts.accounts')}}

@php $i = 1; $gross = 0; foreach ($account as $row) { if ($row['account_type'] == $t_row) { $aid = $row['id']; $acn = $row['number']; $holder = $row['holder']; $balance = $row['balance']; $debit = $row['debit']; $qty = $row['created_at']; echo ""; $i++; $gross += $balance; } } $gross_ac[]=array('name'=>$t_row,'balance'=>$gross,'balance_debit'=>$gross_debit); @endphp
# {{trans('accounts.holder')}} {{trans('accounts.account')}} {{trans('transactions.debit')}} {{trans('transactions.credit')}}
$i $holder $acn " . amountFormat($debit) . "" . amountFormat($balance) . "

{{ amountFormat($gross_debit)}}