Skip to content

Commit

Permalink
hotfix for checkgin if spm enrollment has valid project type
Browse files Browse the repository at this point in the history
  • Loading branch information
dtgreiner committed Feb 3, 2025
1 parent a65d9cd commit 1de301c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ def title_for(household_category, demographic_category)

# this must be for a PH project, exluding RRH
valid_project_types = HudUtility2024.permanent_housing_project_types - [HudUtility2024.project_type_number('PH - RRH')]
valid_project = valid_project_types.include?(spm_member.enrollment.project.project_type)
valid_project = valid_project_types.include?(spm_member.enrollment&.project&.project_type)

valid_project && valid_move_in && valid_exit
end
Expand Down

0 comments on commit 1de301c

Please sign in to comment.