@php // dd($main_account_coas[1]); @endphp
Main Account | Account Number | Description | Account Type | FS Type | Operating Dept | List Main Account | List Account Type | List FS Type | List Department | NOTE | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$coa->main_account != 0 ? $coa->main_account : $coa->mainAccount->main_account}} | {{$coa->account_no}} | {{$coa->description}} | {{$coa->account_type}} | {{$coa->fs_catno}} | {{$coa->dept}} | {{''}} | @if(!empty($main_account_coas[$key])){{$main_account_coas[$key]['key']}} : {{$main_account_coas[$key]['val']}} | @else@endif @if(!empty($account_type_coas[$key])) | {{$account_type_coas[$key]['key']}} :{{$account_type_coas[$key]['val']}} | @else@endif @if(!empty($fs_catno_coas[$key])) | {{$fs_catno_coas[$key]['key']}} :{{@$fs_catno_coas[$key]['val']}} | @else@endif @if(!empty($departments[$key])) | {{$departments[$key]['key']}} :{{@$departments[$key]['val']}} | @else@endif @if($key == 0) | Please fill account number follow the front is as main account (ex: 110-111-111). | @endif