@extends('layouts.master') @section('title') {{translate('chart_of_account')}} @endsection @section('content')
{{translate('chart_of_account')}}
@if(Sentinel::hasAccess('capital.create')) {{translate('add chart_of_account')}} @endif
@forelse($data as $index=> $key) @empty @endforelse
# {{translate('gl_code')}} {{translate('name')}} {{translate('type')}} {{translate('note')}} {{ translate('action') }}
{{$index+1}} {{ $key->gl_code }} {{ $key->name }} @if($key->account_type=="expense") {{translate('expense')}} @endif @if($key->account_type=="asset") {{translate('asset')}} @endif @if($key->account_type=="equity") {{translate('equity')}} @endif @if($key->account_type=="liability") {{translate('liability')}} @endif @if($key->account_type=="income") {{translate('income')}} @endif {!! $key->notes !!}
{{ translate('zeroRecords') }}
{{ $data->withQueryString()->links() }}
@endsection @section('footer-scripts') @endsection