Skip to content

Commit

Permalink
fix (#1909)
Browse files Browse the repository at this point in the history
life time max fix
  • Loading branch information
ann-aot authored Apr 27, 2023
1 parent 4fdfa5b commit e4e12ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ export class DisbursementScheduleSharedService extends RecordDataModelService<Di
async totalDisbursedBCSLAmount(studentId: number): Promise<number> {
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")
Expand Down

0 comments on commit e4e12ae

Please sign in to comment.