Enhacement to management funds (#1735)
Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
This commit is contained in:
co-authored by
Jose Alberto Hernandez
parent
452a1adc17
commit
bf700cc100
@@ -101,6 +101,10 @@ import { LoanProvisioningCriteriaTemplateResolver } from './loan-provisioning-cr
|
||||
import { LoanProvisioningCriteriaAndTemplateResolver } from './loan-provisioning-criteria/common-resolvers/loan-provisioning-criteria-and-template.resolver';
|
||||
import { StandingInstructionsTemplateResolver } from './standing-instructions-history/standing-instructions-template.resolver';
|
||||
import { AdvanceSearchTemplateResolver } from './fund-mapping/advance-search-template.resolver';
|
||||
import { ManageFundResolver } from './manage-funds/manage-fund.resolver';
|
||||
import { ViewFundComponent } from './manage-funds/view-fund/view-fund.component';
|
||||
import { EditFundComponent } from './manage-funds/edit-fund/edit-fund.component';
|
||||
import { CreateFundComponent } from './manage-funds/create-fund/create-fund.component';
|
||||
|
||||
/** Organization Routes */
|
||||
const routes: Routes = [
|
||||
@@ -570,8 +574,45 @@ const routes: Routes = [
|
||||
},
|
||||
{
|
||||
path: 'manage-funds',
|
||||
component: ManageFundsComponent,
|
||||
data: { title: extract('Manage Funds Days'), breadcrumb: 'Manage Funds' },
|
||||
data: { title: extract('Manage Funds'), breadcrumb: 'Manage Funds' },
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
component: ManageFundsComponent,
|
||||
resolve: {
|
||||
funds: ManageFundsResolver
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'create',
|
||||
component: CreateFundComponent,
|
||||
data: { title: extract('Create Fund'), breadcrumb: 'Create' }
|
||||
},
|
||||
{
|
||||
path: ':id',
|
||||
data: { title: extract('View Fund'), breadcrumb: 'id', routeParamBreadcrumb: 'id' },
|
||||
resolve: {
|
||||
fundData: ManageFundResolver
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
component: ViewFundComponent,
|
||||
resolve: {
|
||||
fundData: ManageFundResolver
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'edit',
|
||||
component: EditFundComponent,
|
||||
data: { title: extract('Edit Fund'), breadcrumb: 'Edit', routeParamBreadcrumb: false },
|
||||
resolve: {
|
||||
fundData: ManageFundResolver
|
||||
}
|
||||
},
|
||||
]
|
||||
},
|
||||
],
|
||||
resolve: {
|
||||
funds: ManageFundsResolver
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user