/** * 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 { CkycComponent } from './ckyc.component'; import { RecordMasterComponent } from './record-master/record-master.component'; import { CkycVerificationComponent } from './ckyc-verification/ckyc-verification.component'; import { CkycReportsComponent } from './ckyc-reports/ckyc-reports.component'; import { EkycComponent } from './ekyc/ekyc.component'; const routes: Routes = [ Route.withShell([ { path: 'ckyc', data: { title: 'CKYC', breadcrumb: 'CKYC' }, children: [ { path: '', component: CkycComponent }, { path: 'record-master', component: RecordMasterComponent, data: { title: 'Record Master', breadcrumb: 'Record Master' } }, { path: 'ckyc-verification', component: CkycVerificationComponent, data: { title: 'CKYC', breadcrumb: 'CKYC Verification' } }, { path: 'ckyc-reports', component: CkycReportsComponent, data: { title: 'CKYC Reports', breadcrumb: 'CKYC Reports' } }, { path: 'ekyc', component: EkycComponent, data: { title: 'E-KYC', breadcrumb: 'E-KYC' } } ] } ]) ]; @NgModule({ imports: [RouterModule.forChild(routes)], exports: [RouterModule] }) export class CkycRoutingModule {}