feat(cashier,organization): denomination-aware vault UI, Bank/Branch Profile screens, popup disbursement review
Playwright E2E Tests / Run Playwright Tests (push) Canceled after 0s
Tests / testRigor (push) Canceled after 0s
build-run / Run Lint, Build and Deploy (push) Canceled after 0s
Publish Image in Docker Hub / build (push) Canceled after 0s

Branch Day open/close now captures a denomination-wise count (carried
forward automatically to the next day), and shows an auto-fetched EOD
summary at close time -- vault + every cashier's position, a branch-total
reconciliation against the book figure, and each cashier's
reconciliation/settlement status and transaction count -- so closing the day
no longer means separately checking Vault Position and every cashier's own
screen by hand. New Vault Position screen (branch-ops menu) mirrors Cashier
Position for the teller/vault. Cash Transfer now shows the vault's live
per-denomination availability while counting a handout, with a client-side
warning before it can be over-counted.

New Organization screens for Bank Profile, Branch Profile and Clearing GL
Configuration, wired into the Organization landing page and the
previously-dead "Bank Profile" admin menu button.

Cashier Transaction Entry: TYPE is now Receipt/Payment only (cash-only TXN
TP.) on the cashier side, with no change to the clerk dashboard's own
Withdrawal Slip/Cheque/Disbursement/Enter Bank Transfer/DD flow beyond
adding a new Fund Transfer type alongside Disbursement for a GL credit that
isn't a loan payout. Neither TYPE nor TXN TP. offers a blank placeholder
option anymore -- a new row starts on a real default instead. Footer no
longer polls the business-date config for cashier/clerk roles, who never
have permission to read it.

Disbursement & Transfer Requests: "Review" now opens the review screen as a
popup instead of navigating to a separate route, refreshing the list on
close; the review screen recognises the new Fund Transfer request type
too, and its non-functional "+ Disbursement Review" tab-styled label is now
a plain heading.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-28 14:40:13 +05:30
co-authored by Claude Sonnet 5
parent ce840d73d7
commit da1f57c3b6
32 changed files with 3006 additions and 136 deletions
@@ -888,4 +888,51 @@ export class OrganizationService {
deleteLoanOriginator(originatorId: number): Observable<any> {
return this.http.delete(`/loan-originators/${originatorId}`);
}
// ── Institution Profile ──
/** @returns {Observable<any>} The bank's own profile (name, legal name, code, contact...). */
getInstitutionProfile(): Observable<any> {
return this.http.get('/institutionprofile');
}
/** @returns {Observable<any>} */
updateInstitutionProfile(payload: any): Observable<any> {
return this.http.put('/institutionprofile', payload);
}
// ── Branch Profile ──
/** @returns {Observable<any[]>} Every office joined with its branch profile fields, if any. */
getBranchProfiles(): Observable<any> {
return this.http.get('/branchprofile');
}
/** @returns {Observable<any>} One office's branch profile, joined with its office fields. */
getBranchProfile(officeId: number): Observable<any> {
const params = new HttpParams().set('officeId', String(officeId));
return this.http.get('/branchprofile', { params });
}
/** @returns {Observable<any>} */
updateBranchProfile(officeId: number, payload: any): Observable<any> {
return this.http.put(`/branchprofile/${officeId}`, payload);
}
// ── Clearing GL Configuration ──
/** @returns {Observable<any[]>} Every clearing role (CTS/NACH/RTGS...) and its mapped GL account, if any. */
getClearingGlConfig(): Observable<any> {
return this.http.get('/clearingglconfig');
}
/** @returns {Observable<any>} Selectable GL accounts for mapping a clearing role. */
getClearingGlConfigTemplate(): Observable<any> {
return this.http.get('/clearingglconfig/template');
}
/** @returns {Observable<any>} */
updateClearingGlConfig(configKey: string, glAccountId: number | null): Observable<any> {
return this.http.put(`/clearingglconfig/${configKey}`, { glAccountId });
}
}