|
@ -36,14 +36,15 @@ |
|
|
</mat-autocomplete> |
|
|
</mat-autocomplete> |
|
|
</mat-form-field> |
|
|
</mat-form-field> |
|
|
|
|
|
|
|
|
<table |
|
|
<div class="activities"> |
|
|
|
|
|
<table |
|
|
class="gf-table w-100" |
|
|
class="gf-table w-100" |
|
|
matSort |
|
|
matSort |
|
|
matSortActive="date" |
|
|
matSortActive="date" |
|
|
matSortDirection="desc" |
|
|
matSortDirection="desc" |
|
|
mat-table |
|
|
mat-table |
|
|
[dataSource]="dataSource" |
|
|
[dataSource]="dataSource" |
|
|
> |
|
|
> |
|
|
<ng-container matColumnDef="count"> |
|
|
<ng-container matColumnDef="count"> |
|
|
<th |
|
|
<th |
|
|
*matHeaderCellDef |
|
|
*matHeaderCellDef |
|
@ -127,7 +128,11 @@ |
|
|
> |
|
|
> |
|
|
Currency |
|
|
Currency |
|
|
</th> |
|
|
</th> |
|
|
<td *matCellDef="let element" class="d-none d-lg-table-cell px-1" mat-cell> |
|
|
<td |
|
|
|
|
|
*matCellDef="let element" |
|
|
|
|
|
class="d-none d-lg-table-cell px-1" |
|
|
|
|
|
mat-cell |
|
|
|
|
|
> |
|
|
{{ element.currency }} |
|
|
{{ element.currency }} |
|
|
</td> |
|
|
</td> |
|
|
<td *matFooterCellDef class="d-none d-lg-table-cell px-1" mat-footer-cell> |
|
|
<td *matFooterCellDef class="d-none d-lg-table-cell px-1" mat-footer-cell> |
|
@ -145,7 +150,11 @@ |
|
|
> |
|
|
> |
|
|
Quantity |
|
|
Quantity |
|
|
</th> |
|
|
</th> |
|
|
<td *matCellDef="let element" class="d-none d-lg-table-cell px-1" mat-cell> |
|
|
<td |
|
|
|
|
|
*matCellDef="let element" |
|
|
|
|
|
class="d-none d-lg-table-cell px-1" |
|
|
|
|
|
mat-cell |
|
|
|
|
|
> |
|
|
<div class="d-flex justify-content-end"> |
|
|
<div class="d-flex justify-content-end"> |
|
|
<gf-value |
|
|
<gf-value |
|
|
[isCurrency]="true" |
|
|
[isCurrency]="true" |
|
@ -171,7 +180,11 @@ |
|
|
> |
|
|
> |
|
|
Unit Price |
|
|
Unit Price |
|
|
</th> |
|
|
</th> |
|
|
<td *matCellDef="let element" class="d-none d-lg-table-cell px-1" mat-cell> |
|
|
<td |
|
|
|
|
|
*matCellDef="let element" |
|
|
|
|
|
class="d-none d-lg-table-cell px-1" |
|
|
|
|
|
mat-cell |
|
|
|
|
|
> |
|
|
<div class="d-flex justify-content-end"> |
|
|
<div class="d-flex justify-content-end"> |
|
|
<gf-value |
|
|
<gf-value |
|
|
[isCurrency]="true" |
|
|
[isCurrency]="true" |
|
@ -197,7 +210,11 @@ |
|
|
> |
|
|
> |
|
|
Fee |
|
|
Fee |
|
|
</th> |
|
|
</th> |
|
|
<td *matCellDef="let element" class="d-none d-lg-table-cell px-1" mat-cell> |
|
|
<td |
|
|
|
|
|
*matCellDef="let element" |
|
|
|
|
|
class="d-none d-lg-table-cell px-1" |
|
|
|
|
|
mat-cell |
|
|
|
|
|
> |
|
|
<div class="d-flex justify-content-end"> |
|
|
<div class="d-flex justify-content-end"> |
|
|
<gf-value |
|
|
<gf-value |
|
|
[isCurrency]="true" |
|
|
[isCurrency]="true" |
|
@ -336,14 +353,17 @@ |
|
|
symbol: row.symbol |
|
|
symbol: row.symbol |
|
|
}) |
|
|
}) |
|
|
" |
|
|
" |
|
|
[ngClass]="{ 'cursor-pointer': hasPermissionToOpenDetails && !row.isDraft }" |
|
|
[ngClass]="{ |
|
|
|
|
|
'cursor-pointer': hasPermissionToOpenDetails && !row.isDraft |
|
|
|
|
|
}" |
|
|
></tr> |
|
|
></tr> |
|
|
<tr |
|
|
<tr |
|
|
*matFooterRowDef="displayedColumns" |
|
|
*matFooterRowDef="displayedColumns" |
|
|
mat-footer-row |
|
|
mat-footer-row |
|
|
[ngClass]="{ 'd-none': isLoading || dataSource.data.length === 0 }" |
|
|
[ngClass]="{ 'd-none': isLoading || dataSource.data.length === 0 }" |
|
|
></tr> |
|
|
></tr> |
|
|
</table> |
|
|
</table> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
<ngx-skeleton-loader |
|
|
<ngx-skeleton-loader |
|
|
*ngIf="isLoading" |
|
|
*ngIf="isLoading" |
|
|