From e4e12ae0e4cf5d5a1d2bda9640c9d1764d4f19ad Mon Sep 17 00:00:00 2001 From: Ann Mary Jacob <77353155+ann-aot@users.noreply.github.com> Date: Thu, 27 Apr 2023 19:42:52 -0400 Subject: [PATCH] fix (#1909) life time max fix --- .../disbursement-schedule-shared.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/packages/backend/libs/services/src/disbursement-schedule/disbursement-schedule-shared.service.ts b/sources/packages/backend/libs/services/src/disbursement-schedule/disbursement-schedule-shared.service.ts index d9f4dd10dc..6f15f7edc1 100644 --- a/sources/packages/backend/libs/services/src/disbursement-schedule/disbursement-schedule-shared.service.ts +++ b/sources/packages/backend/libs/services/src/disbursement-schedule/disbursement-schedule-shared.service.ts @@ -680,7 +680,7 @@ export class DisbursementScheduleSharedService extends RecordDataModelService { const total = await this.repo .createQueryBuilder("disbursement") - .select("SUM(disbursementValue.valueAmount)") + .select("SUM(disbursementValue.effectiveAmount)") .innerJoin("disbursement.disbursementValues", "disbursementValue") .innerJoin("disbursement.studentAssessment", "studentAssessment") .innerJoin("studentAssessment.application", "application")