@extends('accounting::layouts.app') @section('title') {{ trans_choice('accounting::general.chart_of_account', 2) }} @endsection @section('content') @include('accounting::layouts.nav') @component('accounting::components.section_header') @slot('title') {{ trans_choice('accounting::general.accounting', 1) }} @endslot @slot('subtitle') @lang('accounting::lang.view_charts_of_accounts') @endslot @endcomponent
@can('product.view')
@component('accounting::components.box') @slot('header')
@can('accounting.chart_of_accounts.create') {{ trans_choice('accounting::lang.add', 1) }} @endcan
@endslot @slot('body')
@foreach ($data as $key) @endforeach
{{ trans_choice('accounting::lang.action', 1) }} {{ trans_choice('accounting::lang.name', 1) }} {{ trans_choice('accounting::general.gl_code', 2) }} {{ trans_choice('accounting::lang.parent', 2) }} {{ trans_choice('accounting::lang.account', 1) }} {{ trans_choice('accounting::lang.account', 1) }} {{ trans_choice('accounting::lang.type', 1) }} {{ trans_choice('accounting::general.account_subtype', 1) }} {{ trans_choice('accounting::lang.account', 1) }} {{ trans_choice('accounting::general.detail_type', 1) }} {{ trans_choice('accounting::lang.active', 1) }} {{ trans_choice('accounting::general.manual_entries_allowed', 1) }} {{ trans_choice('accounting::lang.currency', 1) }} {{ trans_choice('account.opening_balance', 1) }} {{ trans('accounting::lang.current') }} {{ trans_choice('accounting::lang.balance', 1) }}
{{ $key->name }} {{ $key->gl_code }} {{ $key->parent->name }} @if ($key->account_type == 'asset') {{ trans_choice('accounting::general.asset', 1) }} @elseif ($key->account_type == 'expense') {{ trans_choice('accounting::general.expense', 1) }} @elseif ($key->account_type == 'equity') {{ trans_choice('accounting::general.equity', 1) }} @elseif ($key->account_type == 'liability') {{ trans_choice('accounting::general.liability', 1) }} @elseif ($key->account_type == 'income') {{ trans_choice('accounting::general.income', 1) }} @endif {{ $key->account_subtype->name }} {{ $key->account_detail_type->name }} @if ($key->active == 1) {{ trans_choice('accounting::lang.yes', 1) }} @else {{ trans_choice('accounting::lang.no', 1) }} @endif @if ($key->allow_manual == 1) {{ trans_choice('accounting::lang.yes', 1) }} @else {{ trans_choice('accounting::lang.no', 1) }} @endif {{ $key->currency->code }} {{ $key->opening_balance }} {{ $key->current_balance }}
@endslot @endcomponent
@endcan
@stop @section('javascript') @endsection