mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-07-13 16:22:42 +02:00
fix: wrong calculations
This commit is contained in:
@@ -75,7 +75,7 @@ def yearly_overview_by_currency(request, year: int):
|
||||
transactions = (
|
||||
Transaction.objects.filter(**filter_params)
|
||||
.exclude(Q(category__mute=True) & ~Q(category=None))
|
||||
.order_by("account__group__name", "account__name")
|
||||
.order_by("account__currency__name")
|
||||
)
|
||||
|
||||
data = calculate_currency_totals(transactions)
|
||||
|
||||
Reference in New Issue
Block a user