fix: get correct total budget data

This commit is contained in:
khushi8112
2026-01-06 00:40:32 +05:30
parent 244319bf1d
commit 53b13501a9

View File

@@ -197,15 +197,15 @@ def get_data_from_budget_map(budget_map, filters):
"account": account,
}
running_budget = 0
running_actual = 0
total_budget = 0
total_actual = 0
for fy in fiscal_years:
fy_name = fy[0]
running_budget = 0
running_actual = 0
total_budget = 0
total_actual = 0
for from_date, to_date in get_period_date_ranges(filters["period"], fy_name):
months = get_months_between(from_date, to_date)