@extends('layouts.inspinia') @section('title', 'Chart of Accounts') @section('content_header', 'Chart of Accounts') @section('content') @if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif {{-- Filters --}}
Reset
{{-- Table --}}
Chart of Accounts
@can('chart_of_accounts.create') New Account @endcan
@forelse($accounts as $acct) @empty @endforelse
Code Name Group Type Normal Bal. Flags Status
{{ $acct->account_code }} {{ $acct->account_name }} {{ $acct->group->name ?? '—' }} {{ ucfirst($acct->account_type) }} {{ ucfirst($acct->normal_balance) }} @if($acct->is_cash_account)Cash@endif @if($acct->is_bank_account)Bank@endif @if($acct->is_control_account)Control@endif @if($acct->is_active) Active @else Inactive @endif @can('chart_of_accounts.edit') @endcan
No accounts found.
@if($accounts->hasPages())
{{ $accounts->links() }}
@endif
@endsection