feat:Shares Translate Module (#1815)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<div class="tab-container mat-typography">
|
||||
|
||||
<div class="m-b-10">
|
||||
<h3>All Transactions</h3>
|
||||
<h3>{{ 'labels.heading.All Transactions' |translate}}</h3>
|
||||
</div>
|
||||
|
||||
<div class="mat-elevation-z1 m-b-25">
|
||||
@@ -9,32 +9,32 @@
|
||||
<table mat-table [dataSource]="dataSource">
|
||||
|
||||
<ng-container matColumnDef="transactionDate">
|
||||
<th mat-header-cell *matHeaderCellDef> Transaction Date </th>
|
||||
<th mat-header-cell *matHeaderCellDef> {{ 'labels.inputs.Transaction Date' |translate}} </th>
|
||||
<td mat-cell *matCellDef="let transaction"> {{transaction.purchasedDate | dateFormat}} </td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="transactionType">
|
||||
<th mat-header-cell *matHeaderCellDef> Transaction Type </th>
|
||||
<th mat-header-cell *matHeaderCellDef> {{ 'labels.inputs.Transaction Type' |translate}} </th>
|
||||
<td mat-cell *matCellDef="let transaction"> {{transaction.type.value}} {{transaction.type.value !== "Charge Payment" ? ('(' + transaction.status.value + ')') : ''}}</td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="totalShares">
|
||||
<th mat-header-cell *matHeaderCellDef> Total Shares </th>
|
||||
<th mat-header-cell *matHeaderCellDef> {{ 'labels.inputs.Total Shares' |translate}} </th>
|
||||
<td mat-cell *matCellDef="let transaction"> {{transaction.numberOfShares}} </td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="purchasedOrRedeemedPrice">
|
||||
<th mat-header-cell *matHeaderCellDef> Purhcased/Redeemed Price </th>
|
||||
<th mat-header-cell *matHeaderCellDef> {{ 'labels.inputs.Purhcased/Redeemed Price' |translate}} </th>
|
||||
<td mat-cell *matCellDef="let transaction">{{shareAccountData.currency.displaySymbol}} {{transaction.purchasedPrice}}</td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="chargeAmount">
|
||||
<th mat-header-cell *matHeaderCellDef> Charge Amount </th>
|
||||
<th mat-header-cell *matHeaderCellDef> {{ 'labels.inputs.Charge Amount' |translate}} </th>
|
||||
<td mat-cell *matCellDef="let transaction">{{shareAccountData.currency.displaySymbol}} {{transaction.type.value === "Charge Payment" ? transaction.amount : transaction.chargeAmount}}</td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="amountRecievedOrReturned">
|
||||
<th mat-header-cell *matHeaderCellDef> Amount Recieved/Returned </th>
|
||||
<th mat-header-cell *matHeaderCellDef> {{ 'labels.inputs.Amount Recieved/Returned' |translate}} </th>
|
||||
<td mat-cell *matCellDef="let transaction">{{shareAccountData.currency.displaySymbol}} {{transaction.amount}}</td>
|
||||
</ng-container>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user