feat: use cash flow presentation in transaction histories

This commit is contained in:
Bastian Wagner
2026-08-01 20:58:22 +02:00
parent 239b157015
commit f2e6704943
15 changed files with 203 additions and 90 deletions

View File

@@ -43,9 +43,13 @@
><span>{{ activity.note || activity.type }}</span
><small>{{ activity.date | date: 'dd.MM.yyyy' }}</small>
</div>
<strong class="activity__amount" [class.negative]="displayAmount(activity) < 0">{{
displayAmount(activity) | currency: 'EUR'
}}</strong>
<strong>
<app-transaction-amount
[amount]="activity.amount"
[type]="activity.type"
[context]="activity.isTeamWalletTransaction ? 'team' : 'player'"
/>
</strong>
</article>
}
</div>