app/workers/education_form/process10203_submissions.rb
# If the user doesn't have EVSS data mark the 10203 as PROCESSED
# Set status to DENIED when EVSS data for a user shows there is more than 6 months of remaining_entitlement
#
# This is only checking EVSS data until form questions that affect setting to DENIED have been reviewed
If the user doesn't have EVSS data mark the 10203 as PROCESSED
Set status to DENIED when EVSS data for a user shows there is more than 6 months of remaining_entitlement

This is only checking EVSS data until form questions that affect setting to DENIED have been reviewed
If the user doesn ' t have EVSS data mark the 10203 as PROCESSED Set status to DENIED when EVSS data for a user shows there is more than 6 months of remaining_entitlement This is only checking EVSS data until form questions that affect setting to DENIED have been reviewed
def process_submission(submission, user_has_poa)
      status = if more_than_six_months?(submission.education_stem_automated_decision&.remaining_entitlement)
                 EducationStemAutomatedDecision::DENIED
               else
                 EducationStemAutomatedDecision::PROCESSED
               end
      update_automated_decision(submission, status, user_has_poa)
    end
def process_submission ( submission , user_has_poa ) status = if more_than_six_months? ( submission . education_stem_automated_decision &. remaining_entitlement ) EducationStemAutomatedDecision :: DENIED else EducationStemAutomatedDecision :: PROCESSED end update_automated_decision ( submission , status , user_has_poa ) end
If the user doesn't have EVSS data mark the 10203 as PROCESSED
Set status to DENIED when EVSS data for a user shows there is more than 6 months of remaining_entitlement
If the user doesn ' t have EVSS data mark the 10203 as PROCESSED Set status to DENIED when EVSS data for a user shows there is more than 6 months of remaining_entitlement
submission
user_has_poa