feat: use cash flow presentation in transaction histories
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user