New view to manage the COB Catch-Up (#1691)

Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
This commit is contained in:
José Alberto Hernández
2023-02-23 10:51:21 -06:00
committed by GitHub
co-authored by Jose Alberto Hernandez
parent e76e558fc6
commit baba1c945f
11 changed files with 135 additions and 13 deletions
@@ -2,7 +2,7 @@
<div class="tab-container mat-typography">
<div fxLayoutAlign="flex-end" class="action-button m-b-20">
<span *mifosxHasPermission="'UPDATE_OFFICE'">
<button mat-raised-button color="primary" [routerLink]="['edit']">
<button mat-raised-button color="primary" [routerLink]="['../edit']">
<fa-icon icon="edit" class="m-r-10"></fa-icon>Edit
</button>
</span>
@@ -206,16 +206,16 @@ const routes: Routes = [
}
}
]
},
{
path: 'edit',
component: EditOfficeComponent,
data: { title: extract('Edit Office'), breadcrumb: 'Edit', routeParamBreadcrumb: false },
resolve: {
officeTemplate: EditOfficeResolver
}
}
]
},
{
path: ':officeId/edit',
component: EditOfficeComponent,
data: { title: extract('Edit Office'), breadcrumb: 'Edit', routeParamBreadcrumb: false },
resolve: {
officeTemplate: EditOfficeResolver
}
}
]
},