Skip to content

Commit

Permalink
Remove tasks for FE claims
Browse files Browse the repository at this point in the history
The task list in figma doesn't include qualifications or census subject
for FE claims.
  • Loading branch information
rjlynch committed Sep 6, 2024
1 parent e7c4732 commit b024e82
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 4 additions & 1 deletion app/models/claim_checking_tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ def applicable_task_names
task_names.delete("subject")
task_names.delete("teaching_hours")
end
unless claim.policy.further_education_payments?
if claim.policy.further_education_payments?
task_names.delete("qualifications")
task_names.delete("census_subjects_taught")
else
task_names.delete("provider_verification")
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ def provider_verification_submitted?
claim.eligibility.verification.present?
end

# FIXME RL - temp stub so the provider verification task can be completed
def qualifications
# FIMXE: Temp stubbed so being redirected to the next task doesn't error
# in our tests.
def employment
[]
end

Expand Down

0 comments on commit b024e82

Please sign in to comment.