General Ledger — {{ reportLabel }}
CBSNexora Bank Ltd · {{ branchLabel }} · Period {{ rangeLabel }} ·
{{ ledgerPeriod.label }}
{{ generating ? 'Exporting…' : 'Export to Excel' }}
@for (r of reports; track r.code) {
{{ r.label }}
}
@if (activeReport === 'trial-balance') {
Closing Dr ₹{{ tbClosingDebit | number: '1.2-2' }} · Closing Cr
₹{{ tbClosingCredit | number: '1.2-2' }} —
{{ tbBalanced ? 'trial balance tallies' : 'OUT OF BALANCE — investigate before closing the period' }}
GL Code
Account
Group
Opening Dr
Opening Cr
Period Dr
Period Cr
Closing Dr
Closing Cr
@for (r of data.trialBalance; track r.code) {
{{ r.code }}
{{ r.name }}
{{ r.group }}
{{ r.openingDebit ? (r.openingDebit | number: '1.2-2') : '' }}
{{ r.openingCredit ? (r.openingCredit | number: '1.2-2') : '' }}
{{ r.periodDebit ? (r.periodDebit | number: '1.2-2') : '' }}
{{ r.periodCredit ? (r.periodCredit | number: '1.2-2') : '' }}
{{ r.closingDebit ? (r.closingDebit | number: '1.2-2') : '' }}
{{ r.closingCredit ? (r.closingCredit | number: '1.2-2') : '' }}
} @empty {
No ledger activity for this period and branch.
}
TOTAL ({{ data.trialBalance.length }} accounts)
{{ tbOpeningDebit | number: '1.2-2' }}
{{ tbOpeningCredit | number: '1.2-2' }}
{{ tbPeriodDebit | number: '1.2-2' }}
{{ tbPeriodCredit | number: '1.2-2' }}
{{ tbClosingDebit | number: '1.2-2' }}
{{ tbClosingCredit | number: '1.2-2' }}
}
@if (activeReport === 'profit-and-loss') {
₹{{ totalIncome | number: '1.2-2' }}
Total Income
₹{{ totalExpense | number: '1.2-2' }}
Total Expenditure
= 0" [class.glr-kpi--red]="netProfit < 0">
₹{{ netProfit | number: '1.2-2' }}
{{ netProfit >= 0 ? 'Net Profit' : 'Net Loss' }}
{{ netProfitPct | number: '1.2-2' }}% of income
Expenditure
GL Code
Particulars
Amount (₹)
@for (r of pnlExpense; track r.code) {
{{ r.code }}
{{ r.name }} · {{ r.group }}
{{ r.amount | number: '1.2-2' }}
} @empty {
No expenditure posted in this period.
}
Total Expenditure
{{ totalExpense | number: '1.2-2' }}
@if (netProfit >= 0) {
Net Profit carried to Balance Sheet
{{ netProfit | number: '1.2-2' }}
}
Income
GL Code
Particulars
Amount (₹)
@for (r of pnlIncome; track r.code) {
{{ r.code }}
{{ r.name }} · {{ r.group }}
{{ r.amount | number: '1.2-2' }}
} @empty {
No income posted in this period.
}
Total Income
{{ totalIncome | number: '1.2-2' }}
@if (netProfit < 0) {
Net Loss carried to Balance Sheet
{{ -netProfit | number: '1.2-2' }}
}
}
@if (activeReport === 'balance-sheet') {
Total Assets ₹{{ bsTotalAssets | number: '1.2-2' }} · Total Liabilities
₹{{ bsTotalLiabilities | number: '1.2-2' }} —
{{ bsBalanced ? 'balance sheet tallies' : 'OUT OF BALANCE' }}
Capital & Liabilities — as at {{ range.to }}
GL Code
Particulars
Amount (₹)
@for (r of bsLiabilities; track r.code) {
{{ r.code }}
{{ r.name }} · {{ r.group }}
{{ r.amount | number: '1.2-2' }}
}
—
Surplus for the period · Profit & Loss
{{ bsSurplus | number: '1.2-2' }}
Total Capital & Liabilities
{{ bsTotalLiabilities | number: '1.2-2' }}
Assets — as at {{ range.to }}
GL Code
Particulars
Amount (₹)
@for (r of bsAssets; track r.code) {
{{ r.code }}
{{ r.name }} · {{ r.group }}
{{ r.amount | number: '1.2-2' }}
}
Total Assets
{{ bsTotalAssets | number: '1.2-2' }}
}
@if (activeReport === 'comparative-balance-sheet') {
Compares the closing position as at {{ range.to }} against the position immediately before
this period began. Change the filter above to compare a different span.
@for (block of [{ title: 'Capital & Liabilities', rows: compLiabilities }, { title: 'Assets', rows: compAssets }]; track block.title) {
{{ block.title }}
GL Code
Particulars
Current (₹)
Previous (₹)
Variance (₹)
Variance %
@for (r of block.rows; track r.code) {
{{ r.code }}
{{ r.name }} · {{ r.group }}
{{ r.current | number: '1.2-2' }}
{{ r.previous | number: '1.2-2' }}
0" [class.var-down]="r.variance < 0">
{{ r.variance | number: '1.2-2' }}
0" [class.var-down]="r.variance < 0">
{{ r.variancePct === null ? '—' : (r.variancePct | number: '1.2-2') + '%' }}
} @empty {
Nothing to compare for this period and branch.
}
}
}
@if (activeReport === 'contingent-liabilities') {
Off-balance-sheet commitments outstanding as at {{ range.to }} . These are memoranda accounts
and are deliberately excluded from the Trial Balance and Balance Sheet totals.
GL Code
Particulars
Group
Amount (₹)
@for (r of data.contingent; track r.code) {
{{ r.code }}
{{ r.name }}
{{ r.group }}
{{ r.amount | number: '1.2-2' }}
} @empty {
No contingent exposures outstanding for this selection.
}
Total Contingent Liabilities
{{ contingentTotal | number: '1.2-2' }}
}
@if (activeReport === 'gl-wise-dr-cr') {
Debit and credit turnover posted between {{ rangeLabel }} for {{ branchLabel }}. Every
voucher is double-entry, so the debit and credit totals below must match.
GL Code
Account
Type
Group
Debit (₹)
Credit (₹)
Net (Dr − Cr)
Vouchers
@for (r of data.glWise; track r.code) {
{{ r.code }}
{{ r.name }}
{{ r.type }}
{{ r.group }}
{{ r.debit ? (r.debit | number: '1.2-2') : '' }}
{{ r.credit ? (r.credit | number: '1.2-2') : '' }}
0" [class.var-down]="r.net < 0">
{{ r.net | number: '1.2-2' }}
{{ r.vouchers }}
} @empty {
No postings for this period and branch.
}
TOTAL ({{ data.glWise.length }} accounts)
{{ glWiseDebit | number: '1.2-2' }}
{{ glWiseCredit | number: '1.2-2' }}
{{ glWiseDebit - glWiseCredit | number: '1.2-2' }}
}
@if (activeReport === 'misc-expense-ledger') {
Every miscellaneous-expense voucher posted between {{ rangeLabel }} for {{ branchLabel }}
— {{ miscRows.length | number }} entries.
Date
Voucher No
Branch
GL Code
Account
Narration
Amount (₹)
@for (r of miscRows; track r.voucherNo + r.code) {
{{ r.date }}
{{ r.voucherNo }}
{{ branchName(r.branchCode) }}
{{ r.code }}
{{ r.name }}
{{ r.narration }}
{{ r.amount | number: '1.2-2' }}
} @empty {
No miscellaneous expenses posted for this selection.
}
Total Miscellaneous Expenses
{{ miscTotal | number: '1.2-2' }}
}
{{ toastMsg }}