@extends('layouts.master') @section('title') {{trans_choice('general.chart_of_account',2)}} @endsection @section('content')

{{trans_choice('general.chart_of_account',2)}}

@if(Sentinel::hasAccess('accounting.gl_accounts.create')) {{trans_choice('general.add',1)}} {{trans_choice('general.account',1)}} @endif
@foreach($data as $key)
{{trans_choice('general.gl_code',1)}} {{trans_choice('general.name',1)}} {{trans_choice('general.type',1)}} {{trans_choice('general.balance',1)}} {{trans_choice('general.unreconciled',1)}} {{trans_choice('general.balance',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