From 699da442daafe9a698932bef86e2903c72de10bb Mon Sep 17 00:00:00 2001 From: Alex Phillips Date: Mon, 7 Feb 2022 18:19:45 -0500 Subject: [PATCH] activity is only counted if it's not 'inflow', fixed bug where CC transactions weren't getting handled correctly against the budget month --- .../subscribers/CategoryMonthSubscriber.ts | 7 +++- .../src/subscribers/TransactionSubscriber.ts | 34 ++++++++++--------- 2 files changed, 24 insertions(+), 17 deletions(-) diff --git a/backend/src/subscribers/CategoryMonthSubscriber.ts b/backend/src/subscribers/CategoryMonthSubscriber.ts index 6833930..b73d49b 100644 --- a/backend/src/subscribers/CategoryMonthSubscriber.ts +++ b/backend/src/subscribers/CategoryMonthSubscriber.ts @@ -62,7 +62,12 @@ export class CategoryMonthSubscriber implements EntitySubscriberInterface