Skip to content

Commit a75e93f

Browse files
committed
App status to handle cancelled
1 parent 08a1e97 commit a75e93f

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)