Feature: Added feature to click a name in receive payment to fill in the amount in that column

This commit is contained in:
2021-03-26 07:20:51 +05:30
parent 095f4fe473
commit 47381527c2
3 changed files with 14 additions and 6 deletions
@@ -5,7 +5,9 @@
<!-- Name Column -->
<ng-container matColumnDef="name">
<mat-header-cell *matHeaderCellDef class="bold">Amount</mat-header-cell>
<mat-cell *matCellDef="let row">{{ row.name }}</mat-cell>
<mat-cell *matCellDef="let row; let i = index" (click)="maxAmount(row, i)">{{
row.name
}}</mat-cell>
<mat-footer-cell *matFooterCellDef class="bold">Balance</mat-footer-cell>
</ng-container>