Skip to content

Commit 38275bc

Browse files
authored
Merge pull request #335 from icefoganalytics/test
Update nars-v17-2-reporting-service.ts
2 parents 27acb59 + c92cb7b commit 38275bc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/api/services/admin/nars-v17-2-reporting-service.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,13 +242,12 @@ export class NarsV17_2ReportingService {
242242
if (app.is_csg_only) req_need = 0;
243243
else if (app.is_csl_full_amount) req_need = app.study_weeks * 300; // should be 300 for 2023
244244

245-
console.log(req_need, app.is_csg_only, app.is_csl_full_amount);
246-
247245
let repo = new AssessmentCslftRepositoryV2(db);
248246

249247
const assessment = await db("sfa.assessment").where({ id: app.id }).first();
250248
const a2 = await repo.loadExisting(assessment, appId?.application_id);
251249
let parent_cont = a2?.parent_contribution_override ?? a2?.parent_contribution ?? 0;
250+
tot_ass_res = a2?.total_contribution ?? 0;
252251

253252
let row = new Row();
254253
row.push(new Column("loanyear", `${this.year}${this.year + 1}`, " ", 8));

0 commit comments

Comments
 (0)