@extends('garage.layouts.app') @section('title', 'Chart of Accounts') @push('styles') @include('shared.garage-summary-ui-styles') @endpush @section('content')
Arrange ledgers into Customer, Vendor, and Others with proper account heads.
| Ledger | Bucket | Account Head | Opening | Status | Arrangement |
|---|---|---|---|---|---|
|
{{ $l->name }}
{{ $l->code }}
|
@if($l->ledger_type === 'customer') Customer @elseif($l->ledger_type === 'vendor') Vendor @elseif($l->ledger_type === 'employee') Employee @else Other @endif |
@if($l->nature_name || $l->sub_nature_name)
{{ $l->nature_name ?: 'Unassigned' }}
/
{{ $l->sub_nature_name ?: 'Unassigned' }}
{{ $l->nature_code ?: '—' }} / {{ $l->sub_nature_code ?: '—' }}
@else
Unassigned
@endif
|
{{ number_format((float)($l->opening_balance ?? 0), 2) }}
{{ strtoupper((string)($l->opening_balance_type ?? '')) }}
|
@if($l->is_active) Active @else Inactive @endif | |
|
No ledgers found for this filter.
|
|||||