Skip to content

Commit 3eadddc

Browse files
authored
Merge pull request #388 from icefoganalytics/test
App status to handle cancelled
2 parents 6cb7ac9 + a75e93f commit 3eadddc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ export class NarsV17_2ReportingService {
141141
let date_left_high_school = moment(
142142
`${app.high_school_left_year}-${`${app.high_school_left_month ?? 6}`.padStart(2, "0")}-01`
143143
).format("YYYYMMDD");
144-
let app_status = [7, 40].includes(app.funding_request_status_id)
144+
let app_status = [7, 40].includes(app.funding_request_status_id) // Awarded or CSG Only
145145
? "A"
146-
: app.funding_request_status_id == 4
146+
: [4, 5].includes(app.funding_request_status_id) // Rejected or Cancelled
147147
? "R"
148148
: "P";
149149

0 commit comments

Comments
 (0)