@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) }}

{{number_format($data->total())}} {{ trans_choice('accounting::general.chart_of_account',2) }} {{ trans_choice('core::general.found',1) }}

@foreach($data as $key)
{{$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
@endforeach
{{$data->links()}}
{{ trans_choice('core::general.page',1) }} {{$data->currentPage()}} {{ trans_choice('core::general.of',1) }} {{$data->lastPage()}}
@endsection @section('scripts') @endsection