feat:Unificaction of radhathakare's PR (#1879)
* feat:Clients Translate Module * feat: Collections Translate Module * feat:Loan Translate Module * feat:Search Translate Module * feat English Json File --------- Co-authored-by: radhathakare <radhathakare322@gmail.com>
This commit is contained in:
co-authored by
radhathakare
parent
3e1067bfc6
commit
d92f6c1c5e
@@ -2,48 +2,48 @@
|
||||
|
||||
<mat-card fxLayout="column" fxLayoutGap="2%" *ngIf="hasResults">
|
||||
|
||||
<mat-error *ngIf="overload">Searched query resulted more than 200 records, showing first 200 records.</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> Entity Type </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> Entity Name </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> Account No </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> External Id </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> Parent Type </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> Parent Name </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> Details </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="View Entity" (click)="navigate(entity)" matTooltipPosition="right">
|
||||
<button mat-icon-button matTooltip="{{ 'tooltips.View Entity' | translate }}" (click)="navigate(entity)" matTooltipPosition="right">
|
||||
<fa-icon icon="eye" size="lg"></fa-icon>
|
||||
</button>
|
||||
</td>
|
||||
@@ -63,7 +63,7 @@
|
||||
|
||||
<div class="message">
|
||||
<i class="fa fa-exclamation-circle alert-check"></i>
|
||||
No data found
|
||||
{{ 'labels.text.No data found' |translate}}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user