feat: add view shares account page (#868)

Fixes: #224
This commit is contained in:
Karan Takalkar
2020-06-13 01:54:44 +05:30
committed by GitHub
parent de701543e1
commit db248a8037
28 changed files with 972 additions and 1 deletions
@@ -0,0 +1,38 @@
<div class="tab-container mat-typography">
<div class="m-b-10">
<h3>All Dividends</h3>
</div>
<div class="mat-elevation-z1 m-b-25">
<table mat-table [dataSource]="dataSource" >
<ng-container matColumnDef="transactionDate">
<th mat-header-cell *matHeaderCellDef> Transaction Date </th>
<td mat-cell *matCellDef="let dividend"> {{dividend.postedDate | date}} </td>
</ng-container>
<ng-container matColumnDef="amount">
<th mat-header-cell *matHeaderCellDef> Amount </th>
<td mat-cell *matCellDef="let dividend"> {{shareAccountData.currency.displaySymbol}}&nbsp;{{dividend.amount}} </td>
</ng-container>
<ng-container matColumnDef="transactionReference">
<th mat-header-cell *matHeaderCellDef> Transaction Reference </th>
<td mat-cell *matCellDef="let dividend"> {{dividend.savingsTransactionId}} </td>
</ng-container>
<ng-container matColumnDef="status">
<th mat-header-cell *matHeaderCellDef> status </th>
<td mat-cell *matCellDef="let dividend"> {{dividend.status.value}} </td>
</ng-container>
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
<tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
</table>
</div>
</div>