Use only budgeted categories in history plot

This commit is contained in:
Edgar P. Burkhart 2025-01-03 13:05:46 +01:00
parent 2cba5c6d83
commit 26f97dd179
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -11,7 +11,7 @@ register = template.Library()
@register.inclusion_tag("history/plot.html")
def history_plot(transactions, **kwargs):
return kwargs | {
"history": history(transactions),
"history": history(transactions.exclude(category__budget=False)),
}