@extends('layouts.app') @section('title', 'General Ledger') @section('content') @php $tabs = ['Journal', 'Trial Balance', 'Deferred Schedule']; $active = request('tab', 'Journal'); @endphp
Double-entry journals for school fees with deferred-revenue recognition
Accounts Receivable
KES {{ number_format($balances['receivable'], 2) }}
Deferred Tuition (liability)
KES {{ number_format($balances['deferred'], 2) }}
Tuition Revenue (earned)
KES {{ number_format($balances['revenue'], 2) }}
Bank - Fees
KES {{ number_format($balances['bank'], 2) }}
Cash in Hand
KES {{ number_format($balances['cash'], 2) }}
Unrealised (schedule)
KES {{ number_format($deferredOutstanding, 2) }}
| Entry | Date | Type | Memo | Term | Debit | Credit |
|---|---|---|---|---|---|---|
| {{ $j->entry_no }} | {{ $j->date }} | {{ $j->type }} | {{ $j->memo }} | {{ $j->term }} {{ $j->year }} | {{ number_format($jd, 2) }} | {{ number_format($jc, 2) }} |
| {{ $line->account_code }} · {{ $line->account_name }} {{ $line->account_type }} | {{ $line->votehead ?: '—' }} @if ($line->admission_no) · {{ $line->admission_no }} @endif | {{ $line->memo }} | {{ $line->debit ? number_format($line->debit, 2) : '' }} | {{ $line->credit ? number_format($line->credit, 2) : '' }} | ||
| No journal entries yet. Generate invoices and record fee payments to populate the ledger. | ||||||
| Code | Account | Type | Debit | Credit |
|---|---|---|---|---|
| {{ $row->account_code }} | {{ $row->account_name }} | {{ $row->account_type }} | {{ number_format($row->debit, 2) }} | {{ number_format($row->credit, 2) }} |
| No postings yet. | ||||
| Total | {{ number_format($tbDr, 2) }} | {{ number_format($tbCr, 2) }} | ||
Fees received less the monthly revenue recognised so far
| Receipt | Student | Admission No | Term | Paid | Realised | Deferred |
|---|---|---|---|---|---|---|
| {{ $row->receipt_no }} | {{ $row->student_name }} | {{ $row->admission_no }} | {{ $row->term }} {{ $row->year }} | {{ number_format($row->amount, 2) }} | {{ number_format($row->realised, 2) }} | {{ number_format($row->deferred, 2) }} |
| No fee payments to schedule. | ||||||
| Total | {{ number_format($schedule->sum('amount'), 2) }} | {{ number_format($schedule->sum('realised'), 2) }} | {{ number_format($schedule->sum('deferred'), 2) }} | |||