@extends('layouts.app') @section('title', 'Chart of Accounts') @push('styles') @endpush @section('content') {{-- ✅ Header Section --}}

Chart of Accounts

Manage your general ledger accounts and payment modes.

{{-- Payment Modes Button --}} Payment Modes {{-- Add Account Button --}} Add Account
{{-- ✅ Success Alert --}} @if (session('success')) @endif {{-- ✅ Filter Bar --}}
{{ __('Search') }} {{ __('Clear') }}
{{-- ✅ Table Card --}}
@forelse($items as $item) @empty @endforelse
Code Name Type Normal Balance Status Actions
{{ $item->code }} {{ $item->name }} {{ $item->type->name ?? '—' }} {{ $item->normal_balance }}
{{ __('View') }} {{ __('Edit') }}
{{ __('No accounts found') }}

{{ __('Adjust your search or create a new account.') }}

{{-- ✅ Custom Pagination --}}
Showing {{ $items->firstItem() ?? 0 }}–{{ $items->lastItem() ?? 0 }} of {{ $items->total() }} results
{{ $items->appends(request()->query())->links('pagination::bootstrap-5') }}
@endsection