From 34bbdf48b7d6e3376d29c5c72b5d1063fca76bd7 Mon Sep 17 00:00:00 2001 From: Jan Bader Date: Fri, 4 Mar 2022 21:13:59 +0000 Subject: [PATCH] Also return income category --- server/budgeting.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/server/budgeting.go b/server/budgeting.go index 01f15d9..bc83a3c 100644 --- a/server/budgeting.go +++ b/server/budgeting.go @@ -174,10 +174,6 @@ func (h *Handler) calculateBalances(budget postgres.Budget, categoryWithBalance := h.CalculateCategoryBalances(cat, cumultativeBalances, firstOfNextMonth, moneyUsed, firstOfMonth, budget) - if cat.ID == budget.IncomeCategoryID { - continue - } - categoriesWithBalance = append(categoriesWithBalance, categoryWithBalance) }