-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 1995S form as a copy of 1995 (#3268)
- Loading branch information
Devin McCurdy
authored
Sep 13, 2019
1 parent
b8fdfad
commit c21d5f2
Showing
31 changed files
with
1,210 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# frozen_string_literal: true | ||
|
||
class FormProfiles::VA1995s < FormProfile | ||
def metadata | ||
{ | ||
version: 0, | ||
prefill: true, | ||
returnUrl: '/applicant/information' | ||
} | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
class SavedClaim::EducationBenefits::VA1995s < SavedClaim::EducationBenefits | ||
add_form_and_validation('22-1995S') | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# frozen_string_literal: true | ||
|
||
module EducationForm::Forms | ||
class VA1995s < Base | ||
def school | ||
@applicant.newSchool | ||
end | ||
|
||
def form_type | ||
'CH33' | ||
end | ||
|
||
def form_benefit | ||
'STEM' | ||
end | ||
|
||
def header_form_type | ||
'STEM1995' | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
<%= header %> | ||
CH33 | ||
*START* | ||
VA Form 22-1995 | ||
DEC 2016 | ||
|
||
|
||
REQUEST FOR CHANGE OF PROGRAM OR PLACE OF TRAINING | ||
FOR VETERANS, SERVICEPERSONS & MEMBERS OF THE SELECTED RESERVE | ||
------------------------------------- | ||
|
||
APPLICANT INFORMATION | ||
--------------------- | ||
|
||
SSN: <%= value_or_na(@applicant.veteranSocialSecurityNumber) %> VA File Number: <%= value_or_na(@applicant.vaFileNumber) %> | ||
|
||
Name: <%= full_name(@applicant.veteranFullName) %> | ||
|
||
Address: | ||
<%= full_address(@applicant.veteranAddress) %> | ||
|
||
<%= parse_with_template_path('phone_numbers') %> | ||
|
||
Email Address: <%= @applicant.email %> | ||
Preferred Method of Contact: <%= @applicant.preferredContactMethod %> | ||
|
||
<%= parse_with_template_path('bank_account') %> | ||
|
||
TYPE AND PROGRAM OF EDUCATION OR TRAINING | ||
----------------------------------------- | ||
|
||
Benefit You Are Receiving: STEM | ||
Are you applying for the Edith Nourse Rogers STEM Scholarship | ||
(Chapter 33)?: <%= yesno(@applicant.isEdithNourseRogersScholarship) %> | ||
Are you enrolled in an undergraduate STEM degree program?: <%= yesno(@applicant.isEnrolledStem) %> | ||
Do you have a STEM undergraduate degree and are now pursuing a | ||
teaching certification?: <%= yesno(@applicant.isPursuingTeachingCert) %> | ||
|
||
Type of Education or Training: <%= @applicant.educationType&.titleize %> | ||
Education or Career Goal: <%= @applicant.educationObjective %> | ||
|
||
New School or Training Establishment: | ||
<%= school_name_and_addr(@applicant.newSchool) %> | ||
|
||
Current/Prior School or Training Establishment: | ||
<%= school_name_and_addr(@applicant.oldSchool) %> | ||
|
||
Date You Stopped Training: <%= @applicant.trainingEndDate %> | ||
Reason for Change: <%= @applicant.reasonForChange %> | ||
|
||
|
||
ACTIVE DUTY SERVICE INFORMATION | ||
------------------------------- | ||
|
||
Are you currently on active duty or do you anticipate you will | ||
be going on active duty?: <%= yesno(@applicant.isActiveDuty) %> | ||
|
||
Date Entered Date Separated Service Component | ||
<% @applicant&.toursOfDuty&.each do |tour| -%> | ||
<%= to_date(tour.dateRange&.from) %> <%= to_date(tour.dateRange&.to) %> <%= tour.serviceBranch %> | ||
<% end %> | ||
|
||
|
||
ENTITLEMENT TO AND USAGE OF ADDITIONAL TYPES OF ASSISTANCE | ||
---------------------------------------------------------- | ||
|
||
For Active Duty Claimants Only. Are you receiving or do you anticipate receiving any money (including but not limited to Federal Tuition Assistance) from the Armed Forces or Public Health Service for the course for which you have applied to the VA for Education Benefits? If you receive such benefits during any part of your training, check 'Yes.' Note: If you are only applying for Tuition Assistance Top-Up, check 'No' to this item. <%= yesno(@applicant.nonVaAssistance) %> | ||
|
||
For Civilian Employees of the U.S. Federal Government Only. Are you receiving or do you anticipate receiving any money from your agency (including but not limited to the Government Employees Training Act) for the same period for which you have applied to the VA for Education Benefits? If you will receive such benefits during any part of your training, check Yes. <%= yesno(@applicant.civilianBenefitsAssistance) %> | ||
|
||
|
||
MARITAL AND DEPENDENCY STATUS | ||
(For Applicants with Military Service Before Jan 1, 1977) | ||
--------------------------------------------------------- | ||
|
||
|
||
<% if @applicant.serviceBefore1977 -%> | ||
Married: <%= yesno(@applicant.serviceBefore1977.married) %> | ||
Has Dependents: <%= yesno(@applicant.serviceBefore1977.haveDependents) %> | ||
Parent Dependent: <%= yesno(@applicant.serviceBefore1977.parentDependent) %> | ||
<% else -%> | ||
N/A | ||
<% end -%> | ||
|
||
|
||
Certification and Signature of Applicant | ||
Signature of Applicant Date | ||
|
||
Certification for Persons on Active Duty | ||
Signature/Title/Branch of Armed Forces Education Service Officer Date | ||
|
||
<%= parse_with_template_path('footer') %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
veteranFullName: [identity_information, full_name] | ||
veteranSocialSecurityNumber: [identity_information, ssn] | ||
homePhone: [contact_information, us_phone] | ||
veteranAddress: [contact_information, address] | ||
email: [contact_information, email] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# frozen_string_literal: true | ||
|
||
FactoryBot.define do | ||
factory :va1995s, class: SavedClaim::EducationBenefits::VA1995s, parent: :education_benefits do | ||
form({ | ||
veteranFullName: { | ||
first: 'Mark', | ||
last: 'Olson' | ||
}, | ||
veteranSocialSecurityNumber: '111223334', | ||
benefit: 'transferOfEntitlement', | ||
isEdithNourseRogersScholarship: true, | ||
privacyAgreementAccepted: true | ||
}.to_json) | ||
|
||
factory :va1995s_full_form do | ||
form(File.read(Rails.root.join('spec', 'fixtures', 'education_benefits_claims', '1995s', 'kitchen_sink.json'))) | ||
end | ||
end | ||
end |
76 changes: 76 additions & 0 deletions
76
spec/fixtures/education_benefits_claims/1995s/kitchen_sink.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{ | ||
"veteranFullName": { | ||
"first": "first", | ||
"middle": "middle", | ||
"last": "last" | ||
}, | ||
"veteranSocialSecurityNumber": "111223333", | ||
"newSchool": { | ||
"name": "Test School Name", | ||
"address": { | ||
"city": "Milwaukee", | ||
"country": "USA", | ||
"postalCode": "53135", | ||
"state": "WI", | ||
"street": "111 Uni Drive" | ||
} | ||
}, | ||
"oldSchool": { | ||
"name": "old school name", | ||
"address": { | ||
"city": "Anytown", | ||
"country": "USA", | ||
"postalCode": "41414", | ||
"state": "MA", | ||
"street": "2222 Uni Drive" | ||
} | ||
}, | ||
"preferredContactMethod": "email", | ||
"trainingEndDate": "2007-06-XX", | ||
"reasonForChange": "reason for change", | ||
"vaFileNumber": "c12345678", | ||
"homePhone": "5551110000", | ||
"mobilePhone": "5551110001", | ||
"veteranAddress": { | ||
"city": "Milwaukee", | ||
"country": "USA", | ||
"postalCode": "53130", | ||
"state": "WI", | ||
"street": "123 Main St" | ||
}, | ||
"civilianBenefitsAssistance": true, | ||
"email": "[email protected]", | ||
"benefit": "chapter33", | ||
"educationType": "tuitionTopUp", | ||
"educationObjective": "bachelor's degree", | ||
"bankAccountChange": "startUpdate", | ||
"bankAccount": { | ||
"accountNumber": "88888888888", | ||
"accountType": "checking", | ||
"bankName": "First Bank of JSON", | ||
"routingNumber": "123456789" | ||
}, | ||
"serviceBefore1977": { | ||
"haveDependents": true, | ||
"married": true, | ||
"parentDependent": false | ||
}, | ||
"toursOfDuty": [{ | ||
"dateRange": { | ||
"from": "2012-06-26", | ||
"to": "2013-04-10" | ||
}, | ||
"serviceBranch": "Army Reserve" | ||
}, { | ||
"dateRange": { | ||
"from": "2013-04-22", | ||
"to": "2013-06-14" | ||
}, | ||
"serviceBranch": "navy" | ||
}], | ||
"nonVaAssistance": true, | ||
"remarks": "remarks", | ||
"programName": "program name", | ||
"isEdithNourseRogersScholarship": true, | ||
"privacyAgreementAccepted": true | ||
} |
Oops, something went wrong.