Fix wrong total values (#10)

This commit is contained in:
Edgar P. Burkhart 2023-05-04 22:00:36 +02:00
parent a5dd41b533
commit 02bd1853d5
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -26,6 +26,6 @@ def category_plot(transactions, **kwargs):
max=Greatest(models.Sum("sum_m"), models.Sum("sum_p")),
total_m=models.Sum("sum_m"),
total_p=models.Sum("sum_p"),
total=models.Sum("value"),
total=models.Sum("sum"),
)
)