Skip to content

Commit

Permalink
Update app/services/can_recruit_with_pending_conditions.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Martinez <[email protected]>
  • Loading branch information
stevehook and carlosmartinez authored Oct 12, 2023
1 parent 14dcf06 commit 1be3d83
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/services/can_recruit_with_pending_conditions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ def offer_has_pending_ske_conditions?
end

def offer_has_no_unmet_non_ske_conditions?
application_choice.offer.conditions.none? do |condition|
!condition.is_a?(SkeCondition) && !condition.met?
end
non_ske_conditions = application_choice.offer.conditions - application_choice.offer.ske_conditions
non_ske_conditions.all?(&:met?)
end

def provider_is_scitt?
Expand Down

0 comments on commit 1be3d83

Please sign in to comment.