diff --git a/edivorce/apps/core/templates/partials/fact_sheets/fact_sheet_b.html b/edivorce/apps/core/templates/partials/fact_sheets/fact_sheet_b.html index 3a052990..3af4cec1 100644 --- a/edivorce/apps/core/templates/partials/fact_sheets/fact_sheet_b.html +++ b/edivorce/apps/core/templates/partials/fact_sheets/fact_sheet_b.html @@ -8,14 +8,15 @@ existing Court Order.
This information is needed for the Judge. You will be able to indicate a different child support amount in a following step.

-
-

Number of children{% if number_of_children_error %}{% include 'partials/required.html' %}{% endif %}

+
+

Number of children

- This is the number of children for which you and your spouse have a shared parenting arrangement - (the child spends at least 40 percent of the time with each of you in a year). If you and your spouse - have a split parenting arrangement for any other children, do not include them in this set of questions. + This is the number of children, as indicated in the Children details page, that you + and your spouse have a shared parenting arrangement (the child spends at least 40 percent of the + time with each of you in a year). If you and your spouse have a split parenting arrangement for any other children, + they are not included in this set of questions.

- {% input_field type="number" name="number_of_children" class="form-control input-narrow positive-integer" min="0" %} + {% input_field type="number" name="number_of_children" value=derived.number_of_children class="form-control input-narrow positive-integer" readonly="" %}

diff --git a/edivorce/apps/core/templates/partials/fact_sheets/fact_sheet_c.html b/edivorce/apps/core/templates/partials/fact_sheets/fact_sheet_c.html index 141b8831..7e57ebed 100644 --- a/edivorce/apps/core/templates/partials/fact_sheets/fact_sheet_c.html +++ b/edivorce/apps/core/templates/partials/fact_sheets/fact_sheet_c.html @@ -8,24 +8,15 @@ you must complete Fact Sheet C. This information is needed for the Judge. You will be able to indicate a different child support amount in a following step.

- {% if derived.show_fact_sheet_b and derived.show_fact_sheet_c %} -
-

- Do not include any children that are SHARED on fact sheet B. You may indicate 0 (zero) children for 1 of the parents in Fact - Sheet C and insert 0 (zero) dollars for child support amount. -

-
- {% endif %} - @@ -77,13 +68,11 @@ - diff --git a/edivorce/apps/core/templates/pdf/partials/fact_sheet_b.html b/edivorce/apps/core/templates/pdf/partials/fact_sheet_b.html index 1d1b874c..6c7b32d5 100644 --- a/edivorce/apps/core/templates/pdf/partials/fact_sheet_b.html +++ b/edivorce/apps/core/templates/pdf/partials/fact_sheet_b.html @@ -13,7 +13,7 @@ - + diff --git a/edivorce/apps/core/templates/pdf/partials/fact_sheet_c.html b/edivorce/apps/core/templates/pdf/partials/fact_sheet_c.html index 40fbdc74..d8e7cd39 100644 --- a/edivorce/apps/core/templates/pdf/partials/fact_sheet_c.html +++ b/edivorce/apps/core/templates/pdf/partials/fact_sheet_c.html @@ -17,7 +17,7 @@ @@ -31,7 +31,7 @@ @@ -55,7 +55,7 @@
- How many children spend more than 60 percent of their time with you and for whom you are asking for support? + The number of children that spend more than 60 percent of their time with you and for whom you are asking for support, + as indicated in the Children details page -
- {% input_field type="number" name="number_of_children_claimant" class="positive-integer fact-sheet-input number-spinner" min="0" placeholder="enter number" ignore_error=True %} -
+
+ {% input_field type="number" name="number_of_children_claimant" value=derived.number_of_children_claimant class="positive-integer fact-sheet-input number-spinner" readonly="" %}
- How many children spend more than 60 percent of their time with your spouse and for whom you are obliged to pay - support? + The number of children that spend more than 60 percent of their time with your spouse and for whom you are asking for + support, as indicated in the Children details page -
- {% input_field type="number" name="number_of_children_claimant_spouse" class="positive-integer fact-sheet-input number-spinner" min="0" placeholder="enter number" ignore_error=True %} -
+
+ {% input_field type="number" name="number_of_children_claimant_spouse" value=derived.number_of_children_claimant_spouse class="positive-integer fact-sheet-input number-spinner" readonly="" %}
Claimant 1 Claimant 2
Number of children: {{ responses.number_of_children }}Number of children: {{ derived.number_of_children }}
Approximate percentage of time children spend with each parentA Number of children principally resident with Claimant 1 for whom support is claimed - {{ responses.number_of_children_claimant }} + {{ derived.number_of_children_claimant }}
C Guidelines table amount payable by Claimant 2 for - {{ responses.number_of_children_claimant|child_or_children }} + {{ derived.number_of_children_claimant|child_or_children }} $ {{ responses.your_spouse_child_support_paid_c|money:False }} @@ -41,7 +41,7 @@ D Number of children principally resident with Claimant 2 for whom support is claimed - {{ responses.number_of_children_claimant_spouse }} + {{ derived.number_of_children_claimant_spouse }}
F Guidelines table amount payable by Claimant 1 for - {{ responses.number_of_children_claimant|child_or_children }} + {{ derived.number_of_children_claimant|child_or_children }} $ {{ responses.your_child_support_paid_c|money:False }} diff --git a/edivorce/apps/core/tests/test_logic.py b/edivorce/apps/core/tests/test_logic.py index 2dd5b051..bacfbf7a 100644 --- a/edivorce/apps/core/tests/test_logic.py +++ b/edivorce/apps/core/tests/test_logic.py @@ -1,8 +1,30 @@ +import json + from django.test import TestCase -from edivorce.apps.core.utils.conditional_logic import get_cleaned_response_value + +from edivorce.apps.core.models import BceidUser, UserResponse +from edivorce.apps.core.utils.conditional_logic import get_cleaned_response_value, get_num_children_living_with +from edivorce.apps.core.utils.user_response import get_data_for_user class ConditionalLogicTestCase(TestCase): + fixtures = ['Question.json'] + + def setUp(self): + self.user = BceidUser.objects.create(user_guid='1234') + self.child_live_with_you = {"child_name": "Child with you", "child_birth_date": "Dec 30, 2018", "child_live_with": "Lives with you", "child_relationship_to_you": "Natural child", "child_relationship_to_spouse": "Natural child", "child_live_with_other_details": ""} + self.child_live_with_spouse = {"child_name": "Child with spouse", "child_birth_date": "Jan 4, 2009", "child_live_with": "Lives with spouse", "child_relationship_to_you": "Adopted child", "child_relationship_to_spouse": "Adopted child", "child_live_with_other_details": ""} + self.child_live_with_both = {"child_name": "Child with both", "child_birth_date": "Jan 4, 2009", "child_live_with": "Lives with both", "child_relationship_to_you": "Adopted child", "child_relationship_to_spouse": "Adopted child", "child_live_with_other_details": ""} + + def create_response(self, question, value): + response, _ = UserResponse.objects.get_or_create(bceid_user=self.user, question_id=question) + response.value = value + response.save() + + @property + def questions_dict(self): + return get_data_for_user(self.user) + def test_get_cleaned_response_no_value(self): self.assertIsNone(get_cleaned_response_value(None)) self.assertIsNone(get_cleaned_response_value('')) @@ -16,3 +38,16 @@ class ConditionalLogicTestCase(TestCase): self.assertIsNotNone(get_cleaned_response_value('0')) self.assertIsNotNone(get_cleaned_response_value('["hi"]')) self.assertIsNotNone(get_cleaned_response_value('[["also known as","a"]]')) + + def test_num_children(self): + self.assertEqual(get_num_children_living_with(self.questions_dict, 'Lives with you'), 0) + self.assertEqual(get_num_children_living_with(self.questions_dict, 'Lives with spouse'), 0) + self.assertEqual(get_num_children_living_with(self.questions_dict, 'Lives with both'), 0) + + children = [self.child_live_with_you, self.child_live_with_spouse, self.child_live_with_spouse, + self.child_live_with_both, self.child_live_with_both, self.child_live_with_both] + self.create_response('claimant_children', json.dumps(children)) + + self.assertEqual(get_num_children_living_with(self.questions_dict, 'Lives with you'), 1) + self.assertEqual(get_num_children_living_with(self.questions_dict, 'Lives with spouse'), 2) + self.assertEqual(get_num_children_living_with(self.questions_dict, 'Lives with both'), 3) diff --git a/edivorce/apps/core/tests/test_step_completeness.py b/edivorce/apps/core/tests/test_step_completeness.py index 2a7c7a27..c1c506c3 100644 --- a/edivorce/apps/core/tests/test_step_completeness.py +++ b/edivorce/apps/core/tests/test_step_completeness.py @@ -461,7 +461,6 @@ class ChildrenStepCompletenessTestCase(TestCase): self.assertTrue(self.get_derived_value('fact_sheet_b_error')) # Basic required fields - self.create_response('number_of_children', '1') self.create_response('time_spent_with_you', '50') self.create_response('time_spent_with_spouse', '50') self.create_response('your_child_support_paid_b', '100') @@ -480,9 +479,7 @@ class ChildrenStepCompletenessTestCase(TestCase): self.assertTrue(self.get_derived_value('fact_sheet_c_error')) # Basic required fields - self.create_response('number_of_children_claimant', '1') self.create_response('your_spouse_child_support_paid_c', '50') - self.create_response('number_of_children_claimant_spouse', '0') self.create_response('your_child_support_paid_c', '0') self.assertFalse(self.get_derived_value('fact_sheet_c_error')) diff --git a/edivorce/apps/core/utils/conditional_logic.py b/edivorce/apps/core/utils/conditional_logic.py index 3c4bfc0f..dd6a23c7 100644 --- a/edivorce/apps/core/utils/conditional_logic.py +++ b/edivorce/apps/core/utils/conditional_logic.py @@ -9,6 +9,12 @@ def get_children(questions_dict): return json.loads(children_json) +def get_num_children_living_with(questions_dict, living_arrangement): + assert living_arrangement in ['Lives with you', 'Lives with spouse', 'Lives with both'] + children = get_children(questions_dict) + return str(len([child for child in children if child['child_live_with'] == living_arrangement])) + + def determine_sole_custody(questions_dict): child_list = get_children(questions_dict) return (all([child['child_live_with'] == 'Lives with you' for child in child_list]) or diff --git a/edivorce/apps/core/utils/derived.py b/edivorce/apps/core/utils/derived.py index 8dc9f6b7..2bd720f4 100644 --- a/edivorce/apps/core/utils/derived.py +++ b/edivorce/apps/core/utils/derived.py @@ -87,6 +87,9 @@ DERIVED_DATA = [ 'pursuant_parenting_arrangement', 'pursuant_child_support', 'sole_custody', + 'number_of_children', + 'number_of_children_claimant', + 'number_of_children_claimant_spouse', 'any_errors', ] @@ -174,12 +177,10 @@ def show_fact_sheet_b(responses, derived): def fact_sheet_b_error(responses, derived): - questions = ['number_of_children', - 'time_spent_with_you', + questions = ['time_spent_with_you', 'time_spent_with_spouse', 'your_child_support_paid_b', - 'your_spouse_child_support_paid_b', - ] + 'your_spouse_child_support_paid_b'] if derived['show_fact_sheet_b']: return _any_question_errors(responses, questions) @@ -193,11 +194,7 @@ def show_fact_sheet_c(responses, derived): def fact_sheet_c_error(responses, derived): - questions = ['number_of_children_claimant', - 'your_spouse_child_support_paid_c', - 'number_of_children_claimant_spouse', - 'your_child_support_paid_c', - ] + questions = ['your_spouse_child_support_paid_c', 'your_child_support_paid_c'] if derived['show_fact_sheet_c']: return _any_question_errors(responses, questions) @@ -750,6 +747,18 @@ def sole_custody(responses, derived): return conditional_logic.determine_sole_custody(responses) +def number_of_children(responses, derived): + return conditional_logic.get_num_children_living_with(responses, 'Lives with both') + + +def number_of_children_claimant(responses, derived): + return conditional_logic.get_num_children_living_with(responses, 'Lives with you') + + +def number_of_children_claimant_spouse(responses, derived): + return conditional_logic.get_num_children_living_with(responses, 'Lives with spouse') + + def any_errors(responses, derived): for question_key in responses: if question_key.endswith('_error'): diff --git a/edivorce/apps/core/utils/question_step_mapping.py b/edivorce/apps/core/utils/question_step_mapping.py index 64a93b8c..bb152eb5 100644 --- a/edivorce/apps/core/utils/question_step_mapping.py +++ b/edivorce/apps/core/utils/question_step_mapping.py @@ -60,16 +60,13 @@ children_substep_question_mapping = { 'facts': { 'child_support_payor', # Fact sheet B - 'number_of_children', 'time_spent_with_you', 'time_spent_with_spouse', 'your_child_support_paid_b', 'your_spouse_child_support_paid_b', 'additional_relevant_spouse_children_info', # Fact sheet C - 'number_of_children_claimant', 'your_spouse_child_support_paid_c', - 'number_of_children_claimant_spouse', 'your_child_support_paid_c', # Fact sheet D 'number_children_over_19_need_support', @@ -195,16 +192,13 @@ question_step_mapping = { # Payor & Fact Sheets 'child_support_payor', # Fact sheet B - 'number_of_children', 'time_spent_with_you', 'time_spent_with_spouse', 'your_child_support_paid_b', 'your_spouse_child_support_paid_b', 'additional_relevant_spouse_children_info', # Fact sheet C - 'number_of_children_claimant', 'your_spouse_child_support_paid_c', - 'number_of_children_claimant_spouse', 'your_child_support_paid_c', # Fact sheet D 'number_children_over_19_need_support', diff --git a/edivorce/fixtures/Question.json b/edivorce/fixtures/Question.json index 5939ff8f..39a16718 100644 --- a/edivorce/fixtures/Question.json +++ b/edivorce/fixtures/Question.json @@ -781,23 +781,11 @@ "model": "core.question", "pk": "child_support_payor" }, -{ - "fields": { - "name": "Number of children", - "description": "For Step 6, Your children - Payor & fact sheets - Fact Sheet B Shared Custody", - "summary_order": 75, - "required": "Conditional", - "conditional_target": "determine_shared_custody", - "reveal_response": "True" - }, - "model": "core.question", - "pk": "number_of_children" -}, { "fields": { "name": "What is the approximate amount of time the children spend with each parent?", "description": "For Step 6, Your children - Payor & fact sheets - Fact Sheet B Shared Custody", - "summary_order": 76, + "summary_order": 75, "required": "Conditional", "conditional_target": "determine_shared_custody", "reveal_response": "True" @@ -809,7 +797,7 @@ "fields": { "name": "What is the approximate amount of time the children spend with each parent?", "description": "For Step 6, Your children - Payor & fact sheets - Fact Sheet B Shared Custody", - "summary_order": 77, + "summary_order": 76, "required": "Conditional", "conditional_target": "determine_shared_custody", "reveal_response": "True" @@ -821,7 +809,7 @@ "fields": { "name": "What is the 'Guideline' amount for child support?", "description": "For Step 6, Your children - Payor & fact sheets - Fact Sheet B Shared Custody", - "summary_order": 78, + "summary_order": 77, "required": "Conditional", "conditional_target": "determine_shared_custody", "reveal_response": "True" @@ -833,7 +821,7 @@ "fields": { "name": "What is the 'Guideline' amount for child support?", "description": "For Step 6, Your children - Payor & fact sheets - Fact Sheet B Shared Custody", - "summary_order": 79, + "summary_order": 78, "required": "Conditional", "conditional_target": "determine_shared_custody", "reveal_response": "True" @@ -845,7 +833,7 @@ "fields": { "name": "Any other relevant information regarding the conditions, means, needs and other circumstances of each spouse or of any child for whom support is sought?", "description": "For Step 6, Your children - Payor & fact sheets - Fact Sheet B Shared Custody", - "summary_order": 80, + "summary_order": 79, "required": "" }, "model": "core.question", @@ -855,29 +843,17 @@ "fields": { "name": "Difference between Guidelines table amounts", "description": "For Step 6, Your children - Payor & fact sheets - Fact Sheet B Shared Custody", - "summary_order": 81, + "summary_order": 80, "required": "" }, "model": "core.question", "pk": "difference_payment_amounts_b" }, -{ - "fields": { - "name": "How many children spend more than 60 percent of their time with you and for whom you are asking for support?", - "description": "For Step 6, Your children - Payor & fact sheets - Fact Sheet C Split Custody", - "summary_order": 82, - "required": "Conditional", - "conditional_target": "determine_split_custody", - "reveal_response": "True" - }, - "model": "core.question", - "pk": "number_of_children_claimant" -}, { "fields": { "name": "What is the 'Guideline' amount for child support payable by you (as per Federal Child Support Tables)?", "description": "For Step 6, Your children - Payor & fact sheets - Fact Sheet C Split Custody", - "summary_order": 83, + "summary_order": 81, "required": "Conditional", "conditional_target": "determine_split_custody", "reveal_response": "True" @@ -885,23 +861,11 @@ "model": "core.question", "pk": "your_child_support_paid_c" }, -{ - "fields": { - "name": "How many children spend more than 60 percent of their time with your spouse and for whom you are obliged to pay support?", - "description": "For Step 6, Your children - Payor & fact sheets - Fact Sheet C Split Custody", - "summary_order": 84, - "required": "Conditional", - "conditional_target": "determine_split_custody", - "reveal_response": "True" - }, - "model": "core.question", - "pk": "number_of_children_claimant_spouse" -}, { "fields": { "name": "What is the 'Guideline' amount for child support payable by your spouse (as per Federal Child Support Tables)?", "description": "For Step 6, Your children - Payor & fact sheets - Fact Sheet C Split Custody", - "summary_order": 85, + "summary_order": 82, "required": "Conditional", "conditional_target": "determine_split_custody", "reveal_response": "True" @@ -913,7 +877,7 @@ "fields": { "name": "Difference between Guidelines table amounts", "description": "For Step 6, Your children - Payor & fact sheets - Fact Sheet C Split Custody", - "summary_order": 86, + "summary_order": 83, "required": "" }, "model": "core.question", @@ -923,7 +887,7 @@ "fields": { "name": "How many child(ren) are 19 years or older for whom you are asking for support?", "description": "For Step 6, Your children - Payor & fact sheets - Fact Sheet D Child(ren) 19 Years or Older", - "summary_order": 87, + "summary_order": 84, "required": "Conditional", "conditional_target": "determine_child_over_19_supported", "reveal_response": "True" @@ -935,7 +899,7 @@ "fields": { "name": "Do you and your spouse agree that the monthly Guidelines table amount for child support is appropriate?", "description": "For Step 6, Your children - Payor & fact sheets - Fact Sheet D Child(ren) 19 Years or Older", - "summary_order": 88, + "summary_order": 85, "required": "Conditional", "conditional_target": "determine_child_over_19_supported", "reveal_response": "True" @@ -947,7 +911,7 @@ "fields": { "name": "What would be the appropriate amount?", "description": "For Step 6, Your children - Payor & fact sheets - Fact Sheet D Child(ren) 19 Years or Older", - "summary_order": 89, + "summary_order": 86, "required": "Conditional", "conditional_target": "agree_to_guideline_child_support_amount", "reveal_response": "NO" @@ -959,7 +923,7 @@ "fields": { "name": "Please describe - Why do you think the court should approve your proposed amount?", "description": "For Step 6, Your children - Payor & fact sheets - Fact Sheet D Child(ren) 19 Years or Older", - "summary_order": 90, + "summary_order": 87, "required": "Conditional", "conditional_target": "agree_to_guideline_child_support_amount", "reveal_response": "NO" @@ -971,7 +935,7 @@ "fields": { "name": "Are you or your spouse claiming undue hardship?", "description": "For Step 6, Your children - Payor & fact sheets - Fact Sheet E - Undue hardship", - "summary_order": 91, + "summary_order": 88, "required": "Required" }, "model": "core.question", @@ -981,7 +945,7 @@ "fields": { "name": "Unusual or excessive debts", "description": "For Step 6, Your children - Payor & fact sheets - Fact Sheet E - Undue hardship", - "summary_order": 92, + "summary_order": 89, "required": "" }, "model": "core.question", @@ -991,7 +955,7 @@ "fields": { "name": "Unusually high expenses for parenting time, contact with, or access to a child.", "description": "For Step 6, Your children - Payor & fact sheets - Fact Sheet E - Undue hardship", - "summary_order": 93, + "summary_order": 90, "required": "" }, "model": "core.question", @@ -1001,7 +965,7 @@ "fields": { "name": "Supporting another person", "description": "For Step 6, Your children - Payor & fact sheets - Fact Sheet E - Undue hardship", - "summary_order": 94, + "summary_order": 91, "required": "" }, "model": "core.question", @@ -1011,7 +975,7 @@ "fields": { "name": "Supporting dependent child/children from another relationship.", "description": "For Step 6, Your children - Payor & fact sheets - Fact Sheet E - Undue hardship", - "summary_order": 95, + "summary_order": 92, "required": "" }, "model": "core.question", @@ -1021,7 +985,7 @@ "fields": { "name": "Support for a disabled or ill person.", "description": "For Step 6, Your children - Payor & fact sheets - Fact Sheet E - Undue hardship", - "summary_order": 96, + "summary_order": 93, "required": "" }, "model": "core.question", @@ -1031,7 +995,7 @@ "fields": { "name": "Other undue hardship circumstances", "description": "For Step 6, Your children - Payor & fact sheets - Fact Sheet E - Undue hardship", - "summary_order": 97, + "summary_order": 94, "required": "" }, "model": "core.question", @@ -1041,7 +1005,7 @@ "fields": { "name": "Income of Other Persons in Household", "description": "For Step 6, Your children - Payor & fact sheets - Fact Sheet E - Undue hardship", - "summary_order": 98, + "summary_order": 95, "required": "" }, "model": "core.question", @@ -1051,7 +1015,7 @@ "fields": { "name": "How many child(ren) are you asking for support?", "description": "For Step 6, Your children - Payor & fact sheets - Your Fact Sheet F", - "summary_order": 99, + "summary_order": 96, "required": "Conditional", "conditional_target": "determine_show_fact_sheet_f_you", "reveal_response": "True" @@ -1063,7 +1027,7 @@ "fields": { "name": "How many child(ren) are you asking for support?", "description": "For Step 6, Your children - Payor & fact sheets - Your Fact Sheet F", - "summary_order": 100, + "summary_order": 97, "required": "Conditional", "conditional_target": "determine_show_fact_sheet_f_spouse", "reveal_response": "True" @@ -1075,7 +1039,7 @@ "fields": { "name": "What is the Child Support Guidelines amount for $150,000?", "description": "For Step 6, Your children - Payor & fact sheets - Your Fact Sheet F", - "summary_order": 101, + "summary_order": 98, "required": "Conditional", "conditional_target": "determine_show_fact_sheet_f_you", "reveal_response": "True" @@ -1087,7 +1051,7 @@ "fields": { "name": "What is the Child Support Guidelines amount for $150,000?", "description": "For Step 6, Your children - Payor & fact sheets - Your Fact Sheet F", - "summary_order": 102, + "summary_order": 99, "required": "Conditional", "conditional_target": "determine_show_fact_sheet_f_spouse", "reveal_response": "True" @@ -1099,7 +1063,7 @@ "fields": { "name": "What is the % of income over $150,000 from the Child Support Guidlines?", "description": "For Step 6, Your children - Payor & fact sheets - Your Fact Sheet F", - "summary_order": 103, + "summary_order": 100, "required": "Conditional", "conditional_target": "determine_show_fact_sheet_f_you", "reveal_response": "True" @@ -1111,7 +1075,7 @@ "fields": { "name": "What is the % of income over $150,000 from the Child Support Guidlines?", "description": "For Step 6, Your children - Payor & fact sheets - Your Fact Sheet F", - "summary_order": 104, + "summary_order": 101, "required": "Conditional", "conditional_target": "determine_show_fact_sheet_f_spouse", "reveal_response": "True" @@ -1123,7 +1087,7 @@ "fields": { "name": "What is the child support amount to be paid on the portion of income over $150,000?", "description": "For Step 6, Your children - Payor & fact sheets - Your Fact Sheet F", - "summary_order": 105, + "summary_order": 102, "required": "Conditional", "conditional_target": "determine_show_fact_sheet_f_you", "reveal_response": "True" @@ -1135,7 +1099,7 @@ "fields": { "name": "What is the child support amount to be paid on the portion of income over $150,000?", "description": "For Step 6, Your children - Payor & fact sheets - Your Fact Sheet F", - "summary_order": 106, + "summary_order": 103, "required": "Conditional", "conditional_target": "determine_show_fact_sheet_f_spouse", "reveal_response": "True" @@ -1147,7 +1111,7 @@ "fields": { "name": "Guidelines table amount", "description": "For Step 6, Your children - Payor & fact sheets - Your Fact Sheet F", - "summary_order": 107, + "summary_order": 104, "required": "Conditional", "conditional_target": "determine_show_fact_sheet_f_you", "reveal_response": "True" @@ -1159,7 +1123,7 @@ "fields": { "name": "Guidelines table amount", "description": "For Step 6, Your children - Payor & fact sheets - Your Fact Sheet F", - "summary_order": 108, + "summary_order": 105, "required": "Conditional", "conditional_target": "determine_show_fact_sheet_f_spouse", "reveal_response": "True" @@ -1171,7 +1135,7 @@ "fields": { "name": "Do you and your spouse agree that amount is he child support amount?", "description": "For Step 6, Your children - Payor & fact sheets - Your Fact Sheet F", - "summary_order": 109, + "summary_order": 106, "required": "Conditional", "conditional_target": "determine_show_fact_sheet_f_you", "reveal_response": "True" @@ -1183,7 +1147,7 @@ "fields": { "name": "Do you and your spouse agree that amount is he child support amount?", "description": "For Step 6, Your children - Payor & fact sheets - Your Fact Sheet F", - "summary_order": 110, + "summary_order": 107, "required": "Conditional", "conditional_target": "determine_show_fact_sheet_f_spouse", "reveal_response": "True" @@ -1195,7 +1159,7 @@ "fields": { "name": "What is the amount that you and your spouse have agreed to (that differs from the Child Support Guidelines table amount)?", "description": "For Step 6, Your children - Payor & fact sheets - Your Fact Sheet F", - "summary_order": 111, + "summary_order": 108, "required": "Conditional", "conditional_target": "agree_to_child_support_amount_you", "reveal_response": "NO" @@ -1207,7 +1171,7 @@ "fields": { "name": "What is the amount that you and your spouse have agreed to (that differs from the Child Support Guidelines table amount)?", "description": "For Step 6, Your children - Payor & fact sheets - Your Fact Sheet F", - "summary_order": 112, + "summary_order": 109, "required": "Conditional", "conditional_target": "agree_to_child_support_amount_spouse", "reveal_response": "NO" @@ -1219,7 +1183,7 @@ "fields": { "name": "Why do you think the court should approve your proposed amount?", "description": "For Step 6, Your children - Payor & fact sheets - Your Fact Sheet F", - "summary_order": 113, + "summary_order": 110, "required": "Conditional", "conditional_target": "agree_to_child_support_amount_you", "reveal_response": "NO" @@ -1231,7 +1195,7 @@ "fields": { "name": "Why do you think the court should approve your proposed amount?", "description": "For Step 6, Your children - Payor & fact sheets - Your Fact Sheet F", - "summary_order": 114, + "summary_order": 111, "required": "Conditional", "conditional_target": "agree_to_child_support_amount_spouse", "reveal_response": "NO" @@ -1243,7 +1207,7 @@ "fields": { "name": "Is medical coverage available for the children?", "description": "For Step 6, Your children - Payor & medical expenses", - "summary_order": 115, + "summary_order": 112, "required": "Required" }, "model": "core.question", @@ -1253,7 +1217,7 @@ "fields": { "name": "Whose plan is the coverage under?", "description": "For Step 6, Your children - Payor & medical expenses", - "summary_order": 116, + "summary_order": 113, "required": "Conditional", "conditional_target": "medical_coverage_available", "reveal_response": "YES" @@ -1265,7 +1229,7 @@ "fields": { "name": "Are there any child support payments (in arrears) that have not been paid (as of today's date) under an existing order or written agreement?", "description": "For Step 6, Your children - Payor & medical expenses", - "summary_order": 117, + "summary_order": 114, "required": "Required" }, "model": "core.question", @@ -1275,7 +1239,7 @@ "fields": { "name": "What is the amount as of today's date?", "description": "For Step 6, Your children - Payor & medical expenses", - "summary_order": 118, + "summary_order": 115, "required": "Conditional", "conditional_target": "child_support_payments_in_arrears", "reveal_response": "YES" @@ -1287,7 +1251,7 @@ "fields": { "name": "What is the monthly child support amount proposed in the order to be paid by", "description": "For Step 6, Your children - What are you asking for", - "summary_order": 119, + "summary_order": 116, "required": "Required" }, "model": "core.question", @@ -1297,7 +1261,7 @@ "fields": { "name": "What is the monthly child support amount proposed in the order to be paid by", "description": "For Step 6, Your children - What are you asking for", - "summary_order": 120, + "summary_order": 117, "required": "Conditional", "conditional_target": "child_support_in_order", "reveal_response": "DIFF" @@ -1309,7 +1273,7 @@ "fields": { "name": "We are not asking for child support to be included in the order", "description": "For Step 6, Your children - What are you asking for", - "summary_order": 121, + "summary_order": 118, "required": "Conditional", "conditional_target": "child_support_in_order", "reveal_response": "NO" @@ -1321,7 +1285,7 @@ "fields": { "name": "Do you and the other parent agree (have consented) on the child support amount?", "description": "For Step 6, Your children - What are you asking for", - "summary_order": 122, + "summary_order": 119, "required": "Conditional", "conditional_target": "child_support_in_order", "reveal_response": "DIFF" @@ -1333,7 +1297,7 @@ "fields": { "name": "What special provisions have been made?", "description": "For Step 6, Your children - What are you asking for", - "summary_order": 123, + "summary_order": 120, "required": "Conditional", "conditional_target": "claimants_agree_to_child_support_amount", "reveal_response": "NO" @@ -1345,7 +1309,7 @@ "fields": { "name": "Do you have a separation agreement that sets out what you've agreed to around parenting and child support?", "description": "For Step 6, Your children - What are you asking for", - "summary_order": 124, + "summary_order": 121, "required": "Required" }, "model": "core.question", @@ -1355,7 +1319,7 @@ "fields": { "name": "Do you have an order about support of the children?", "description": "For Step 6, Your children - What are you asking for", - "summary_order": 125, + "summary_order": 122, "required": "Required" }, "model": "core.question", @@ -1365,7 +1329,7 @@ "fields": { "name": "The court needs to know what the current parenting arrangements are for the children of the marriage. Please describe below.", "description": "For Step 6, Your children - What are you asking for", - "summary_order": 126, + "summary_order": 123, "required": "Required" }, "model": "core.question", @@ -1375,7 +1339,7 @@ "fields": { "name": "Are you asking the court for an order about parenting arrangements or contact with a child?", "description": "For Step 6, Your children - What are you asking for", - "summary_order": 127, + "summary_order": 124, "required": "Required" }, "model": "core.question", @@ -1385,7 +1349,7 @@ "fields": { "name": "Please indicate the parenting arrangements you are asking for below.", "description": "For Step 6, Your children - What are you asking for", - "summary_order": 128, + "summary_order": 125, "required": "Conditional", "conditional_target": "want_parenting_arrangements", "reveal_response": "YES" @@ -1397,7 +1361,7 @@ "fields": { "name": "If you are asking for an order for child support please describe what you are asking for.", "description": "For Step 6, Your children - What are you asking for", - "summary_order": 129, + "summary_order": 126, "required": "Conditional", "conditional_target": "child_support_in_order", "reveal_response": "!NO" @@ -1409,7 +1373,7 @@ "fields": { "name": "Please indicate which act you are asking for support under.", "description": "For Step 6, Your children - What are you asking for", - "summary_order": 130, + "summary_order": 127, "required": "Conditional", "conditional_target": "determine_child_support_act_requirement", "reveal_response": "True" @@ -1421,7 +1385,7 @@ "fields": { "name": "How have you and your spouse agreed to deal with your property and debt?", "description": "For step 7, Form 1 6. Property and debt", - "summary_order": 131, + "summary_order": 128, "required": "Required" }, "model": "core.question", @@ -1431,7 +1395,7 @@ "fields": { "name": "Please describe how you and your spouse plan to divide your property, assets and your debts.", "description": "For step 7, Form 1 6. Property and debt", - "summary_order": 132, + "summary_order": 129, "required": "Conditional", "conditional_target": "deal_with_property_debt", "reveal_response": "Unequal division" @@ -1443,7 +1407,7 @@ "fields": { "name": "Please list any other property claims.", "description": "For step 7, Form 1 6. Property and debt", - "summary_order": 133, + "summary_order": 130, "required": "" }, "model": "core.question", @@ -1453,7 +1417,7 @@ "fields": { "name": "Please enter the details for any other orders that you are asking for.", "description": "For step 8 other orders, Form 1 7. Other", - "summary_order": 134, + "summary_order": 131, "required": "" }, "model": "core.question", @@ -1463,7 +1427,7 @@ "fields": { "name": "What is the best address to send you official court documents?", "description": "For step 9, Form 1 8. Claimants' addresses for service, Form 38(joint) Affidavit section", - "summary_order": 135, + "summary_order": 132, "required": "Required" }, "model": "core.question", @@ -1473,7 +1437,7 @@ "fields": { "name": "City", "description": "For step 9, Form 1 8. Claimants' addresses for service, Form 38(joint) Affidavit section", - "summary_order": 136, + "summary_order": 133, "required": "Required" }, "model": "core.question", @@ -1483,7 +1447,7 @@ "fields": { "name": "Prov", "description": "For step 9, Form 1 8. Claimants' addresses for service, Form 38(joint) Affidavit section", - "summary_order": 137, + "summary_order": 134, "required": "" }, "model": "core.question", @@ -1493,7 +1457,7 @@ "fields": { "name": "Country", "description": "For step 9, Form 1 8. Claimants' addresses for service, Form 38(joint) Affidavit section", - "summary_order": 138, + "summary_order": 135, "required": "Required" }, "model": "core.question", @@ -1503,7 +1467,7 @@ "fields": { "name": "Other Country", "description": "For step 9, Form 1 8. Claimants' addresses for service, Form 38(joint) Affidavit section", - "summary_order": 139, + "summary_order": 136, "required": "Conditional", "conditional_target": "address_to_send_official_document_country_you", "reveal_response": "Other" @@ -1515,7 +1479,7 @@ "fields": { "name": "Postal code", "description": "For step 9, Form 1 8. Claimants' addresses for service, Form 38(joint) Affidavit section", - "summary_order": 140, + "summary_order": 137, "required": "" }, "model": "core.question", @@ -1525,7 +1489,7 @@ "fields": { "name": "Fax number", "description": "For step 9, Form 1 8. Claimants' addresses for service", - "summary_order": 141, + "summary_order": 138, "required": "" }, "model": "core.question", @@ -1535,7 +1499,7 @@ "fields": { "name": "Email", "description": "For step 9, Form 1 8. Claimants' addresses for service", - "summary_order": 142, + "summary_order": 139, "required": "" }, "model": "core.question", @@ -1545,7 +1509,7 @@ "fields": { "name": "What is the best address to send your spouse official court documents?", "description": "For step 9, Form 1 8. Claimants' addresses for service, Form 38(joint) Affidavit section", - "summary_order": 143, + "summary_order": 140, "required": "Required" }, "model": "core.question", @@ -1555,7 +1519,7 @@ "fields": { "name": "City", "description": "For step 9, Form 1 8. Claimants' addresses for service, Form 38(joint) Affidavit section", - "summary_order": 144, + "summary_order": 141, "required": "Required" }, "model": "core.question", @@ -1565,7 +1529,7 @@ "fields": { "name": "Prov", "description": "For step 9, Form 1 8. Claimants' addresses for service, Form 38(joint) Affidavit section", - "summary_order": 145, + "summary_order": 142, "required": "" }, "model": "core.question", @@ -1575,7 +1539,7 @@ "fields": { "name": "Country", "description": "For step 9, Form 1 8. Claimants' addresses for service, Form 38(joint) Affidavit section", - "summary_order": 146, + "summary_order": 143, "required": "Required" }, "model": "core.question", @@ -1585,7 +1549,7 @@ "fields": { "name": "Other Country", "description": "For step 9, Form 1 8. Claimants' addresses for service, Form 38(joint) Affidavit section", - "summary_order": 147, + "summary_order": 144, "required": "Conditional", "conditional_target": "address_to_send_official_document_country_spouse", "reveal_response": "Other" @@ -1597,7 +1561,7 @@ "fields": { "name": "Postal code", "description": "For step 9, Form 1 8. Claimants' addresses for service", - "summary_order": 148, + "summary_order": 145, "required": "" }, "model": "core.question", @@ -1607,7 +1571,7 @@ "fields": { "name": "Fax number", "description": "For step 9, Form 1 8. Claimants' addresses for service", - "summary_order": 149, + "summary_order": 146, "required": "" }, "model": "core.question", @@ -1617,7 +1581,7 @@ "fields": { "name": "Email", "description": "For step 9, Form 1 8. Claimants' addresses for service", - "summary_order": 150, + "summary_order": 147, "required": "" }, "model": "core.question", @@ -1627,7 +1591,7 @@ "fields": { "name": "Divorce is to take effect on", "description": "For step 9, Form 52 This Court Orders that", - "summary_order": 151, + "summary_order": 148, "required": "Required" }, "model": "core.question", @@ -1637,7 +1601,7 @@ "fields": { "name": "Divorce is to take effect on specific date", "description": "For step 9 - specific date, Form 52 This Court Orders that", - "summary_order": 152, + "summary_order": 149, "required": "Conditional", "conditional_target": "divorce_take_effect_on", "reveal_response": "specific date" @@ -1649,7 +1613,7 @@ "fields": { "name": "Where will you be filing for divorce?", "description": "For step 10, Form 1 court registry, Form 35 court registry, Form 36 court registry, Form 38(joint and sole) court registry, Form 52 court registry", - "summary_order": 153, + "summary_order": 150, "required": "Required" }, "model": "core.question", @@ -1659,7 +1623,7 @@ "fields": { "name": "Are you asking for a name change?", "description": "For Step 10, Forms 38 and 52's Orders sections", - "summary_order": 154, + "summary_order": 151, "required": "Required" }, "model": "core.question", @@ -1669,7 +1633,7 @@ "fields": { "name": "Please enter the full name", "description": "For Step 10, Forms 38 and 52's Orders sections", - "summary_order": 155, + "summary_order": 152, "required": "Conditional", "conditional_target": "name_change_you", "reveal_response": "YES" @@ -1681,7 +1645,7 @@ "fields": { "name": "Is your spouse asking for a name change?", "description": "For Step 10, Forms 38 and 52's Orders sections", - "summary_order": 156, + "summary_order": 153, "required": "Required" }, "model": "core.question", @@ -1691,7 +1655,7 @@ "fields": { "name": "Please enter the full name", "description": "For Step 10, Forms 38 and 52's Orders sections", - "summary_order": 157, + "summary_order": 154, "required": "Conditional", "conditional_target": "name_change_spouse", "reveal_response": "YES" @@ -1703,7 +1667,7 @@ "fields": { "name": "Select how you would like to swear/affirm your affidavit(s)?", "description": "E-filing prototype", - "summary_order": 158, + "summary_order": 155, "required": "" }, "model": "core.question", @@ -1713,7 +1677,7 @@ "fields": { "name": "Select how you would like to file your documents", "description": "E-filing prototype", - "summary_order": 159, + "summary_order": 156, "required": "" }, "model": "core.question", @@ -1723,7 +1687,7 @@ "fields": { "name": "Select where you would like to swear/affirm your affidavit(s)", "description": "E-filing prototype", - "summary_order": 160, + "summary_order": 157, "required": "" }, "model": "core.question", @@ -1733,7 +1697,7 @@ "fields": { "name": "Select where you would like to swear/affirm your affidavit(s)", "description": "E-filing prototype", - "summary_order": 161, + "summary_order": 158, "required": "" }, "model": "core.question", @@ -1743,7 +1707,7 @@ "fields": { "name": "Select where your spouse would like to swear/affirm your affidavit(s)", "description": "E-filing prototype", - "summary_order": 162, + "summary_order": 159, "required": "" }, "model": "core.question", @@ -1753,7 +1717,7 @@ "fields": { "name": "E-mail Address for You", "description": "E-filing prototype", - "summary_order": 163, + "summary_order": 160, "required": "" }, "model": "core.question", @@ -1763,7 +1727,7 @@ "fields": { "name": "E-mail Address for Your Spouse", "description": "E-filing prototype", - "summary_order": 164, + "summary_order": 161, "required": "" }, "model": "core.question",