@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; @endphp
@php $presets = [ 'today' => 'Today', 'yesterday' => 'Yesterday', 'last_7_days' => 'Last 7 Days', 'last_30_days' => 'Last 30 Days', 'last_60_days' => 'Last 60 Days', 'last_90_days' => 'Last 90 Days', 'last_year' => 'Last Year', ]; @endphp
@foreach($presets as $value => $label) {{ $label }} @endforeach @if($activePreset || $from || $to) All Time @endif
Custom range:
@forelse($entries as $index => $entry) @empty @endforelse
# Date Journal Ref Account Description Debit Credit
{{ $entries->firstItem() + $index }} {{ $entry->entry_date->format('M j, Y') }} {{ $entry->journal_reference }} {{ $entry->account->code }} — {{ $entry->account->name }} {{ $entry->description }} {{ $entry->debit_cents > 0 ? \App\Support\Money::format($entry->debit_cents, $currency) : '—' }} {{ $entry->credit_cents > 0 ? \App\Support\Money::format($entry->credit_cents, $currency) : '—' }}
No ledger entries yet.
{{ $entries->links() }}

This is the school's double-entry bookkeeping record. Every real money movement — a fee payment collected, a salary paid — writes exactly two rows here with the same Journal Ref: one account is debited and another is credited for the same amount, so the books always balance. Entries are created automatically by the payment/payroll system; nothing here is typed in by hand.

What the codes in the "Account" column mean

Code Name What it tracks
1000 Cash / Bank Money actually received or paid out — every real transaction touches this account.
1100 Accounts Receivable Money owed to the school but not yet collected.
4000 Tuition Income Income from tuition fee payments.
4100 Admission Fee Income Income from admission fee payments.
4200 Hostel Fee Income Income from hostel allocation fee payments.
4300 Transport Fee Income Income from transport fee payments.
4400 Library Fee Income Income from library fine/replacement-cost payments.
4900 Other Income Income from a fee type that doesn't fit the categories above.
5100 Salary Expense Money paid out for staff payroll.

Only accounts that have ever had a real transaction appear in the ledger and on the Chart of Accounts page — a category with no entries yet (e.g. Library) simply hasn't had a payment recorded against it.

Reading a pair of rows

A payment for a hostel invoice, for example, writes: a debit to 1000 Cash / Bank (money came in) and a matching credit to 4200 Hostel Fee Income (income earned) — same amount, same Journal Ref. A salary payment does the reverse: debit the expense account, credit Cash / Bank (money went out).