@extends('layouts.master') @section('title') {{trans_choice('general.chart_of_account',2)}} @endsection @section('content')
{{trans_choice('general.chart_of_account',2)}}
@foreach($data as $key) @endforeach
{{trans_choice('general.gl_code',1)}} {{trans_choice('general.name',1)}} {{trans_choice('general.type',1)}} {{trans_choice('general.note',2)}} {{ trans_choice('general.action',1) }}
{{ $key->gl_code }} {{ $key->name }} @if($key->account_type=="expense") {{trans_choice('general.expense',1)}} @endif @if($key->account_type=="asset") {{trans_choice('general.asset',1)}} @endif @if($key->account_type=="equity") {{trans_choice('general.equity',1)}} @endif @if($key->account_type=="liability") {{trans_choice('general.liability',1)}} @endif @if($key->account_type=="income") {{trans_choice('general.income',1)}} @endif {!! $key->notes !!}
@endsection @section('footer-scripts') @endsection