- KYC tab: fix Verify (PAN) and Send OTP (Aadhaar) being disabled in edit mode; unmask Aadhaar input and show on-file masked value as hint; resolve kycId from id/kycId/resourceId fallbacks. - Client stepper/view: add familyAllowed / nomineeAllowed predicates + CanActivate route guards. Family tab hidden for non-individuals, Nominee tab hidden for non-proprietor entities. Family-members step accepts a nomineeOnly input for proprietorship clients. Add/Edit/Delete buttons inside family-members and nominee tabs gated by canAdd. - cfcfrms: add cfcfrms-shell wrapper, restyle complaint/fraud/mule/escalate pages and dashboard. - Savings: identity-verify and transaction-confirm dialogs, manage / activate / add-charge flows, account preview styling. - Tasks, core shell, account-nominees, icons: minor style and behaviour updates. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
90 lines
3.1 KiB
TypeScript
90 lines
3.1 KiB
TypeScript
/**
|
|
* Copyright since 2025 Mifos Initiative
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
import { NgModule } from '@angular/core';
|
|
import { Routes, RouterModule } from '@angular/router';
|
|
import { Route } from '../core/route/route.service';
|
|
import { CfcfrmsShellComponent } from './cfcfrms-shell/cfcfrms-shell.component';
|
|
import { CfcfrmsDashboardComponent } from './dashboard/cfcfrms-dashboard.component';
|
|
import { ComplaintListComponent } from './complaint-list/complaint-list.component';
|
|
import { ComplaintDetailComponent } from './complaint-detail/complaint-detail.component';
|
|
import { EscalateComponent } from './escalate/escalate.component';
|
|
import { ReportSuspectComponent } from './report-suspect/report-suspect.component';
|
|
import { ReportMuleComponent } from './report-mule/report-mule.component';
|
|
import { ReportFraudTxnComponent } from './report-fraud-txn/report-fraud-txn.component';
|
|
import { FmrSubmissionComponent } from './fmr-submission/fmr-submission.component';
|
|
import { CfrLookupComponent } from './cfr-lookup/cfr-lookup.component';
|
|
|
|
const routes: Routes = [
|
|
Route.withShell([
|
|
{
|
|
path: 'cfcfrms',
|
|
component: CfcfrmsShellComponent,
|
|
data: { title: 'CFCFRMS', breadcrumb: 'CFCFRMS' },
|
|
children: [
|
|
{
|
|
path: '',
|
|
redirectTo: 'dashboard',
|
|
pathMatch: 'full'
|
|
},
|
|
{
|
|
path: 'dashboard',
|
|
component: CfcfrmsDashboardComponent,
|
|
data: { title: 'CFCFRMS Dashboard', breadcrumb: 'Dashboard' }
|
|
},
|
|
{
|
|
path: 'complaints',
|
|
component: ComplaintListComponent,
|
|
data: { title: 'Complaints', breadcrumb: 'Complaints' }
|
|
},
|
|
{
|
|
path: 'complaints/:ticketId',
|
|
component: ComplaintDetailComponent,
|
|
data: { title: 'Complaint Detail', breadcrumb: 'Detail' }
|
|
},
|
|
{
|
|
path: 'escalate',
|
|
component: EscalateComponent,
|
|
data: { title: 'Escalate Complaint', breadcrumb: 'Escalate' }
|
|
},
|
|
{
|
|
path: 'report-suspect',
|
|
component: ReportSuspectComponent,
|
|
data: { title: 'Report Suspect Account', breadcrumb: 'Report Suspect' }
|
|
},
|
|
{
|
|
path: 'report-mule',
|
|
component: ReportMuleComponent,
|
|
data: { title: 'Report Mule Account', breadcrumb: 'Report Mule' }
|
|
},
|
|
{
|
|
path: 'report-fraud-txn',
|
|
component: ReportFraudTxnComponent,
|
|
data: { title: 'Report Fraud Transaction', breadcrumb: 'Fraud Transaction' }
|
|
},
|
|
{
|
|
path: 'fmr-submission',
|
|
component: FmrSubmissionComponent,
|
|
data: { title: 'FMR Submission', breadcrumb: 'FMR Submission' }
|
|
},
|
|
{
|
|
path: 'cfr-lookup',
|
|
component: CfrLookupComponent,
|
|
data: { title: 'CFR Lookup', breadcrumb: 'CFR Lookup' }
|
|
}
|
|
]
|
|
}
|
|
])
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [RouterModule.forChild(routes)],
|
|
exports: [RouterModule]
|
|
})
|
|
export class CfcfrmsRoutingModule {}
|