@extends('core::layouts.master') @section('title') {{ trans_choice('accounting::general.chart_of_account',2) }} @endsection @section('styles') @stop @section('content')

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

@foreach($data as $key) @endforeach
{{ trans_choice('core::general.name',1) }} {{ trans_choice('accounting::general.gl_code',2) }} {{ trans_choice('core::general.account',1) }} {{ trans_choice('core::general.type',1) }} {{ trans_choice('core::general.active',1) }} {{ trans_choice('accounting::general.manual_entries_allowed',1) }} {{ trans_choice('core::general.action',1) }}
{{$key->name}} {{$key->gl_code}} @if($key->account_type=='asset') {{trans_choice('accounting::general.asset', 1)}} @endif @if($key->account_type=='expense') {{trans_choice('accounting::general.expense', 1)}} @endif @if($key->account_type=='equity') {{trans_choice('accounting::general.equity', 1)}} @endif @if($key->account_type=='liability') {{trans_choice('accounting::general.liability', 1)}} @endif @if($key->account_type=='income') {{trans_choice('accounting::general.income', 1)}} @endif @if($key->active==1) {{trans_choice('core::general.yes', 1)}} @else {{trans_choice('core::general.no', 1)}} @endif @if($key->allow_manual==1) {{trans_choice('core::general.yes', 1)}} @else {{trans_choice('core::general.no', 1)}} @endif
@endsection @section('scripts') @endsection