|
|
@ -128,7 +128,7 @@ |
|
|
@if (subscriptionsDataSource.data.length > 0) { |
|
|
@if (subscriptionsDataSource.data.length > 0) { |
|
|
<div class="row"> |
|
|
<div class="row"> |
|
|
<div class="col"> |
|
|
<div class="col"> |
|
|
<h2 class="h6" i18n>Subscriptions</h2> |
|
|
<h2 class="h6" i18n>Subscription History</h2> |
|
|
<div class="overflow-x-auto"> |
|
|
<div class="overflow-x-auto"> |
|
|
<table |
|
|
<table |
|
|
class="gf-table w-100" |
|
|
class="gf-table w-100" |
|
|
@ -137,7 +137,7 @@ |
|
|
> |
|
|
> |
|
|
<ng-container matColumnDef="createdAt"> |
|
|
<ng-container matColumnDef="createdAt"> |
|
|
<th *matHeaderCellDef class="px-1" mat-header-cell> |
|
|
<th *matHeaderCellDef class="px-1" mat-header-cell> |
|
|
<ng-container i18n>Created</ng-container> |
|
|
<ng-container i18n>Creation</ng-container> |
|
|
</th> |
|
|
</th> |
|
|
<td *matCellDef="let element" class="px-1" mat-cell> |
|
|
<td *matCellDef="let element" class="px-1" mat-cell> |
|
|
<gf-value |
|
|
<gf-value |
|
|
@ -170,13 +170,17 @@ |
|
|
class="px-1 text-right" |
|
|
class="px-1 text-right" |
|
|
mat-cell |
|
|
mat-cell |
|
|
> |
|
|
> |
|
|
<gf-value |
|
|
@if (element.price === null) { |
|
|
class="d-inline-block justify-content-end" |
|
|
<span>—</span> |
|
|
[isCurrency]="true" |
|
|
} @else { |
|
|
[locale]="data.locale" |
|
|
<gf-value |
|
|
[unit]="baseCurrency" |
|
|
class="d-inline-block justify-content-end" |
|
|
[value]="element.price" |
|
|
[isCurrency]="true" |
|
|
/> |
|
|
[locale]="data.locale" |
|
|
|
|
|
[unit]="baseCurrency" |
|
|
|
|
|
[value]="element.price" |
|
|
|
|
|
/> |
|
|
|
|
|
} |
|
|
</td> |
|
|
</td> |
|
|
<td *matFooterCellDef class="px-1 text-right" mat-footer-cell> |
|
|
<td *matFooterCellDef class="px-1 text-right" mat-footer-cell> |
|
|
<gf-value |
|
|
<gf-value |
|
|
@ -191,7 +195,7 @@ |
|
|
|
|
|
|
|
|
<ng-container matColumnDef="expiresAt"> |
|
|
<ng-container matColumnDef="expiresAt"> |
|
|
<th *matHeaderCellDef class="px-1" mat-header-cell> |
|
|
<th *matHeaderCellDef class="px-1" mat-header-cell> |
|
|
<ng-container i18n>Expires</ng-container> |
|
|
<ng-container i18n>Expiration</ng-container> |
|
|
</th> |
|
|
</th> |
|
|
<td *matCellDef="let element" class="px-1" mat-cell> |
|
|
<td *matCellDef="let element" class="px-1" mat-cell> |
|
|
<gf-value |
|
|
<gf-value |
|
|
|