mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-04-24 17:48:41 +02:00
fix: wrong calculations
This commit is contained in:
@@ -15,8 +15,10 @@ from apps.transactions.utils.calculations import (
|
||||
|
||||
|
||||
def net_worth_main(request):
|
||||
transactions_queryset = Transaction.objects.filter(is_paid=True).order_by(
|
||||
"account__group",
|
||||
transactions_queryset = Transaction.objects.filter(
|
||||
is_paid=True, account__is_archived=False
|
||||
).order_by(
|
||||
"account__group__name",
|
||||
"account__name",
|
||||
)
|
||||
currency_net_worth = calculate_currency_totals(
|
||||
|
||||
Reference in New Issue
Block a user