@php $total = 0; @endphp @foreach($data as $key =>$chartOfAcc) @include('accounting.reports.sub_balance_sheet_excel',['subcategories' => $chartOfAcc,'level' => 0, 'final_data' => $final_data]) @if(in_array($chartOfAcc['id'], array_keys($final_data))) @endif @endforeach
{{__('messages.balanceSheet')}}
As of {{$end_date}}
{{$end_date}}
@if(setUserLang() == "ar") {{__('messages.Total')}} {{$chartOfAcc->code}} - {{$chartOfAcc->arabic_name}} @else {{__('messages.Total')}} {{$chartOfAcc->code}} - {{$chartOfAcc->name}} @endif @php format_balance_excel($final_data[$chartOfAcc['id']]); @endphp @if($key != 0) @php $total += $final_data[$chartOfAcc['id']]; @endphp @endif
{{__('messages.totalLiabilitiesAndEquity')}} @php format_balance_excel($total); @endphp