Add giftcard fields, improve errors

This commit is contained in:
2024-10-27 14:21:23 +01:00
parent 59b5c2f323
commit 19177eefdf
21 changed files with 1146 additions and 1239 deletions
@@ -1,4 +1,5 @@
<div class="flex column fill">
@if (turnovers && !turnovers.error) {
<div class="flex wrap filter-container">
<a mat-icon-button (click)="filterOpen=!filterOpen" title="{{'turnovers.filter' | i18n}}"
[color]="filterOpen ? 'primary': 'accent'">
@@ -35,11 +36,13 @@
</form>
}
<span class="spacer"></span>
<a class="margin" mat-icon-button (click)="export()" title="{{'turnovers.export' | i18n}}" color="primary" [disabled]="!turnovers.total">
<a class="margin" mat-icon-button (click)="export()" title="{{'turnovers.export' | i18n}}" color="primary"
[disabled]="!turnovers.total">
<mat-icon>file_download</mat-icon>
</a>
</div>
}
<ui-turnovers #uiTurnovers class="flex column grow" [turnovers]="turnovers" [overview]="overview" (page)="applyPage($event)"
(sort)="applySort($event)"></ui-turnovers>
<ui-turnovers #uiTurnovers class="flex column grow" [turnovers]="turnovers" [overview]="overview"
(page)="applyPage($event)" (sort)="applySort($event)"></ui-turnovers>
</div>