feat(fiu): add Head Office / Branch-wise scoping; remove reconciliation nav dots
FIU: adds a branch selector (Head Office sees all/drills into one branch, a branch-level login is locked to its own branch) scoping the CTR/STR tabs, dashboard KPIs and header. A FIU_BRANCH_CODE_TO_CANONICAL map bridges the module's internal FINnet branch codes to the app-wide BranchMaster codes. Live backend-driven AML alerts/cases are unchanged (no branch field to scope by). Shell: removes the "working nav" green-dot indicator from the Reconciliation mega-menu's 17 report links per request.
This commit is contained in:
@@ -6,6 +6,10 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
import { BRANCHES, BranchMaster } from '../npa/npa-data';
|
||||
|
||||
export { BRANCHES, BranchMaster };
|
||||
|
||||
/**
|
||||
* Sample FIU-IND data — schema mirrors the FINnet 2.0 CSV submission templates
|
||||
* (TC1, TC2, KC1, KC2, Account_Detail, Account_Person_Relation).
|
||||
@@ -155,6 +159,25 @@ export const FIU_BANK = {
|
||||
cbwtrThreshold: 500000 // CBWTR threshold ₹5 L
|
||||
};
|
||||
|
||||
/**
|
||||
* CTR/STR records below use the bank's own internal numeric branch codes (as FINnet's TC2
|
||||
* schema expects), not the app-wide BranchMaster codes (BR01, BR02, ...) every other module
|
||||
* scopes Head-Office-vs-branch access by. This maps one to the other so a branch-level login's
|
||||
* officeName can be matched consistently, the same way NPA/Reconciliation/Loan Origination do.
|
||||
*/
|
||||
export const FIU_BRANCH_CODE_TO_CANONICAL: Record<string, string> = {
|
||||
'1': 'BR01',
|
||||
'2': 'BR02',
|
||||
'3': 'BR03',
|
||||
'4': 'BR04',
|
||||
'5': 'BR05',
|
||||
'6': 'BR06',
|
||||
'8': 'BR07',
|
||||
'9': 'BR08',
|
||||
'10': 'BR02',
|
||||
'12': 'BR04'
|
||||
};
|
||||
|
||||
/**
|
||||
* ── CTR transactions (FINnet TC2-style) ──
|
||||
* Only CASH transactions that breach the RBI/PMLA reporting limit of ₹10,00,000
|
||||
|
||||
Reference in New Issue
Block a user