Fixed Deposit account view update (#1881)
Co-authored-by: Jose Alberto Hernandez <alberto@blue-daemon.local>
This commit is contained in:
co-authored by
Jose Alberto Hernandez
parent
d92f6c1c5e
commit
c7fe21e74a
@@ -2,46 +2,46 @@
|
||||
|
||||
<mat-card fxLayout="column" fxLayoutGap="2%" *ngIf="hasResults">
|
||||
|
||||
<mat-error *ngIf="overload">{{ 'error.Searched query resulted more than 200 records' |translate}}</mat-error>
|
||||
<mat-error *ngIf="overload">{{ 'error.Searched query resulted more than 200 records' | translate }}</mat-error>
|
||||
|
||||
<table mat-table [dataSource]="dataSource">
|
||||
|
||||
<ng-container matColumnDef="entityType">
|
||||
<th mat-header-cell *matHeaderCellDef> {{ 'labels.inputs.Entity Type' |translate}} </th>
|
||||
<th mat-header-cell *matHeaderCellDef> {{ 'labels.inputs.Entity Type' | translate }} </th>
|
||||
<td mat-cell *matCellDef="let entity" class="view-details"> {{entity.entityType}} </td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="entityName">
|
||||
<th mat-header-cell *matHeaderCellDef> {{ 'labels.inputs.Entity Name' |translate}} </th>
|
||||
<th mat-header-cell *matHeaderCellDef> {{ 'labels.inputs.Entity Name' | translate }} </th>
|
||||
<td mat-cell *matCellDef="let entity" class="view-details"> {{entity.entityName}} </td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="entityAccount">
|
||||
<th mat-header-cell *matHeaderCellDef> {{ 'labels.inputs.Account No' |translate}} </th>
|
||||
<th mat-header-cell *matHeaderCellDef> {{ 'labels.inputs.Account No' | translate }} </th>
|
||||
<td mat-cell *matCellDef="let entity" class="view-details">
|
||||
<mifosx-account-number display="left" accountNo="{{entity.entityAccountNo}}"></mifosx-account-number>
|
||||
</td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="externalId">
|
||||
<th mat-header-cell *matHeaderCellDef> {{ 'labels.inputs.External Id' |translate}} </th>
|
||||
<th mat-header-cell *matHeaderCellDef> {{ 'labels.inputs.External Id' | translate }} </th>
|
||||
<td mat-cell *matCellDef="let entity" class="view-details">
|
||||
<mifosx-external-identifier externalId="{{entity.entityExternalId}}"></mifosx-external-identifier>
|
||||
</td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="parentType">
|
||||
<th mat-header-cell *matHeaderCellDef> {{ 'labels.inputs.Parent Type' |translate}} </th>
|
||||
<th mat-header-cell *matHeaderCellDef> {{ 'labels.inputs.Parent Type' | translate }} </th>
|
||||
<td mat-cell *matCellDef="let entity" class="view-details"> {{ ['CLIENT','GROUP', 'CENTER'].includes(entity.entityType) ? 'Office' : 'Client' }} </td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="parentName">
|
||||
<th mat-header-cell *matHeaderCellDef> {{ 'labels.inputs.Parent Name' |translate}} </th>
|
||||
<th mat-header-cell *matHeaderCellDef> {{ 'labels.inputs.Parent Name' | translate }} </th>
|
||||
<td mat-cell *matCellDef="let entity" class="view-details"> {{entity.parentName}} </td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="details">
|
||||
<th mat-header-cell *matHeaderCellDef> {{ 'labels.inputs.Details' |translate}} </th>
|
||||
<th mat-header-cell *matHeaderCellDef> {{ 'labels.inputs.Details' | translate }} </th>
|
||||
<td mat-cell *matCellDef="let entity" class="view-details">
|
||||
<button mat-icon-button matTooltip="{{ 'tooltips.View Entity' | translate }}" (click)="navigate(entity)" matTooltipPosition="right">
|
||||
<fa-icon icon="eye" size="lg"></fa-icon>
|
||||
@@ -63,7 +63,7 @@
|
||||
|
||||
<div class="message">
|
||||
<i class="fa fa-exclamation-circle alert-check"></i>
|
||||
{{ 'labels.text.No data found' |translate}}
|
||||
{{ 'labels.text.No data found' | translate }}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user