Income accounts in budgets work with a reversed sign, but this was not considered in the aggregation of child accounts.
The recurring check account.getAccountType() == AccountType.INCOME should probably be factored out into its own method, but I was not sure where to put it. It is used in BudgetResultsModel.java and BudgetFactory.java.
Income accounts in budgets work with a reversed sign, but this was not considered in the aggregation of child accounts.
The recurring check
account.getAccountType() == AccountType.INCOME
should probably be factored out into its own method, but I was not sure where to put it. It is used inBudgetResultsModel.java
andBudgetFactory.java
.