feat(insights:category-explorer): allow for uncategorized totals

This commit is contained in:
Herculino Trotta
2025-02-18 20:45:07 -03:00
parent 635628e30e
commit 09e380a480
2 changed files with 5 additions and 4 deletions
+2 -4
View File
@@ -126,7 +126,7 @@ def category_sum_by_account(request):
# Generate data
account_data = get_category_sums_by_account(transactions, category)
else:
account_data = None
account_data = get_category_sums_by_account(transactions, category=None)
return render(
request,
@@ -150,9 +150,7 @@ def category_sum_by_currency(request):
# Generate data
currency_data = get_category_sums_by_currency(transactions, category)
else:
currency_data = None
print(currency_data)
currency_data = get_category_sums_by_currency(transactions, category=None)
return render(
request,