@extends('layout')@section('c')
| Code | Account | Balance |
|---|---|---|
| {{ $a->code }} | {{ $a->name }} | {{ number_format($n,2) }} |
| Total assets | {{ number_format($assets,2) }} | |
| Code | Account | Balance |
|---|---|---|
| {{ $a->code }} | {{ $a->name }} | {{ number_format($n,2) }} |
| Total liabilities | {{ number_format($liab,2) }} | |
| {{ $a->code }} | {{ $a->name }} | {{ number_format($n,2) }} |
| Retained earnings (net income to date) | {{ number_format($incomeNet,2) }} | |
| Total liabilities & equity | {{ number_format($liab+$eq+$incomeNet,2) }} | |
Assets don't equal liabilities + equity by {{ number_format($diff,2) }}. This usually means some historical income/expenses were recorded before the ledger existed and haven't been brought in with an opening-balance journal entry yet — post one from Journal entries if needed.
@elseBalances ✔
@endif @endsection