metaagent updated
This commit is contained in:
+2
-2
@@ -45,8 +45,8 @@ class ForecastService:
|
||||
expenses += abs(t.amount)
|
||||
|
||||
for r in self.model.recurring:
|
||||
if r.category == "income":
|
||||
income += abs(r.amount)
|
||||
if r.amount > 0:
|
||||
income += r.amount
|
||||
else:
|
||||
expenses += abs(r.amount)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user