Files
cbsnexora/src/app/navigation/staff-navigation/staff-navigation.component.html
T
Adam Saghy 19a14e5b5b Upgrade to Angular 16
Merge `angular-update-16` into `dev` branch
2025-05-23 18:47:20 +02:00

60 lines
1.7 KiB
HTML

<mat-card-header class="layout-row gap-5percent header">
<fa-icon class="main-icon" icon="user" size="3x"></fa-icon>
<mat-card-title-group>
<div class="mat-typography">
<mat-card-title>
<h2>
{{ employeeData.displayName }}
<span [className]="employeeData.isActive === true ? 'true' : 'false'">
<fa-icon
matTooltip="{{ employeeData.isActive === true ? 'Active' : 'Inactive' }}"
matTooltipPosition="right"
icon="circle"
size="lg"
></fa-icon>
</span>
</h2>
</mat-card-title>
<mat-card-subtitle>
<p>{{ 'labels.inputs.Associated Office' | translate }}: {{ employeeData.officeName }}</p>
</mat-card-subtitle>
</div>
</mat-card-title-group>
</mat-card-header>
<mat-card-content>
<div class="layout-row-wrap">
<div class="flex-50 mat-body-strong">
{{ 'labels.inputs.Joined On' | translate }}
</div>
<div class="flex-50">
{{ employeeData.joiningDate | dateFormat }}
</div>
<div class="flex-50 mat-body-strong">
{{ 'labels.inputs.Loan Officer' | translate }}
</div>
<div class="flex-50">
{{ employeeData.isLoanOfficer | yesNo }}
</div>
<div class="flex-50 mat-body-strong" *ngIf="employeeData.mobileNo">
{{ 'labels.inputs.Mobile Number' | translate }}
</div>
<div class="flex-50" *ngIf="employeeData.mobileNo">
{{ employeeData.mobileNo }}
</div>
<div class="flex-50 mat-body-strong">
{{ 'labels.inputs.Number of Centers' | translate }}
</div>
<div class="flex-50">
{{ centerData ? centerData.length : '' }}
</div>
</div>
</mat-card-content>