/** * 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 { NoticeComponent } from './notice/notice.component'; import { LoanInterestCertificateComponent } from './certificates/loan-interest/loan-interest.component'; import { ShareCertificateComponent } from './certificates/share-certificate/share-certificate.component'; import { BalanceCertificateComponent } from './certificates/balance-certificate/balance-certificate.component'; import { Form60Component } from './certificates/form-60/form-60.component'; import { Form15ghComponent } from './certificates/form-15gh/form-15gh.component'; import { HypothecationCertificateComponent } from './certificates/hypothecation/hypothecation.component'; import { NocCertificateComponent } from './certificates/noc/noc.component'; import { DatabaseExportComponent } from './database-export/database-export.component'; import { ShareMemberComponent } from './share-member/share-member.component'; import { MembershipRegisterComponent } from './membership-register/membership-register.component'; import { ShareAllotmentReportComponent } from './share-allotment-report/share-allotment-report.component'; const routes: Routes = [ Route.withShell([ { path: 'letter-mgmt/notice', component: NoticeComponent, data: { title: 'Loan Overdue Notices', breadcrumb: 'Notice' } }, { path: 'letter-mgmt/loan-interest-certificate', component: LoanInterestCertificateComponent, data: { title: 'Loan Interest Certificate', breadcrumb: 'Loan Interest Certificate' } }, { path: 'letter-mgmt/share-certificate', component: ShareCertificateComponent, data: { title: 'Share Certificate', breadcrumb: 'Share Certificate' } }, { path: 'letter-mgmt/share-member', component: ShareMemberComponent, data: { title: 'Share Members', breadcrumb: 'Share Members' } }, { path: 'letter-mgmt/membership-register', component: MembershipRegisterComponent, data: { title: 'Membership Register', breadcrumb: 'Membership Register' } }, { path: 'letter-mgmt/share-allotment-report', component: ShareAllotmentReportComponent, data: { title: 'Share Allotment Report', breadcrumb: 'Share Allotment Report' } }, { path: 'letter-mgmt/balance-certificate', component: BalanceCertificateComponent, data: { title: 'Balance Certificate', breadcrumb: 'Balance Certificate' } }, { path: 'letter-mgmt/form-60', component: Form60Component, data: { title: 'Form 97', breadcrumb: 'Form 97' } }, { path: 'letter-mgmt/form-15gh', component: Form15ghComponent, data: { title: 'Form 121', breadcrumb: 'Form 121' } }, { path: 'letter-mgmt/hypothecation-certificate', component: HypothecationCertificateComponent, data: { title: 'Hypothecation Certificate', breadcrumb: 'Hypothecation Certificate' } }, { path: 'letter-mgmt/database-export', component: DatabaseExportComponent, data: { title: 'Database Export', breadcrumb: 'Database Export' } }, { path: 'letter-mgmt/noc', component: NocCertificateComponent, data: { title: 'No-Objection Certificate (NOC)', breadcrumb: 'NOC' } } ]) ]; @NgModule({ imports: [RouterModule.forChild(routes)], exports: [RouterModule] }) export class LetterMgmtRoutingModule {}