Skip to content

Commit

Permalink
#4223 - Student Bridge Match - PPD Status Not Importing (#4230)
Browse files Browse the repository at this point in the history
### As a part of this PR, the following was fixed:

**Issue:** When a student creates a profile in SIMS and they have PPD =
true in a matching `sfas_individuals` record, their
`students.disability_status` status is `Not requested`.

**Fix:** The query retrieving the `sfas_individual` for a matching SIMS
record was not returning the individual's `ppdStatus` and the
`ppdStatusDate`. Added it to fix the issue.

**Fix Screenshot:**

<img width="1729" alt="image"
src="https://github.com/user-attachments/assets/80e5165f-0097-4777-ace1-363819e4cff9"
/>


---------------------------------------------------------------------------------------------------------

<img width="1727" alt="image"
src="https://github.com/user-attachments/assets/5c996748-53ba-4ae3-ab7c-2e58b63541b4"
/>
  • Loading branch information
sh16011993 authored Jan 14, 2025
1 parent a597dee commit ffb5aa5
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ export class SFASIndividualService {
): Promise<SFASIndividual> {
const individual = await this.sfasIndividualRepo
.createQueryBuilder("individual")
.select(["individual.id", "individual.pdStatus"])
.select([
"individual.id",
"individual.pdStatus",
"individual.ppdStatus",
"individual.ppdStatusDate",
])
.where("lower(individual.lastName) = :lastName", {
lastName: lastName.toLowerCase(),
})
Expand Down

0 comments on commit ffb5aa5

Please sign in to comment.