Files
cbsnexora/src/app/loans/loans-view/loan-deferred-income-tab/loan-deferred-income-tab.component.html
T

37 lines
1.6 KiB
HTML

<div class="container">
<h3>{{ 'labels.inputs.Deferred income' | translate }} - {{ 'labels.menus.Capitalized Income' | translate }}</h3>
<table mat-table [dataSource]="capitalizedIncomeData" *ngIf="capitalizedIncomeData.length > 0">
<ng-container matColumnDef="amount">
<th mat-header-cell class="center" *matHeaderCellDef>{{ 'labels.inputs.Amount' | translate }}</th>
<td mat-cell class="r-amount" *matCellDef="let item">
{{ item.amount | formatNumber }}
</td>
</ng-container>
<ng-container matColumnDef="amortizedAmount">
<th mat-header-cell class="center" *matHeaderCellDef>{{ 'labels.inputs.Amortized Amount' | translate }}</th>
<td mat-cell class="r-amount" *matCellDef="let item">
{{ item.amortizedAmount | formatNumber }}
</td>
</ng-container>
<ng-container matColumnDef="unrecognizedAmount">
<th mat-header-cell class="center" *matHeaderCellDef>{{ 'labels.inputs.Unrecognized Amount' | translate }}</th>
<td mat-cell class="r-amount" *matCellDef="let item">
{{ item.unrecognizedAmount | formatNumber }}
</td>
</ng-container>
<ng-container matColumnDef="amountAdjustment">
<th mat-header-cell class="center" *matHeaderCellDef>{{ 'labels.inputs.Adjustment Amount' | translate }}</th>
<td mat-cell class="r-amount" *matCellDef="let item">
{{ item.amountAdjustment | formatNumber: '-' }}
</td>
</ng-container>
<tr mat-header-row *matHeaderRowDef="capitalizedIncomeColumns"></tr>
<tr mat-row *matRowDef="let row; columns: capitalizedIncomeColumns"></tr>
</table>
</div>