Skip to content

Commit 863d247

Browse files
authored
Merge pull request #2611 from alphagov/student-finance-form-new-outcome
Loan Grant Logic, Content & Links Changes affecting UK and EU part time students
2 parents 6d36779 + 5e6a7d6 commit 863d247

12 files changed

+136
-25
lines changed

lib/smart_answer_flows/student-finance-forms.rb

+8-2
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,12 @@ def define
245245
when 'year-1617'
246246
case response
247247
when 'course-start-before-01092012'
248-
outcome :outcome_uk_pt_1617_grant
248+
case continuing_student
249+
when 'continuing-student'
250+
outcome :outcome_uk_pt_1617_grant_continuing
251+
when 'new-student'
252+
outcome :outcome_uk_pt_1617_grant_new
253+
end
249254
when 'course-start-after-01092012'
250255
case continuing_student
251256
when 'continuing-student'
@@ -280,7 +285,8 @@ def define
280285
outcome :outcome_proof_identity_1617
281286
outcome :outcome_travel
282287
outcome :outcome_uk_pt_1617_continuing
283-
outcome :outcome_uk_pt_1617_grant
288+
outcome :outcome_uk_pt_1617_grant_continuing
289+
outcome :outcome_uk_pt_1617_grant_new
284290
outcome :outcome_uk_pt_1617_new
285291
outcome :outcome_uk_ft_1516_continuing
286292
outcome :outcome_uk_ft_1516_new
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<% content_for :body do %>
2+
3+
You can apply up to 9 months after your course starts.
4+
5+
## You or your partner get benefits
6+
7+
You need to download and fill in [form CB1 (PDF, 462KB)](http://media.slc.co.uk/sfe/1617/pt/sfe_pt_cb1_form_1617_d.pdf) if you or your partner gets:
8+
9+
- Universal Credit
10+
- Income Support
11+
- Income-based Jobseeker’s Allowance (JSA)
12+
- Income-related Employment Support Allowance (ESA)
13+
- Housing Benefit
14+
- Local Housing Allowance
15+
16+
## Your circumstances have changed
17+
18+
You need to download and fill in [form CO2 (PDF, 472KB)](http://media.slc.co.uk/sfe/1617/pt/sfe_pt_co2_form_1617_d.pdf) if you’ve changed:
19+
20+
- your course, or left it
21+
- university or college
22+
- your name, address or contact details
23+
24+
<% end %>

lib/smart_answer_flows/student-finance-forms/outcomes/outcome_eu_pt_1617_continuing.govspeak.erb

+5-3
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,16 @@
1010
2016 to 2017 | [EUPTLC - form (PDF, 613KB)](http://media.slc.co.uk/sfe/1617/eu/eu_ptlc_form_1617_d.pdf)
1111
2016 to 2017 | [EUPTLC - guidance notes (PDF, 96KB)](http://media.slc.co.uk/sfe/1617/eu/eu_ptlc_notes_1617_d.pdf)
1212

13-
If you started your course before 1 September 2012 you may be eligible for a Tuition Fee Grant. The application forms will be available later in the summer.
13+
If you started your course before 1 September 2012 you may be eligible for a Tuition Fee Grant.
1414

15+
**Academic year** | **Form** |-
16+
2016 to 2017 | [EUPTG1 - form (PDF, 747KB)](http://media.slc.co.uk/sfe/1617/eu/eu_ptg1_form_1617_d.pdf)
17+
2016 to 2017 | [EUPTG1 - guidance notes (PDF, 466KB)](http://media.slc.co.uk/sfe/1617/eu/eu_ptg1_notes_1617_d.pdf)
1518

1619
##Additional information
17-
1820
You may need to include additional information on the following forms.
1921

20-
Form | When to use the form
22+
**Form** | **When to use the form**
2123
- | -
2224
[EUTFLR - form (PDF, 441KB)](http://media.slc.co.uk/sfe/1617/eu/eu_tuition_fee_loan_request_form_d.pdf) | To change the amount of loan you want to apply for
2325
[Evidence factsheet (PDF, 82KB)](http://media.slc.co.uk/sfe/1617/eu/eu_evidence_fs_1617_d.pdf) | List of evidence to send with your application, eg proof of identity or income

lib/smart_answer_flows/student-finance-forms/outcomes/outcome_uk_pt_1617_grant.govspeak.erb

-5
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<% content_for :title do %>
2+
Student finance - application form
3+
<% end %>
4+
5+
<% content_for :body do %>
6+
7+
To apply for a Fee Grant and Course Grant download and fill in form PTGC.
8+
9+
**Academic year** | **Form**
10+
2016 to 2017 | [PTGC - form (PDF, 185KB)](http://media.slc.co.uk/sfe/1617/pt/sfe_ptgc_form_1617_d.pdf)
11+
2016 to 2017 | [PTGC - guidance notes (PDF, 599KB)](http://media.slc.co.uk/sfe/1617/pt/sfe_ptgc_notes_1617_d.pdf)
12+
13+
<% end %>
14+
15+
<%= render partial: 'uk_pt_1617_grant.govspeak.erb' %>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<% content_for :title do %>
2+
Student finance - application form
3+
<% end %>
4+
5+
<% content_for :body do %>
6+
7+
To apply for a Fee Grant and Course Grant download and fill in form PTGN.
8+
9+
**Academic year** | **Form**
10+
2016 to 2017 | [PTGN - form (PDF, 280KB)](http://media.slc.co.uk/sfe/1617/pt/sfe_ptgn_form_1617_d.pdf)
11+
2016 to 2017 | [PTGN - guidance notes (PDF, 609KB)](http://media.slc.co.uk/sfe/1617/pt/sfe_ptgn_notes_1617_d.pdf)
12+
<% end %>
13+
14+
<%= render partial: 'uk_pt_1617_grant.govspeak.erb' %>

test/artefacts/student-finance-forms/eu-part-time/year-1617/continuing-student.txt

+6-3
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,16 @@ If you started your course on or after 1 September 2012 you may be eligible for
77
2016 to 2017 | [EUPTLC - form (PDF, 613KB)](http://media.slc.co.uk/sfe/1617/eu/eu_ptlc_form_1617_d.pdf)
88
2016 to 2017 | [EUPTLC - guidance notes (PDF, 96KB)](http://media.slc.co.uk/sfe/1617/eu/eu_ptlc_notes_1617_d.pdf)
99

10-
If you started your course before 1 September 2012 you may be eligible for a Tuition Fee Grant. The application forms will be available later in the summer.
10+
If you started your course before 1 September 2012 you may be eligible for a Tuition Fee Grant.
1111

12-
##Additional information
12+
**Academic year** | **Form** |-
13+
2016 to 2017 | [EUPTG1 - form (PDF, 747KB)](http://media.slc.co.uk/sfe/1617/eu/eu_ptg1_form_1617_d.pdf)
14+
2016 to 2017 | [EUPTG1 - guidance notes (PDF, 466KB)](http://media.slc.co.uk/sfe/1617/eu/eu_ptg1_notes_1617_d.pdf)
1315

16+
##Additional information
1417
You may need to include additional information on the following forms.
1518

16-
Form | When to use the form
19+
**Form** | **When to use the form**
1720
- | -
1821
[EUTFLR - form (PDF, 441KB)](http://media.slc.co.uk/sfe/1617/eu/eu_tuition_fee_loan_request_form_d.pdf) | To change the amount of loan you want to apply for
1922
[Evidence factsheet (PDF, 82KB)](http://media.slc.co.uk/sfe/1617/eu/eu_evidence_fs_1617_d.pdf) | List of evidence to send with your application, eg proof of identity or income
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,32 @@
1+
Student finance - application form
12

23

4+
To apply for a Fee Grant and Course Grant download and fill in form PTGC.
35

4-
The forms to apply for a Fee Grant and Course Grant will be available later in the summer.
6+
**Academic year** | **Form**
7+
2016 to 2017 | [PTGC - form (PDF, 185KB)](http://media.slc.co.uk/sfe/1617/pt/sfe_ptgc_form_1617_d.pdf)
8+
2016 to 2017 | [PTGC - guidance notes (PDF, 599KB)](http://media.slc.co.uk/sfe/1617/pt/sfe_ptgc_notes_1617_d.pdf)
9+
10+
You can apply up to 9 months after your course starts.
11+
12+
## You or your partner get benefits
13+
14+
You need to download and fill in [form CB1 (PDF, 462KB)](http://media.slc.co.uk/sfe/1617/pt/sfe_pt_cb1_form_1617_d.pdf) if you or your partner gets:
15+
16+
- Universal Credit
17+
- Income Support
18+
- Income-based Jobseeker’s Allowance (JSA)
19+
- Income-related Employment Support Allowance (ESA)
20+
- Housing Benefit
21+
- Local Housing Allowance
22+
23+
## Your circumstances have changed
24+
25+
You need to download and fill in [form CO2 (PDF, 472KB)](http://media.slc.co.uk/sfe/1617/pt/sfe_pt_co2_form_1617_d.pdf) if you’ve changed:
26+
27+
- your course, or left it
28+
- university or college
29+
- your name, address or contact details
530

631

732

Original file line numberDiff line numberDiff line change
@@ -1,7 +1,32 @@
1+
Student finance - application form
12

23

4+
To apply for a Fee Grant and Course Grant download and fill in form PTGN.
35

4-
The forms to apply for a Fee Grant and Course Grant will be available later in the summer.
6+
**Academic year** | **Form**
7+
2016 to 2017 | [PTGN - form (PDF, 280KB)](http://media.slc.co.uk/sfe/1617/pt/sfe_ptgn_form_1617_d.pdf)
8+
2016 to 2017 | [PTGN - guidance notes (PDF, 609KB)](http://media.slc.co.uk/sfe/1617/pt/sfe_ptgn_notes_1617_d.pdf)
9+
10+
You can apply up to 9 months after your course starts.
11+
12+
## You or your partner get benefits
13+
14+
You need to download and fill in [form CB1 (PDF, 462KB)](http://media.slc.co.uk/sfe/1617/pt/sfe_pt_cb1_form_1617_d.pdf) if you or your partner gets:
15+
16+
- Universal Credit
17+
- Income Support
18+
- Income-based Jobseeker’s Allowance (JSA)
19+
- Income-related Employment Support Allowance (ESA)
20+
- Housing Benefit
21+
- Local Housing Allowance
22+
23+
## Your circumstances have changed
24+
25+
You need to download and fill in [form CO2 (PDF, 472KB)](http://media.slc.co.uk/sfe/1617/pt/sfe_pt_co2_form_1617_d.pdf) if you’ve changed:
26+
27+
- your course, or left it
28+
- university or college
29+
- your name, address or contact details
530

631

732

test/data/student-finance-forms-files.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
2-
lib/smart_answer_flows/student-finance-forms.rb: e2bdc0683b57d709bf3fbf571e158d4a
2+
lib/smart_answer_flows/student-finance-forms.rb: 54d798fccd0bbf3cb11f950693549580
33
test/data/student-finance-forms-questions-and-responses.yml: 221dff2fa2821ce3fd5bc724d3ca7dd4
4-
test/data/student-finance-forms-responses-and-expected-results.yml: 9f7888f42cdca5f3da89a6de02b84e34
4+
test/data/student-finance-forms-responses-and-expected-results.yml: 6b5c09bef9fd9a9d905ff716101acb03
55
lib/smart_answer_flows/student-finance-forms/outcomes/_circumstances_changed_co2_form.govspeak.erb: 236d81f3660a1958bb0dd3a8f229baf4
6+
lib/smart_answer_flows/student-finance-forms/outcomes/_uk_pt_1617_grant.govspeak.erb: 9325a15dc30fef3e934c34be055097ad
67
lib/smart_answer_flows/student-finance-forms/outcomes/_when_you_can_apply.govspeak.erb: c3459b01f8733370279520306716f895
78
lib/smart_answer_flows/student-finance-forms/outcomes/_where_to_send_your_forms_non_uk.govspeak.erb: 7cc0f616b4df674cd314ba6ffc0a675b
89
lib/smart_answer_flows/student-finance-forms/outcomes/_where_to_send_your_forms_uk.govspeak.erb: e32479a47518d9f72b5786d00bbf8ca7
@@ -20,7 +21,7 @@ lib/smart_answer_flows/student-finance-forms/outcomes/outcome_eu_ft_1617_continu
2021
lib/smart_answer_flows/student-finance-forms/outcomes/outcome_eu_ft_1617_new.govspeak.erb: de40ad74ec044a07a702c9a4a72447a3
2122
lib/smart_answer_flows/student-finance-forms/outcomes/outcome_eu_pt_1516_continuing.govspeak.erb: 07189e16f1f8d4940fe6a778230ee479
2223
lib/smart_answer_flows/student-finance-forms/outcomes/outcome_eu_pt_1516_new.govspeak.erb: 02a6092382484da065e75e31194582b0
23-
lib/smart_answer_flows/student-finance-forms/outcomes/outcome_eu_pt_1617_continuing.govspeak.erb: e071401ec68ebe388556087dd0938bfb
24+
lib/smart_answer_flows/student-finance-forms/outcomes/outcome_eu_pt_1617_continuing.govspeak.erb: f2613a4435a7694756baad1b104d4f2e
2425
lib/smart_answer_flows/student-finance-forms/outcomes/outcome_eu_pt_1617_new.govspeak.erb: 320fa759eec25e2330a0581e84b27c2c
2526
lib/smart_answer_flows/student-finance-forms/outcomes/outcome_parent_partner_1516.govspeak.erb: 27880afc7ba3477ed3ee6c9a1e4c4182
2627
lib/smart_answer_flows/student-finance-forms/outcomes/outcome_parent_partner_1617.govspeak.erb: 41fea6bde7503488a9ee3e88fb3bbd90
@@ -34,7 +35,8 @@ lib/smart_answer_flows/student-finance-forms/outcomes/outcome_uk_ft_1617_new.gov
3435
lib/smart_answer_flows/student-finance-forms/outcomes/outcome_uk_pt_1516_continuing.govspeak.erb: c05b8ffbe69a266baeabf8e5f21e5a82
3536
lib/smart_answer_flows/student-finance-forms/outcomes/outcome_uk_pt_1516_new.govspeak.erb: eb4b7d72d488a1bef19c4a38fba2699a
3637
lib/smart_answer_flows/student-finance-forms/outcomes/outcome_uk_pt_1617_continuing.govspeak.erb: dc1540087c19c54be6180d0652922571
37-
lib/smart_answer_flows/student-finance-forms/outcomes/outcome_uk_pt_1617_grant.govspeak.erb: 913f0492262bd257f3f973342f1f6b56
38+
lib/smart_answer_flows/student-finance-forms/outcomes/outcome_uk_pt_1617_grant_continuing.govspeak.erb: fc3eda325266715d172ec0a7cd9fdbc0
39+
lib/smart_answer_flows/student-finance-forms/outcomes/outcome_uk_pt_1617_grant_new.govspeak.erb: 1794d81c3f1eb1ebf9ace499b6dd7228
3840
lib/smart_answer_flows/student-finance-forms/outcomes/outcome_uk_pt_1617_new.govspeak.erb: 44392e71e2ffe85dbb0b9522c60cda47
3941
lib/smart_answer_flows/student-finance-forms/outcomes/outcome_uk_ptgc_1516_grant.govspeak.erb: 87f7baad96e7af2774f38cad15a999bd
4042
lib/smart_answer_flows/student-finance-forms/outcomes/outcome_uk_ptgn_1516_grant.govspeak.erb: 484d5ba98b10f9dbf62e0d67b81d2b89

test/data/student-finance-forms-responses-and-expected-results.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
- year-1617
188188
- continuing-student
189189
- course-start-before-01092012
190-
:next_node: :outcome_uk_pt_1617_grant
190+
:next_node: :outcome_uk_pt_1617_grant_continuing
191191
:outcome_node: true
192192
- :current_node: :pt_course_start?
193193
:responses:
@@ -213,7 +213,7 @@
213213
- year-1617
214214
- new-student
215215
- course-start-before-01092012
216-
:next_node: :outcome_uk_pt_1617_grant
216+
:next_node: :outcome_uk_pt_1617_grant_new
217217
:outcome_node: true
218218
- :current_node: :pt_course_start?
219219
:responses:

test/integration/smart_answer_flows/student_finance_forms_test.rb

+4-4
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ class StudentFinanceFormsTest < ActiveSupport::TestCase
226226
assert_current_node :outcome_ccg_expenses
227227
end
228228

229-
should "lead to outcome_uk_pt_1617_grant for continuing students" do
229+
should "lead to outcome_uk_pt_1617_grant_continuing for continuing students" do
230230
add_response 'uk-part-time'
231231
assert_current_node :form_needed_for_2?
232232
add_response 'apply-loans-grants'
@@ -236,7 +236,7 @@ class StudentFinanceFormsTest < ActiveSupport::TestCase
236236
add_response 'continuing-student'
237237
assert_current_node :pt_course_start?
238238
add_response 'course-start-before-01092012'
239-
assert_current_node :outcome_uk_pt_1617_grant
239+
assert_current_node :outcome_uk_pt_1617_grant_continuing
240240
end
241241

242242
should "lead to outcome_uk_pt_1617_continuing" do
@@ -252,7 +252,7 @@ class StudentFinanceFormsTest < ActiveSupport::TestCase
252252
assert_current_node :outcome_uk_pt_1617_continuing
253253
end
254254

255-
should "lead to outcome_uk_pt_1617_grant for new students" do
255+
should "lead to outcome_uk_pt_1617_grant_new for new students" do
256256
add_response 'uk-part-time'
257257
assert_current_node :form_needed_for_2?
258258
add_response 'apply-loans-grants'
@@ -262,7 +262,7 @@ class StudentFinanceFormsTest < ActiveSupport::TestCase
262262
add_response 'new-student'
263263
assert_current_node :pt_course_start?
264264
add_response 'course-start-before-01092012'
265-
assert_current_node :outcome_uk_pt_1617_grant
265+
assert_current_node :outcome_uk_pt_1617_grant_new
266266
end
267267

268268
should "lead to outcome_uk_pt_1617_new" do

0 commit comments

Comments
 (0)