Skip to content

Commit 95ae22b

Browse files
committedMar 15, 2016
Replace fee content in marriage abroad outcomes
Remove the `fee_table_affirmation_55`, and add the consular service `Affidavit or affirmation for marriage` to the new `consular_fees_table_items` partial and update the render calls to use the new partial.
1 parent 1192199 commit 95ae22b

7 files changed

+32
-10
lines changed
 

‎lib/smart_answer_flows/marriage-abroad/outcomes/_consular_fees_table_items.govspeak.erb

+2
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,6 @@
99
Issuing any other consular letter or certificate in any other language | £70
1010
<% when :administering_oath_or_making_declaration %>
1111
Administering an oath or making a declaration | £55
12+
<% when :affidavit_or_affirmation_for_marriage %>
13+
Affidavit or affirmation for marriage | £55
1214
<% end %>

‎lib/smart_answer_flows/marriage-abroad/outcomes/_fee_table_affirmation_55.govspeak.erb

-5
This file was deleted.

‎lib/smart_answer_flows/marriage-abroad/outcomes/os_affirmation/_fees.govspeak.erb

+6-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@
1313
Affidavit for marriage | £55
1414

1515
<% elsif %w(belgium ecuador macao morocco norway).include?(calculator.ceremony_country) %>
16-
<%= render partial: 'fee_table_affirmation_55.govspeak.erb' %>
16+
<%= render partial: 'consular_fees_table.govspeak.erb',
17+
locals: {
18+
services: [
19+
:affidavit_or_affirmation_for_marriage,
20+
]
21+
} %>
1722
<% elsif calculator.ceremony_country == 'finland' %>
1823
##Fees
1924

‎lib/smart_answer_flows/marriage-abroad/outcomes/outcome_os_cambodia.govspeak.erb

+6-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,12 @@
5151

5252
You’ll need to take the approval letters to your local Sangkat for the marriage registration.
5353

54-
<%= render partial: 'fee_table_affirmation_55.govspeak.erb' %>
54+
<%= render partial: 'consular_fees_table.govspeak.erb',
55+
locals: {
56+
services: [
57+
:affidavit_or_affirmation_for_marriage,
58+
]
59+
} %>
5560

5661
<%= render partial: 'pay_by_cash_or_us_dollars_only.govspeak.erb' %>
5762

‎lib/smart_answer_flows/marriage-abroad/outcomes/outcome_os_indonesia.govspeak.erb

+6-1
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,10 @@
3737
- a [decree absolute or final order](/copy-decree-absolute-final-order) or [death certificate](/order-copy-birth-death-marriage-certificate/) (if you’ve been divorced or widowed)
3838
- evidence if you’ve changed your name by deed poll
3939

40-
<%= render partial: 'fee_table_affirmation_55.govspeak.erb' %>
40+
<%= render partial: 'consular_fees_table.govspeak.erb',
41+
locals: {
42+
services: [
43+
:affidavit_or_affirmation_for_marriage,
44+
]
45+
} %>
4146
<% end %>

‎lib/smart_answer_flows/marriage-abroad/outcomes/outcome_os_laos.govspeak.erb

+6-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,12 @@
5050
<%= render partial: 'names_on_documents_must_match.govspeak.erb' -%>
5151

5252

53-
<%= render partial: 'fee_table_affirmation_55.govspeak.erb' -%>
53+
<%= render partial: 'consular_fees_table.govspeak.erb',
54+
locals: {
55+
services: [
56+
:affidavit_or_affirmation_for_marriage,
57+
]
58+
} %>
5459

5560

5661
<%= render partial: 'link_to_consular_fees.govspeak.erb',

‎lib/smart_answer_flows/marriage-abroad/outcomes/outcome_ss_affirmation.govspeak.erb

+6-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,12 @@
6868
<%= render partial: 'partner_naturalisation_in_uk.govspeak.erb' %>
6969
<% end %>
7070

71-
<%= render partial: 'fee_table_affirmation_55.govspeak.erb' %>
71+
<%= render partial: 'consular_fees_table.govspeak.erb',
72+
locals: {
73+
services: [
74+
:affidavit_or_affirmation_for_marriage,
75+
]
76+
} %>
7277
<%= render partial: 'link_to_consular_fees.govspeak.erb',
7378
locals: { calculator: calculator } %>
7479

0 commit comments

Comments
 (0)
Please sign in to comment.