WEB-472 Currency formatting (#2873)
This commit is contained in:
@@ -100,11 +100,15 @@
|
|||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-container matColumnDef="Loan Balance">
|
<ng-container matColumnDef="Loan Balance">
|
||||||
<th mat-header-cell *matHeaderCellDef>{{ 'labels.inputs.Loan Balance' | translate }}</th>
|
<th mat-header-cell *matHeaderCellDef>{{ 'labels.inputs.Loan Balance' | translate }}</th>
|
||||||
<td mat-cell *matCellDef="let element">{{ element.loanBalance }}</td>
|
<td mat-cell *matCellDef="let element">
|
||||||
|
{{ element.loanBalance | currency: element.currency?.code || 'USD' : 'symbol' : '1.2-2' }}
|
||||||
|
</td>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-container matColumnDef="Amount Paid">
|
<ng-container matColumnDef="Amount Paid">
|
||||||
<th mat-header-cell *matHeaderCellDef>{{ 'labels.inputs.Amount Paid' | translate }}</th>
|
<th mat-header-cell *matHeaderCellDef>{{ 'labels.inputs.Amount Paid' | translate }}</th>
|
||||||
<td mat-cell *matCellDef="let element">{{ element.amountPaid }}</td>
|
<td mat-cell *matCellDef="let element">
|
||||||
|
{{ element.amountPaid | currency: element.currency?.code || 'USD' : 'symbol' : '1.2-2' }}
|
||||||
|
</td>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-container matColumnDef="Type">
|
<ng-container matColumnDef="Type">
|
||||||
<th mat-header-cell *matHeaderCellDef>{{ 'labels.inputs.Type' | translate }}</th>
|
<th mat-header-cell *matHeaderCellDef>{{ 'labels.inputs.Type' | translate }}</th>
|
||||||
|
|||||||
Reference in New Issue
Block a user