Files
cbsnexora/src/app/organization/offices/view-office/view-office.component.html
T
Nitesh YadavandClaude Sonnet 4.6 d367e76104 merging code
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 14:26:25 +05:30

65 lines
1.9 KiB
HTML

<!--
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/.
-->
<div class="vo-container">
<!-- Header -->
<div class="vo-header">
<div class="vo-header__left">
<button mat-stroked-button [routerLink]="['../../']" class="vo-back">
<i class="fas fa-arrow-left"></i> {{ 'labels.inputs.Offices' | translate }}
</button>
<h2 class="vo-header__title">{{ 'labels.heading.Office Details' | translate }}</h2>
</div>
<button
mat-flat-button
color="primary"
[routerLink]="['./edit']"
class="vo-edit-btn"
*mifosxHasPermission="'UPDATE_OFFICE'"
>
<fa-icon icon="edit" class="m-r-10"></fa-icon>
{{ 'labels.buttons.Edit' | translate }}
</button>
</div>
<!-- Tab Card -->
<div class="vo-card">
<nav mat-tab-nav-bar class="vo-tabs" [tabPanel]="tabPanel">
<a
mat-tab-link
[routerLink]="['./general']"
routerLinkActive
#general="routerLinkActive"
[active]="general.isActive"
class="vo-tab"
>
{{ 'labels.inputs.General' | translate }}
</a>
@for (officeDatatable of officeDatatables; track officeDatatable) {
<span>
<a
mat-tab-link
*mifosxHasPermission="'READ_' + officeDatatable.registeredTableName"
[routerLink]="['./datatables', officeDatatable.registeredTableName]"
routerLinkActive
#datatable="routerLinkActive"
[active]="datatable.isActive"
class="vo-tab"
>
{{ officeDatatable.registeredTableName }}
</a>
</span>
}
</nav>
<mat-tab-nav-panel #tabPanel class="vo-panel">
<router-outlet></router-outlet>
</mat-tab-nav-panel>
</div>
</div>