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

Account Types

The five account types are seeded and not user-editable.

{{-- ✅ Table Card --}}
@forelse($items as $item) @empty @endforelse
Name Normal Balance Actions
{{ $item->name }} {{-- ✅ Debit/Credit এর জন্য সুন্দর ব্যাজ --}} @if (strtolower($item->normal_balance) === 'debit') {{ ucfirst($item->normal_balance) }} @elseif(strtolower($item->normal_balance) === 'credit') {{ ucfirst($item->normal_balance) }} @else {{ $item->normal_balance }} @endif {{ __('View') }}
No account types found

Run the AccountTypeSeeder to populate the initial data.

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