mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-07-16 09:42:42 +02:00
feat: clean up yearly overview by removing 0 values
This commit is contained in:
@@ -139,6 +139,7 @@ def yearly_overview(request, year: int):
|
|||||||
"balance_paid",
|
"balance_paid",
|
||||||
"balance_total",
|
"balance_total",
|
||||||
]:
|
]:
|
||||||
|
if entry[field] != 0:
|
||||||
result[month][field].append(
|
result[month][field].append(
|
||||||
{
|
{
|
||||||
"code": currency_code,
|
"code": currency_code,
|
||||||
|
|||||||
Reference in New Issue
Block a user