Class: EducationForm::Forms::VA1990s
- Inherits:
-
Base
- Object
- Base
- EducationForm::Forms::VA1990s
show all
- Defined in:
- app/sidekiq/education_form/forms/va_1990s.rb
Constant Summary
collapse
- LEARNING_FORMAT =
{
'inPerson': 'In person',
'online': 'Online',
'onlineAndInPerson': 'Online and in person'
}.freeze
Constants inherited
from Base
Base::TEMPLATE_PATH
Instance Attribute Summary
Attributes inherited from Base
#form, #record, #text
Instance Method Summary
collapse
Methods inherited from Base
#applicant_name, #applicant_ssn, #benefit_type, build, #direct_deposit_type, #disclosure_for, #employment_history, #format, #full_address, #full_address_with_street3, #full_name, #get_template, #header, #hours_and_type, #initialize, #parse_with_template, #parse_with_template_path, #school, #school_name_and_addr, #ssn_gender_dob, #to_date, #value_or_na, #yesno, #yesno_or_blank
Instance Method Details
#bank_account_number ⇒ Object
25
26
27
|
# File 'app/sidekiq/education_form/forms/va_1990s.rb', line 25
def bank_account_number
@applicant.bankAccount.accountNumber if @applicant.bankAccount&.accountNumber.present?
end
|
#bank_account_type ⇒ Object
29
30
31
|
# File 'app/sidekiq/education_form/forms/va_1990s.rb', line 29
def bank_account_type
@applicant.bankAccount.accountType if @applicant.bankAccount&.accountType.present?
end
|
#bank_routing_number ⇒ Object
21
22
23
|
# File 'app/sidekiq/education_form/forms/va_1990s.rb', line 21
def bank_routing_number
@applicant.bankAccount.routingNumber if @applicant.bankAccount&.routingNumber.present?
end
|
5
6
7
|
# File 'app/sidekiq/education_form/forms/va_1990s.rb', line 5
def
'V1990S'
end
|
#location ⇒ Object
15
16
17
18
19
|
# File 'app/sidekiq/education_form/forms/va_1990s.rb', line 15
def location
return '' if @applicant.providerName.blank?
"#{@applicant.programCity}, #{@applicant.programState}"
end
|
#school_name ⇒ Object
33
34
35
|
# File 'app/sidekiq/education_form/forms/va_1990s.rb', line 33
def school_name
@applicant.providerName
end
|