{{ config('settings.company_name') }}
{{ config('settings.address_1') }}
{{ $heading }}
@if ($search_by['from'] && $search_by['to']) From: {{ $transaction->date_format($search_by['from']) }} To: {{ $transaction->date_format($search_by['to']) }} @else {{ 'Upto ' . $transaction->date_format(now()) }} @endif
@foreach ($coa_heads_sorted as $first_level_array_name => $first_level_array) @php $new_account_type =1; @endphp @foreach ($first_level_array as $second_level_array_name => $second_level_array) @php $new_account_detail_type =1; @endphp @foreach ($second_level_array as $third_level_array_name => $third_level_array) @php $new_head_code =1; @endphp @foreach ($third_level_array as $fourth_level_head) @php $account_type_rowspan = count($first_level_array) * count($second_level_array) * count($third_level_array); $account_detail_type_rowspan = count($second_level_array) * count($third_level_array); $head_code_type_rowspan = count($third_level_array); @endphp @if($new_account_type) @endif @if($new_account_detail_type) @endif @if($new_head_code) @endif @php $new_account_type=0; $new_account_detail_type = 0; $new_head_code = 0; @endphp @endforeach @endforeach @endforeach @endforeach
Account Type Account Detail Type {{__('lang.head_code')}} Account Code
{{ strtoupper($first_level_array_name) }}{{ $second_level_array_name }} {{ $third_level_array_name }}{{ $fourth_level_head->fourt_level_code }} {{ $fourth_level_head->head_name }}