@@ -226,13 +249,9 @@
{% endblock %}
-{% block formbuttons %}
-
-
-
-{% endblock %}
+{% block formBack %}{% prev_step step='review' %}{% endblock %}
+{% block formNext %}{% url 'dashboard_nav' 'print_form' %}{% endblock %}
+{% block nextButtonAttribute %}{% if derived.any_errors %}disabled{% endif %}{% endblock %}
{% block sidebarNav %}
diff --git a/edivorce/apps/core/templatetags/summary_format.py b/edivorce/apps/core/templatetags/summary_format.py
index 0392f48f..71dc3f3d 100644
--- a/edivorce/apps/core/templatetags/summary_format.py
+++ b/edivorce/apps/core/templatetags/summary_format.py
@@ -5,40 +5,66 @@ import json
from django.urls import reverse
from django.utils.html import format_html, format_html_join
+from django.utils.safestring import mark_safe
+
+NO_ANSWER = 'No answer'
+MISSING_RESPONSE = mark_safe('
MISSING REQUIRED FIELD
')
register = template.Library()
@register.simple_tag
-def reformat_value(source, question_key):
+def reformat_value(source):
"""
Reformat user response on summary page
- ie) Remove [], make it a bullet point form
+ Cases:
+ - If there is a missing field, return error html
+ - If value is a json list:
+ Either return the only item
+ Or make it into bullet point form
+ - If it's a text area:
+ For certain fields, make it into bullet points
+ For others, convert \n to
+ - Otherwise, return the original value
"""
+ if source['error']:
+ return MISSING_RESPONSE
+ elif not source['value']:
+ return NO_ANSWER
+ question_key = source['question_id']
try:
- lst = json.loads(source)
- if len(lst) == 1:
- return lst[0]
- else:
- return process_list(lst, question_key)
+ json_list = json.loads(source['value'])
+ return process_json_list(question_key, json_list)
except:
- if question_key == 'spouse_support_details' or question_key == 'other_orders_detail'\
- or question_key == 'provide_certificate_later_reason' or question_key == 'not_provide_certificate_reason':
- return reformat_list(source)
- return source
+ if question_key in ['spouse_support_details', 'other_orders_detail']:
+ return reformat_textarea(source)
+ elif '\n' in source['value']:
+ return reformat_textarea(source, as_ul=False)
+ return source['value']
-def process_list(lst, question_key):
+def process_json_list(question_key, json_list):
+ """
+ Convert a json list to html list, handling special question formats
+ """
+ assert isinstance(json_list, list)
if question_key.startswith('other_name_'):
- list_items = format_html_join(
- '\n',
- '
{} {}',
- ((alias_type, value) for alias_type, value in lst if value))
+ list_items = get_other_name_tags(json_list)
+ elif question_key == 'reconciliation_period':
+ list_items = get_reconciliation_period_tags(json_list)
+ elif question_key == 'claimant_children':
+ return get_claimant_children_tags(json_list)
+ elif 'address' in question_key:
+ tag = format_html_join(
+ '\n',
+ '{0}
',
+ ((value, '') for value in json_list))
+ return tag
else:
list_items = format_html_join(
'\n',
'
{0}',
- ((value, '') for value in lst if value and not value.isspace()))
+ ((value, '') for value in json_list if value and not value.isspace()))
tag = format_html(
'
',
list_items)
@@ -46,55 +72,112 @@ def process_list(lst, question_key):
return tag
-def reformat_list(source):
- text_list = source.split('\n')
+def get_other_name_tags(json_list):
+ list_items = format_html_join(
+ '\n',
+ '
{} {}',
+ ((alias_type, value) for alias_type, value in json_list if value))
+ return list_items
+
+
+def get_reconciliation_period_tags(json_list):
+ list_items = format_html_join(
+ '\n',
+ '
From {} to {}',
+ (date_range for date_range in json_list))
+ return list_items
+
+
+def get_claimant_children_tags(json_list):
+ child_counter = 1
+ tags = ''
+ for child in json_list:
+ tags = format_html(
+ '{}{}{}{}{}{}{}',
+ tags,
+ format_review_row_heading('Child {}'.format(child_counter), 'review-child-heading'),
+ format_row('Child\'s name', child['child_name']),
+ format_row('Birth date', child['child_birth_date']),
+ format_row('Child now living with', child['child_live_with']),
+ format_row('Relationship to yourself (claimant 1)', child['child_relationship_to_you']),
+ format_row('Relationship to your spouse (claimant 2)', child['child_relationship_to_spouse']))
+ child_counter = child_counter + 1
+ return tags
+
+
+def reformat_textarea(source, as_ul=True):
+ """
+ Takes a textarea value (string with \n) and converts either into html with
tags or a list
+ """
+ response = source['value']
+ if not response:
+ return NO_ANSWER
+ text_list = response.split('\n')
if len(text_list) > 1:
- list_items = format_html_join(
- '\n',
- '
{0}',
- ((value, '') for value in text_list if value))
- tag = format_html(
- '
',
- list_items)
+ if as_ul:
+ list_items = format_html_join(
+ '\n',
+ '
{0}',
+ ((value, '') for value in text_list if value))
+ tag = format_html(
+ '
',
+ list_items)
+ else:
+ tag = format_html_join(
+ '\n',
+ '{0}
',
+ ((value, '') for value in text_list))
return tag
else:
return text_list.pop()
def format_row(question, response):
+ """ Used for children sub-section tables """
return format_html(
- '
| {0} | {1} |
',
+ '
| {0} | {1} |
',
question,
response)
-def format_review_row_heading(title, style=""):
+def format_review_row_heading(title, style="", substep=None):
+ """ Used for children sub-section tables """
+ if substep:
+ url = reverse('question_steps', args=['children', substep])
+ extra_html = mark_safe(f'
Edit')
+ else:
+ extra_html = ''
return format_html(
- '
| {0} |
',
+ '
| {0}{2} |
',
title,
- style)
+ style,
+ extra_html,
+ )
-def format_fact_sheet(title, url, style=''):
+def format_fact_sheet(title, url, value):
return format_html(
- '
| {2} |
',
- style,
+ '
| {} | {} |
',
url,
- title)
+ title,
+ value
+ )
@register.simple_tag(takes_context=True)
def format_children(context, source):
- """
-
- :param source:
- :return:
- """
+ substep_to_heading = {
+ 'your_children': 'Children details',
+ 'income_expenses': 'Income & expenses',
+ 'facts': 'Payor & Fact Sheets',
+ 'payor_medical': 'Medical & other expenses',
+ 'what_for': 'What are you asking for?',
+ }
question_to_heading = OrderedDict()
- question_to_heading['Children details'] = [
+ question_to_heading['your_children'] = [
'claimant_children'
]
- question_to_heading['Income & expenses'] = [
+ question_to_heading['income_expenses'] = [
'how_will_calculate_income',
'annual_gross_income',
'spouse_annual_gross_income',
@@ -103,7 +186,7 @@ def format_children(context, source):
'Special or Extraordinary Expenses (Fact Sheet A)',
'describe_order_special_extra_expenses'
]
- question_to_heading['Payor & Fact Sheets'] = [
+ question_to_heading['facts'] = [
'Shared Living Arrangement (Fact Sheet B)',
'Split Living Arrangement (Fact Sheet C)',
'child_support_payor',
@@ -112,13 +195,13 @@ def format_children(context, source):
'claiming_undue_hardship',
'Undue Hardship (Fact Sheet E)'
]
- question_to_heading['Medical & other expenses'] = [
+ question_to_heading['payor_medical'] = [
'medical_coverage_available',
'whose_plan_is_coverage_under',
'child_support_payments_in_arrears',
'child_support_arrears_amount'
]
- question_to_heading['What are you asking for?'] = [
+ question_to_heading['what_for'] = [
'child_support_in_order',
# 'order_monthly_child_support_amount',
'child_support_in_order_reason',
@@ -142,106 +225,84 @@ def format_children(context, source):
fact_sheet_mapping['Undue Hardship (Fact Sheet E)'] = reverse('question_steps', args=['children', 'facts'])
fact_sheet_mapping['Income over $150,000 (Fact Sheet F)'] = reverse('question_steps', args=['children', 'facts'])
- child_support_orders = {'want_parenting_arrangements', 'order_respecting_arrangement', 'order_for_child_support'}
-
tags = format_html('
')
# process mapped questions first
working_source = source.copy()
- for title, questions in question_to_heading.items():
+ for substep, questions in question_to_heading.items():
+ title = substep_to_heading[substep]
tags = format_html(
'{}{}',
tags,
- format_review_row_heading(title))
+ format_review_row_heading(title, substep=substep))
for question in questions:
if question in fact_sheet_mapping:
show_fact_sheet = False
+ fact_sheet_error = False
if question == 'Special or Extraordinary Expenses (Fact Sheet A)' and context['derived']['show_fact_sheet_a']:
show_fact_sheet = True
+ fact_sheet_error = context['derived']['fact_sheet_a_error']
elif question == 'Shared Living Arrangement (Fact Sheet B)' and context['derived']['show_fact_sheet_b']:
show_fact_sheet = True
+ fact_sheet_error = context['derived']['fact_sheet_b_error']
elif question == 'Split Living Arrangement (Fact Sheet C)' and context['derived']['show_fact_sheet_c']:
show_fact_sheet = True
+ fact_sheet_error = context['derived']['fact_sheet_c_error']
elif question == 'Child(ren) 19 Years or Older (Fact Sheet D)' and context['derived']['show_fact_sheet_d']:
show_fact_sheet = True
+ fact_sheet_error = context['derived']['fact_sheet_d_error']
elif question == 'Undue Hardship (Fact Sheet E)' and context['derived']['show_fact_sheet_e']:
show_fact_sheet = True
- elif question == 'Income over $150,000 (Fact Sheet F)' and (
- context['derived']['show_fact_sheet_f_you'] or context['derived']['show_fact_sheet_f_spouse']):
+ fact_sheet_error = context['derived']['fact_sheet_e_error']
+ elif question == 'Income over $150,000 (Fact Sheet F)' and context['derived']['show_fact_sheet_f']:
show_fact_sheet = True
+ fact_sheet_error = context['derived']['fact_sheet_f_error']
if show_fact_sheet and len(fact_sheet_mapping[question]):
+ if fact_sheet_error:
+ value = MISSING_RESPONSE
+ else:
+ value = 'Complete'
tags = format_html(
'{}{}',
tags,
- format_fact_sheet(question, fact_sheet_mapping[question]))
+ format_fact_sheet(question, fact_sheet_mapping[question], value))
else:
-
- item = list(filter(lambda x: x['question_id'] == question, working_source))
+ item_list = list(filter(lambda x: x['question_id'] == question, working_source))
# skip child support order related questions if user did not select that option
- if question in child_support_orders and len(item):
- item = item.pop()
+ if question == 'order_for_child_support' and len(item_list):
+ item = item_list.pop()
if context['derived']['wants_child_support'] is True and item['value']:
# make sure free form text is reformted to be bullet list.
tags = format_html(
'{}{}',
tags,
- format_row(item['question__name'], reformat_list(item['value'])))
+ format_row(item['question__name'], reformat_textarea(item)))
continue
- if len(item):
- item = item.pop()
+ if len(item_list):
+ item = item_list.pop()
q_id = item['question_id']
if q_id in questions:
- if q_id == 'claimant_children':
- child_counter = 1
- for child in json.loads(item['value']):
- tags = format_html(
- '{}{}{}{}{}{}{}',
- tags,
- format_review_row_heading('Child {}'.format(child_counter), 'review-child-heading'),
- format_row('Child\'s name', child['child_name']),
- format_row('Birth date', child['child_birth_date']),
- format_row('Child now living with', child['child_live_with']),
- format_row('Relationship to yourself (claimant 1)', child['child_relationship_to_you']),
- format_row('Relationship to your spouse (claimant 2)', child['child_relationship_to_spouse']))
- child_counter = child_counter + 1
- else:
- value = item['value']
- if q_id == 'describe_order_special_extra_expenses':
- pass
- if q_id == 'payor_monthly_child_support_amount':
- # Only display this field if it is sole custody
- sole_custody = (all([child['child_live_with'] == 'Lives with you' for child in context['derived']['children']]) or
- all([child['child_live_with'] == 'Lives with spouse' for child in context['derived']['children']]))
- if not sole_custody:
- continue
-
- try:
- value = json.loads(item['value'])
- except:
- pass
-
- question_name = item['question__name']
- if question == 'child_support_in_order':
- question_name = '{} {}'.format(question_name, context['derived']['child_support_payor_by_name'])
- if value == 'MATCH':
- value = '{:.2f}'.format(float(context['derived']['guideline_amounts_difference_total']))
- elif value == 'DIFF':
- amount = list(filter(lambda x: x['question_id'] == 'order_monthly_child_support_amount', working_source))
- amount = amount.pop()
- value = '{:.2f}'.format(float(amount['value']))
- if question == 'describe_order_special_extra_expenses':
- value = reformat_list(value)
-
- if isinstance(value, list):
- tags = format_html('{}{}', tags, format_row(question_name, process_list(value, q_id)))
- elif isinstance(value, str):
- if len(value):
- tags = format_html('{}{}', tags, format_row(question_name, value))
- else:
- tags = format_html('{}{}', tags, format_row(question_name, value))
+ if q_id == 'describe_order_special_extra_expenses':
+ pass
+ if q_id == 'payor_monthly_child_support_amount':
+ # Only display this field if it is sole custody
+ if not context['derived']['sole_custody']:
+ continue
+
+ question_name = item['question__name']
+ if question == 'child_support_in_order':
+ question_name = '{} {}'.format(question_name, context['derived']['child_support_payor_by_name'])
+ if item['value'] == 'MATCH':
+ item['value'] = '{:.2f}'.format(float(context['derived']['guideline_amounts_difference_total']))
+ elif item['value'] == 'DIFF':
+ amount = list(filter(lambda x: x['question_id'] == 'order_monthly_child_support_amount', working_source))
+ amount = amount.pop()
+ item['value'] = '{:.2f}'.format(float(amount['value']))
+
+ tags = format_html('{}{}', tags, format_row(question_name, reformat_value(item)))
tags = format_html('{} ', tags)
tags = format_html('{}', tags)
return tags
@@ -249,321 +310,124 @@ def format_children(context, source):
@register.simple_tag
def combine_address(source):
- """
- Reformat address to combine them into one cell with multiple line
- Also show/hide optional questions
- """
tags = ''
- address_you = ""
- fax_you = ""
- email_you = ""
- address_spouse = ""
- fax_spouse = ""
- email_spouse = ""
- is_specific_date = False
- effective_date = ""
+ address_you = []
+ address_you_name = "What is the best address to send you official court documents?"
+ address_you_error = False
+ address_spouse = []
+ address_spouse_name = "What is the best address to send your spouse official court documents?"
+ address_spouse_error = False
+ take_effect_on_item = None
for item in source:
q_id = item['question_id']
- if "you" in q_id:
- if "email" not in q_id and "fax" not in q_id:
- if q_id == "address_to_send_official_document_country_you":
+ if 'address' in q_id and 'email' not in q_id and 'fax' not in q_id:
+ if 'you' in q_id:
+ if address_you_error:
continue
- address_you = format_html('{}{}
', address_you, item["value"])
- elif "fax" in q_id:
- fax_you = item["value"]
- elif "email" in q_id:
- email_you = item["value"]
- elif "spouse" in q_id:
- if "email" not in q_id and "fax" not in q_id:
- if q_id == "address_to_send_official_document_country_spouse":
+ elif item['error']:
+ address_you_error = True
+ tags = format_table_data(tags, address_you_name, MISSING_RESPONSE)
continue
- address_spouse = format_html('{}{}
', address_spouse, item["value"])
- elif "fax" in q_id:
- fax_spouse = item["value"]
- elif "email" in q_id:
- email_spouse = item["value"]
- elif q_id == "divorce_take_effect_on":
- if item['value'] == "specific date":
- is_specific_date = True
+ elif item['value']:
+ address_you.append(item['value'])
+ if 'postal_code' in q_id:
+ tags = format_table_data(tags, address_you_name, process_json_list(q_id, address_you))
+ continue
else:
- effective_date = item['value']
- elif q_id == "divorce_take_effect_on_specific_date" and is_specific_date:
- effective_date = item['value']
-
- if address_you != "":
- tags = format_table_data(tags, "What is the best address to send you official court documents?", address_you)
- if fax_you != "":
- tags = format_table_data(tags, "Fax", fax_you)
- if email_you != "":
- tags = format_table_data(tags, "Email", email_you)
- if address_spouse != "":
- tags = format_table_data(tags, "What is the best address to send your spouse official court documents?", address_spouse)
- if fax_spouse != "":
- tags = format_table_data(tags, "Fax", fax_spouse)
- if email_spouse != "":
- tags = format_table_data(tags, "Email", email_spouse)
- if effective_date != "":
- tags = format_table_data(tags, "Divorce is to take effect on", effective_date)
+ if address_spouse_error:
+ continue
+ elif item['error']:
+ address_spouse_error = True
+ tags = format_table_data(tags, address_spouse_name, MISSING_RESPONSE)
+ continue
+ elif item['value']:
+ address_spouse.append(item['value'])
+ if 'postal_code' in q_id:
+ tags = format_table_data(tags, address_spouse_name, process_json_list(q_id, address_spouse))
+ continue
+ elif q_id == 'divorce_take_effect_on':
+ take_effect_on_item = item
+ if item['value'] == 'specific date':
+ continue
+ elif q_id == 'divorce_take_effect_on_specific_date':
+ item['question__name'] = take_effect_on_item['question__name']
+ tags = format_question_for_table(tags, item)
return tags
@register.simple_tag(takes_context=True)
def marriage_tag(context, source):
- """
- Reformat your_marriage step
- Also show/hide optional questions
- """
- show_all = False
tags = ''
-
- marriage_location = ""
- married_date = ""
- married_date_q = ""
- common_law_date = ""
- common_law_date_q = ""
- marital_status_you = ""
- marital_status_you_q = ""
- marital_status_spouse = ""
- marital_status_spouse_q = ""
-
- # get married_marriage_like value to check if legally married or not
- for question in context.get('prequalification', ''):
- if question['question_id'] == 'married_marriage_like' and question['value'] == 'Legally married':
- show_all = True
- break
- elif question['question_id'] == 'married_marriage_like':
- break
-
+ marriage_location = []
+ marriage_country_is_other = False
+ skip_location = False
for item in source:
q_id = item['question_id']
- value = item['value']
- q_name = item['question__name']
-
- if q_id == 'when_were_you_married':
- married_date_q = q_name
- married_date = value
- elif q_id == 'when_were_you_live_married_like':
- common_law_date_q = q_name
- common_law_date = value
- elif q_id.startswith('where_were_you_married'):
- if value == 'Other':
+ if q_id.startswith('where_were_you_married') and not skip_location:
+ if item['error']:
+ skip_location = True
+ tags = format_table_data(tags, "Where were you married?", MISSING_RESPONSE)
continue
- marriage_location = format_html('{}{}
', marriage_location, value)
- elif q_id == 'marital_status_before_you':
- marital_status_you_q = q_name
- marital_status_you = value
- elif q_id == 'marital_status_before_spouse':
- marital_status_spouse_q = q_name
- marital_status_spouse = value
-
- if show_all and married_date != "":
- tags = format_table_data(tags, married_date_q, married_date)
- if common_law_date != "":
- tags = format_table_data(tags, common_law_date_q, common_law_date)
- if show_all and marriage_location != "":
- tags = format_table_data(tags, "Where were you married", marriage_location)
- if marital_status_you != "":
- tags = format_table_data(tags, marital_status_you_q, marital_status_you)
- if marital_status_spouse != "":
- tags = format_table_data(tags, marital_status_spouse_q, marital_status_spouse)
-
- return tags
-
-
-@register.simple_tag
-def property_tag(source):
- """
- Reformat your_property and debt step
- Also show/hide optional questions
- """
- tags = ''
-
- division = division_detail = other_detail = None
-
- for item in source:
- q_id = item['question_id']
-
- if q_id == 'deal_with_property_debt':
- division = item
- elif q_id == 'how_to_divide_property_debt':
- division_detail = item
- elif q_id == 'other_property_claims':
- other_detail = item
-
- if division:
- tags = format_table_data(tags, division['question__name'], division['value'])
- if division and division['value'] == "Unequal division" and division_detail:
- tags = format_table_data(tags, division_detail['question__name'], process_list(division_detail['value'].split('\n'), division_detail['question_id']))
- if other_detail and other_detail['value'].strip():
- tags = format_table_data(tags, other_detail['question__name'], process_list(other_detail['value'].split('\n'), other_detail['question_id']))
+ elif q_id == 'where_were_you_married_country' and item['value'] == 'Other':
+ marriage_country_is_other = True
+ continue
+ elif item['value']:
+ marriage_location.append(item['value'])
+
+ # Insert in the right spot in table. Either country is the last item (if US or Canada) or other country is last
+ us_or_canada = not marriage_country_is_other and q_id == 'where_were_you_married_country'
+ other_country = marriage_country_is_other and q_id == 'where_were_you_married_other_country'
+ if us_or_canada or other_country:
+ tags = format_table_data(tags, "Where were you married?", process_json_list('married_address', marriage_location))
+ else:
+ tags = format_question_for_table(tags, item)
return tags
@register.simple_tag
def prequal_tag(source):
- """
- Reformat prequalification step
- Also show/hide optional questions
- """
tags = ''
-
- marriage_status = lived_in_bc = live_at_least_year = separation_date = try_reconcile = reconciliation_period = None
- children_of_marriage = number_children_under_19 = number_children_over_19 = financial_support = certificate = provide_later = None
- provide_later_reason = not_provide_later_reason = in_english = divorce_reason = children_live_with_others = None
-
for item in source:
- q_id = item['question_id']
- if q_id == 'married_marriage_like':
- marriage_status = item
- elif q_id == 'lived_in_bc':
- lived_in_bc = item
- elif q_id == 'lived_in_bc_at_least_year':
- live_at_least_year = item
- elif q_id == 'separation_date':
- separation_date = item
- elif q_id == 'try_reconcile_after_separated':
- try_reconcile = item
- elif q_id == 'reconciliation_period':
- reconciliation_period = item
- elif q_id == 'children_of_marriage':
- children_of_marriage = item
- elif q_id == 'number_children_under_19':
- number_children_under_19 = item
- elif q_id == 'number_children_over_19':
- number_children_over_19 = item
- elif q_id == 'children_financial_support':
- financial_support = item
- elif q_id == 'children_live_with_others':
- children_live_with_others = item
- elif q_id == 'original_marriage_certificate':
- certificate = item
- elif q_id == 'provide_certificate_later':
- provide_later = item
- elif q_id == 'provide_certificate_later_reason':
- provide_later_reason = item
- elif q_id == 'not_provide_certificate_reason':
- not_provide_later_reason = item
- elif q_id == 'marriage_certificate_in_english':
- in_english = item
- elif q_id == 'divorce_reason':
- divorce_reason = item
- if divorce_reason['value'] == 'live separate':
- divorce_reason['value'] = 'Lived apart for one year'
-
- if marriage_status:
- tags = format_table_data(tags, marriage_status['question__name'], marriage_status['value'])
- if lived_in_bc:
- tags = format_table_data(tags, lived_in_bc['question__name'], lived_in_bc['value'])
- if live_at_least_year:
- tags = format_table_data(tags, live_at_least_year['question__name'], live_at_least_year['value'])
- if separation_date:
- tags = format_table_data(tags, separation_date['question__name'], separation_date['value'])
- if try_reconcile:
- tags = format_table_data(tags, try_reconcile['question__name'], try_reconcile['value'])
- if try_reconcile and try_reconcile['value'] == 'YES' and reconciliation_period:
- tags = format_table_data(tags, reconciliation_period['question__name'], reconciliation_period_reformat(reconciliation_period['value']))
- if children_of_marriage:
- tags = format_table_data(tags, children_of_marriage['question__name'], children_of_marriage['value'])
- if children_of_marriage and children_of_marriage['value'] == 'YES' and number_children_under_19:
- tags = format_table_data(tags, number_children_under_19['question__name'], number_children_under_19['value'])
- if children_of_marriage and children_of_marriage['value'] == 'YES' and number_children_over_19:
- tags = format_table_data(tags, number_children_over_19['question__name'], number_children_over_19['value'])
- if children_of_marriage and children_of_marriage['value'] == 'YES' and number_children_over_19 and financial_support and financial_support['value']:
- tags = format_table_data(tags, financial_support['question__name'], '
'.join(json.loads(financial_support['value'])))
- if children_of_marriage and children_of_marriage['value'] == 'YES' and number_children_over_19 and financial_support:
- tags = format_table_data(tags, children_live_with_others['question__name'], children_live_with_others['value'])
- if certificate:
- tags = format_table_data(tags, certificate['question__name'], certificate['value'])
- if certificate and certificate['value'] == 'NO' and provide_later:
- tags = format_table_data(tags, provide_later['question__name'], provide_later['value'])
- if certificate and provide_later and certificate['value'] == 'NO' and provide_later['value'] == 'YES' and provide_later_reason:
- tags = format_table_data(tags, provide_later_reason['question__name'], process_list(provide_later_reason['value'].split('\n'), provide_later_reason['question_id']))
- if certificate and provide_later and certificate['value'] == 'NO' and provide_later['value'] == 'NO' and not_provide_later_reason:
- tags = format_table_data(tags, not_provide_later_reason['question__name'], process_list(not_provide_later_reason['value'].split('\n'), not_provide_later_reason['question_id']))
- if marriage_status and marriage_status['value'] == 'Living together in a marriage like relationship' and in_english:
- tags = format_table_data(tags, in_english['question__name'], in_english['value'])
- if divorce_reason:
- tags = format_table_data(tags, divorce_reason['question__name'], divorce_reason['value'])
+ if item['question_id'] == 'divorce_reason':
+ if item['value'] == 'live separate':
+ item['value'] = 'Lived apart for one year'
+ elif item['value'] == 'other':
+ item['value'] = 'Other reasons (grounds)'
+ tags = format_question_for_table(tags, item)
return tags
@register.simple_tag
def personal_info_tag(source):
- """
- Reformat your information and your spouse step
- Also show/hide optional questions
- """
tags = ''
-
- name = other_name = other_name_list = last_name_born = last_name_before = None
- birthday = occupation = lived_bc = moved_bc = None
-
+ lived_in_bc_item = None
for item in source:
q_id = item['question_id']
-
- if q_id.startswith('name_'):
- name = item
- elif q_id.startswith('any_other_name_'):
- other_name = item
- elif q_id.startswith('other_name_'):
- other_name_list = item
- elif q_id.startswith('last_name_born_'):
- last_name_born = item
- elif q_id.startswith('last_name_before_married_'):
- last_name_before = item
- elif q_id.startswith('birthday_'):
- birthday = item
- elif q_id.startswith('occupation_'):
- occupation = item
- elif q_id.startswith('lived_in_bc_'):
- lived_bc = item
+ moved_to_bc_value = "Moved to B.C. on"
+ if q_id.startswith('lived_in_bc_') and item['value'] == moved_to_bc_value:
+ lived_in_bc_item = item
+ continue
elif q_id.startswith('moved_to_bc_date_'):
- moved_bc = item
-
- if name:
- tags = format_table_data(tags, name['question__name'], name['value'])
- if other_name:
- tags = format_table_data(tags, other_name['question__name'], other_name['value'])
- if other_name and other_name['value'] == 'YES' and other_name_list:
- tags = format_table_data(tags, other_name_list['question__name'], process_list(json.loads(other_name_list['value']), other_name_list['question_id']))
- if last_name_born:
- tags = format_table_data(tags, last_name_born['question__name'], last_name_born['value'])
- if last_name_before:
- tags = format_table_data(tags, last_name_before['question__name'], last_name_before['value'])
- if birthday:
- tags = format_table_data(tags, birthday['question__name'], birthday['value'])
- if occupation:
- tags = format_table_data(tags, occupation['question__name'], occupation['value'])
- if lived_bc and moved_bc and lived_bc['value'] == "Moved to B.C. on":
- tags = format_table_data(tags, lived_bc['question__name'], lived_bc['value'] + ' ' + moved_bc['value'])
- if lived_bc and lived_bc['value'] != "Moved to B.C. on" and lived_bc:
- tags = format_table_data(tags, lived_bc['question__name'], lived_bc['value'])
-
+ item['question__name'] = lived_in_bc_item['question__name']
+ item['value'] = f"{moved_to_bc_value} {item['value']}"
+ tags = format_question_for_table(tags, item)
return tags
+def format_question_for_table(tags, question):
+ name = question['question__name']
+ response = reformat_value(question)
+ return format_table_data(tags, name, response)
+
+
def format_table_data(tags, question, response):
return format_html(
- '{}
| {} | {} |
',
+ '{}
| {} | {} |
',
tags,
question,
response)
-
-
-def reconciliation_period_reformat(lst):
- """
- Reformat reconciliation period into From [dd/mm/yyyy] to [dd/mm/yyyy] format
- """
- try:
- lst = json.loads(lst)
- except:
- lst = []
- period = ""
- for f_date, t_date in lst:
- period = format_html('{}From {} to {}
', period, f_date, t_date)
- return period
diff --git a/edivorce/apps/core/utils/derived.py b/edivorce/apps/core/utils/derived.py
index 3cad961e..9d4751a8 100644
--- a/edivorce/apps/core/utils/derived.py
+++ b/edivorce/apps/core/utils/derived.py
@@ -34,6 +34,7 @@ DERIVED_DATA = [
'wants_child_support',
'wants_other_orders',
'show_fact_sheet_a',
+ 'fact_sheet_a_error',
'show_fact_sheet_b',
'fact_sheet_b_error',
'show_fact_sheet_c',
@@ -86,7 +87,7 @@ DERIVED_DATA = [
'pursuant_parenting_arrangement',
'pursuant_child_support',
'sole_custody',
- 'special_expenses_missing_error',
+ 'any_errors',
]
@@ -160,6 +161,10 @@ def show_fact_sheet_a(responses, derived):
return responses.get('special_extraordinary_expenses', '') == 'YES'
+def fact_sheet_a_error(responses, derived):
+ return determine_missing_extraordinary_expenses(responses)
+
+
def show_fact_sheet_b(responses, derived):
"""
If any child lives with both parents, custody is shared, so Fact Sheet B
@@ -263,6 +268,7 @@ def fact_sheet_f_error(responses, derived):
if show_fact_sheet_f_spouse(responses, derived):
if _any_question_errors(responses, fields_for_spouse):
return True
+ return False
def has_fact_sheets(responses, derived):
@@ -739,8 +745,11 @@ def sole_custody(responses, derived):
return conditional_logic.determine_sole_custody(responses)
-def special_expenses_missing_error(responses, derived):
- return determine_missing_extraordinary_expenses(responses)
+def any_errors(responses, derived):
+ for question_key in responses:
+ if question_key.endswith('_error'):
+ return True
+ return False
def _any_question_errors(responses, questions):
diff --git a/edivorce/apps/core/utils/question_step_mapping.py b/edivorce/apps/core/utils/question_step_mapping.py
index 1638906c..3cac5e36 100644
--- a/edivorce/apps/core/utils/question_step_mapping.py
+++ b/edivorce/apps/core/utils/question_step_mapping.py
@@ -133,6 +133,8 @@ question_step_mapping = {
'lived_in_bc',
'lived_in_bc_at_least_year',
'separation_date',
+ 'try_reconcile_after_separated',
+ 'reconciliation_period',
'children_of_marriage',
'number_children_under_19',
'number_children_over_19',
@@ -142,10 +144,8 @@ question_step_mapping = {
'provide_certificate_later',
'provide_certificate_later_reason',
'not_provide_certificate_reason',
- 'divorce_reason',
'marriage_certificate_in_english',
- 'try_reconcile_after_separated',
- 'reconciliation_period'],
+ 'divorce_reason'],
'which_orders': ['want_which_orders'],
'your_information': ['name_you',
'any_other_name_you',
@@ -153,18 +153,18 @@ question_step_mapping = {
'last_name_born_you',
'last_name_before_married_you',
'birthday_you',
+ 'occupation_you',
'lived_in_bc_you',
- 'moved_to_bc_date_you',
- 'occupation_you'],
+ 'moved_to_bc_date_you',],
'your_spouse': ['name_spouse',
'any_other_name_spouse',
'other_name_spouse',
'last_name_born_spouse',
'last_name_before_married_spouse',
'birthday_spouse',
+ 'occupation_spouse',
'lived_in_bc_spouse',
- 'moved_to_bc_date_spouse',
- 'occupation_spouse'],
+ 'moved_to_bc_date_spouse',],
'your_marriage': ['when_were_you_married',
'where_were_you_married_city',
'where_were_you_married_prov',
@@ -295,7 +295,7 @@ page_step_mapping = {
'property': 'property_and_debt',
'other_orders': 'other_orders',
'other_questions': 'other_questions',
- 'filing_locations': 'filing_locations',
+ 'location': 'filing_locations',
}
""" List of court registries """
diff --git a/edivorce/apps/core/utils/step_completeness.py b/edivorce/apps/core/utils/step_completeness.py
index 7a8c27c0..ded8b269 100644
--- a/edivorce/apps/core/utils/step_completeness.py
+++ b/edivorce/apps/core/utils/step_completeness.py
@@ -34,7 +34,7 @@ def evaluate_numeric_condition(target, reveal_response):
def get_step_completeness(questions_by_step):
"""
- Accepts a dictionary of {step: {question_id: {question__name, question_id, value, error}}} <-- from get_step_responses
+ Accepts a dictionary of {step: [{question__name, question_id, value, error}]} <-- from get_step_responses
Returns {step: status}, {step: [missing_question_key]}
"""
status_dict = {}
@@ -84,15 +84,19 @@ def get_formatted_incomplete_list(missed_question_keys):
return missed_questions
-def get_error_dict(questions_by_step, step, substep=None):
+def get_error_dict(questions_by_step, step=None, substep=None):
"""
Accepts questions dict of {step: [{question_dict}]} and a step (and substep)
Returns a dict of {question_key_error: True} for missing questions that are part of that step (and substep)
"""
responses_dict = {}
- question_step = page_step_mapping[step]
- step_questions = questions_by_step.get(question_step)
-
+ if step:
+ question_step = page_step_mapping[step]
+ step_questions = questions_by_step.get(question_step)
+ else:
+ step_questions = []
+ for questions in questions_by_step.values():
+ step_questions.extend(questions)
# Since the Your children substep only has one question, show error if future children questions have been answered
children_substep_and_step_started = substep == 'your_children' and step_started(step_questions)
diff --git a/edivorce/apps/core/utils/user_response.py b/edivorce/apps/core/utils/user_response.py
index 0095475f..c0ae27da 100644
--- a/edivorce/apps/core/utils/user_response.py
+++ b/edivorce/apps/core/utils/user_response.py
@@ -27,7 +27,7 @@ def get_data_for_user(bceid_user):
def get_step_responses(responses_by_key):
"""
Accepts a dictionary of {question_key: user_response_value} <-- from get_data_for_user
- Returns a dictionary of {step: {question_id: {question__name, question_id, value, error}}}
+ Returns a dictionary of {step: [{question__name, question_id, value, error}]}
"""
responses_by_step = {}
for step in page_step_mapping.values():
diff --git a/edivorce/apps/core/views/main.py b/edivorce/apps/core/views/main.py
index 09dbbbff..ac2e62dd 100644
--- a/edivorce/apps/core/views/main.py
+++ b/edivorce/apps/core/views/main.py
@@ -199,16 +199,9 @@ def question(request, step, sub_step=None):
data_dict = get_data_for_user(request.user)
responses_dict_by_step = get_step_responses(data_dict)
step_status = get_step_completeness(responses_dict_by_step)
+ data_dict.update(get_error_dict(responses_dict_by_step))
derived = get_derived_data(data_dict)
- responses_dict = {}
-
- # Just for now (until showing missing questions in review is implemented) remove unanswered questions
- for step, question_list in responses_dict_by_step.items():
- copy = deepcopy(question_list)
- for question_dict in question_list:
- if question_dict['value'] is None:
- copy.remove(question_dict)
- responses_dict[step] = copy
+ responses_dict = responses_dict_by_step
else:
responses_dict = get_data_for_user(request.user)
responses_dict_by_step = get_step_responses(responses_dict)
diff --git a/edivorce/fixtures/Question.json b/edivorce/fixtures/Question.json
index b2a11b0a..b21af5e6 100644
--- a/edivorce/fixtures/Question.json
+++ b/edivorce/fixtures/Question.json
@@ -73,10 +73,34 @@
},
{
"fields": {
- "name": "Are you financially supporting any of the children that are 19 years or older?",
+ "name": "How many children are under the age of 19?",
"description": "For pre-qualification step 4, Form 1 3. Info concerning children",
"summary_order": 8,
"required": "Conditional",
+ "conditional_target": "children_of_marriage",
+ "reveal_response": "YES"
+ },
+ "model": "core.question",
+ "pk": "number_children_under_19"
+},
+{
+ "fields": {
+ "name": "How many children are 19 years or older?",
+ "description": "For pre-qualification step 4, Form 1 3. Info concerning children",
+ "summary_order": 9,
+ "required": "Conditional",
+ "conditional_target": "children_of_marriage",
+ "reveal_response": "YES"
+ },
+ "model": "core.question",
+ "pk": "number_children_over_19"
+},
+{
+ "fields": {
+ "name": "Are you financially supporting any of the children that are 19 years or older?",
+ "description": "For pre-qualification step 4, Form 1 3. Info concerning children",
+ "summary_order": 10,
+ "required": "Conditional",
"conditional_target": "number_children_over_19",
"reveal_response": ">0"
},
@@ -87,7 +111,7 @@
"fields": {
"name": "Do any of the your children live with someone who is not you or your spouse?",
"description": "For pre-qualification step 4, determines eligibility of using the app",
- "summary_order": 9,
+ "summary_order": 11,
"required": ""
},
"model": "core.question",
@@ -97,7 +121,7 @@
"fields": {
"name": "Will you be able to provide proof of your marriage (in the form of an original or certified marriage certificate or registration of marriage)?",
"description": "For pre-qualification step 5, Form 1 2. Divorce section D, Form 38(joint and sole) question 4",
- "summary_order": 10,
+ "summary_order": 12,
"required": "Required"
},
"model": "core.question",
@@ -107,7 +131,7 @@
"fields": {
"name": "Will you be providing the marriage certificate or registration of marriage at a later date?",
"description": "For pre-qualification step 5, Form 1 2. Divorce section D",
- "summary_order": 11,
+ "summary_order": 13,
"required": "Conditional",
"conditional_target": "original_marriage_certificate",
"reveal_response": "NO"
@@ -119,7 +143,7 @@
"fields": {
"name": "If you will be providing the marriage certificate or registration of marriage at a later date, please let us know why.",
"description": "For pre-qualification step 5, Form 1 2. Divorce section D",
- "summary_order": 12,
+ "summary_order": 14,
"required": "Conditional",
"conditional_target": "provide_certificate_later",
"reveal_response": "YES"
@@ -131,7 +155,7 @@
"fields": {
"name": "Please tell us why it is impossible to obtain a marriage certificate or registration of marriage.",
"description": "For pre-qualification step 5, Form 1 2. Divorce section D",
- "summary_order": 13,
+ "summary_order": 15,
"required": "Conditional",
"conditional_target": "provide_certificate_later",
"reveal_response": "NO"
@@ -143,7 +167,7 @@
"fields": {
"name": "Is your marriage certificate or registration of marriage in English OR been translated into English by a certified translator?",
"description": "For pre-qualification step 5",
- "summary_order": 14,
+ "summary_order": 16,
"required": "Conditional",
"conditional_target": "original_marriage_certificate",
"reveal_response": "YES"
@@ -155,7 +179,7 @@
"fields": {
"name": "What is your reason (grounds) for asking for a divorce?",
"description": "For pre-qualification step 6",
- "summary_order": 15,
+ "summary_order": 17,
"required": "Required"
},
"model": "core.question",
@@ -165,7 +189,7 @@
"fields": {
"name": "What are you asking for (Orders)?",
"description": "For step 1, Form 1 2. Divorce, 5. Spousal support, 6. Property and debt, 7. Other ",
- "summary_order": 16,
+ "summary_order": 18,
"required": "Required"
},
"model": "core.question",
@@ -175,7 +199,7 @@
"fields": {
"name": "Please enter your name (as it appears on the marriage certificate).",
"description": "For step 2, Form 1 Claimant 1, Form 35 Claimant 1, Filed by, Form 36 Claimant 1, Form 38 Claimant 1(sole), Form 38 Claimant 1, affidavit section(joint), Form 52 Claimant 1",
- "summary_order": 17,
+ "summary_order": 19,
"required": "Required"
},
"model": "core.question",
@@ -185,7 +209,7 @@
"fields": {
"name": "Do you go by any other names?",
"description": "For step 2, Form 1 Claimant 1, Form 35 Claimant 1, Form 36 Claimant 1, Form 38 Claimant 1(sole), Form 38 Claimant 1, affidavit section(joint), Form 52 Claimant 1",
- "summary_order": 18,
+ "summary_order": 20,
"required": "Required"
},
"model": "core.question",
@@ -195,11 +219,10 @@
"fields": {
"name": "Please enter the name.",
"description": "For step 2, Same as above(any_other_name_you)",
- "summary_order": 19,
+ "summary_order": 21,
"required": "Conditional",
"conditional_target": "any_other_name_you",
"reveal_response": "YES"
-
},
"model": "core.question",
"pk": "other_name_you"
@@ -208,7 +231,7 @@
"fields": {
"name": "What was your last name when you were born?",
"description": "For step 2, Form 1 2. Divorce section A",
- "summary_order": 20,
+ "summary_order": 22,
"required": ""
},
"model": "core.question",
@@ -218,7 +241,7 @@
"fields": {
"name": "What was your last name before you were married?",
"description": "For step 2, Form 1 2. Divorce section A",
- "summary_order": 21,
+ "summary_order": 23,
"required": ""
},
"model": "core.question",
@@ -228,7 +251,7 @@
"fields": {
"name": "What is your date of birth?",
"description": "For step 2, Form 1 2. Divorce section A, Form 1 2. Divorce resident in BC since",
- "summary_order": 22,
+ "summary_order": 24,
"required": "Required"
},
"model": "core.question",
@@ -238,7 +261,7 @@
"fields": {
"name": "What is your occupation?",
"description": "For step 2, Form 38(joint) first question",
- "summary_order": 23,
+ "summary_order": 25,
"required": "Required"
},
"model": "core.question",
@@ -248,7 +271,7 @@
"fields": {
"name": "How long have you lived in B.C.?",
"description": "For step 2, Form 1 2. Divorce section A",
- "summary_order": 24,
+ "summary_order": 26,
"required": "Required"
},
"model": "core.question",
@@ -258,7 +281,7 @@
"fields": {
"name": "You moved to B.C. on",
"description": "For step 2, Form 1 2. Divorce section A",
- "summary_order": 25,
+ "summary_order": 27,
"required": "Conditional",
"conditional_target": "lived_in_bc_you",
"reveal_response": "Moved to B.C. on"
@@ -270,7 +293,7 @@
"fields": {
"name": "Please enter your spouse's name (as it appears on the marriage certificate).",
"description": "For step 3, Form 1 Claimant 2, Form 35 Claimant 2, Filed by, Form 36 Claimant 2, Form 38 Claimant 2(sole), Form 38 Claimant 2, affidavit section(joint), Form 52 Claimant 2",
- "summary_order": 26,
+ "summary_order": 28,
"required": "Required"
},
"model": "core.question",
@@ -280,7 +303,7 @@
"fields": {
"name": "Does your spouse go by any other names?",
"description": "For step 3, Form 1 Claimant 2, Form 35 Claimant 2, Form 36 Claimant 2, Form 38 Claimant 2(sole), Form 38 Claimant 2, affidavit section(joint), Form 52 Claimant 2",
- "summary_order": 27,
+ "summary_order": 29,
"required": "Required"
},
"model": "core.question",
@@ -290,7 +313,7 @@
"fields": {
"name": "Please enter the name.",
"description": "For step 3, same as above",
- "summary_order": 28,
+ "summary_order": 30,
"required": "Conditional",
"conditional_target": "any_other_name_spouse",
"reveal_response": "YES"
@@ -302,7 +325,7 @@
"fields": {
"name": "What was their last name at birth?",
"description": "For step 3, Form 1 2. Divorce section A",
- "summary_order": 29,
+ "summary_order": 31,
"required": ""
},
"model": "core.question",
@@ -312,7 +335,7 @@
"fields": {
"name": "What was their last name before you were married?",
"description": "For step 3, Form 1 2. Divorce section A",
- "summary_order": 30,
+ "summary_order": 32,
"required": ""
},
"model": "core.question",
@@ -322,7 +345,7 @@
"fields": {
"name": "What is your spouse's date of birth?",
"description": "For step 3, Form 1 2. Divorce section A",
- "summary_order": 31,
+ "summary_order": 33,
"required": "Required"
},
"model": "core.question",
@@ -332,7 +355,7 @@
"fields": {
"name": "What is your spouse's occupation?",
"description": "For step 3, Form 38 first question",
- "summary_order": 33,
+ "summary_order": 34,
"required": "Required"
},
"model": "core.question",
@@ -342,7 +365,7 @@
"fields": {
"name": "How long has your spouse lived in B.C.?",
"description": "For step 3, Form 1 2. Divorce section A",
- "summary_order": 33,
+ "summary_order": 35,
"required": "Required"
},
"model": "core.question",
@@ -352,7 +375,7 @@
"fields": {
"name": "Spouse moved to British Columbia on",
"description": "For step 3, Form 1 2. Divorce section A",
- "summary_order": 34,
+ "summary_order": 36,
"required": "Conditional",
"conditional_target": "lived_in_bc_spouse",
"reveal_response": "Moved to B.C. on"
@@ -364,7 +387,7 @@
"fields": {
"name": "When were you married?",
"description": "For step 4, Form 1 1. Relationship history, Form 52 Court orders that section",
- "summary_order": 35,
+ "summary_order": 37,
"required": "Required"
},
"model": "core.question",
@@ -374,7 +397,7 @@
"fields": {
"name": "When did you and your spouse begin to live together in a marriage-like relationship?",
"description": "For step 4, Form 1 1. Relationship history",
- "summary_order": 36,
+ "summary_order": 38,
"required": "Required"
},
"model": "core.question",
@@ -384,7 +407,7 @@
"fields": {
"name": "Where were you married?",
"description": "For step 4, Form 1 2. Divorce section A, Form 52 Court orders that section",
- "summary_order": 37,
+ "summary_order": 39,
"required": "Required"
},
"model": "core.question",
@@ -394,7 +417,7 @@
"fields": {
"name": "Where were you married? Prov",
"description": "For step 4, Form 1 2. Divorce section A, Form 52 Court orders that section",
- "summary_order": 38,
+ "summary_order": 40,
"required": ""
},
"model": "core.question",
@@ -404,7 +427,7 @@
"fields": {
"name": "Where were you married? Country",
"description": "For step 4, Form 1 2. Divorce section A, Form 52 Court orders that section",
- "summary_order": 39,
+ "summary_order": 41,
"required": "Required"
},
"model": "core.question",
@@ -414,7 +437,7 @@
"fields": {
"name": "Where were you married? Other Country",
"description": "For step 4, Form 1 2. Divorce section A, Form 52 Court orders that section",
- "summary_order": 40,
+ "summary_order": 42,
"required": "Conditional",
"conditional_target": "where_were_you_married_country",
"reveal_response": "Other"
@@ -426,7 +449,7 @@
"fields": {
"name": "Before you got married to your spouse, what was your marital status?",
"description": "For step 4, Form 1 2. Divorce section A",
- "summary_order": 41,
+ "summary_order": 43,
"required": "Required"
},
"model": "core.question",
@@ -436,7 +459,7 @@
"fields": {
"name": "What was the marital status of your spouse before your marriage?",
"description": "For step 4, Form 1 2. Divorce section A",
- "summary_order": 42,
+ "summary_order": 44,
"required": "Required"
},
"model": "core.question",
@@ -446,7 +469,7 @@
"fields": {
"name": "There is no possibility my spouse and I will get back together (reconciliation).",
"description": "For step 5, Form 1 2. Divorce section C",
- "summary_order": 43,
+ "summary_order": 45,
"required": "Required"
},
"model": "core.question",
@@ -456,7 +479,7 @@
"fields": {
"name": "My spouse and I have not engaged in collusion to deceive the court in any way.",
"description": "For step 5, Form 1 2. Divorce section C",
- "summary_order": 44,
+ "summary_order": 46,
"required": "Required"
},
"model": "core.question",
@@ -466,7 +489,7 @@
"fields": {
"name": "You and your spouse are asking for an order for spousal support as follows",
"description": "For step 6, Form 1 5. Spousal support",
- "summary_order": 45,
+ "summary_order": 47,
"required": "Required"
},
"model": "core.question",
@@ -476,7 +499,7 @@
"fields": {
"name": "Please indicate which act you are asking for support under.",
"description": "For step 6, Form 1 5. Spousal support",
- "summary_order": 46,
+ "summary_order": 48,
"required": "Required"
},
"model": "core.question",
@@ -486,7 +509,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": 47,
+ "summary_order": 49,
"required": "Required"
},
"model": "core.question",
@@ -496,7 +519,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": 48,
+ "summary_order": 50,
"required": "Conditional",
"conditional_target": "deal_with_property_debt",
"reveal_response": "Unequal division"
@@ -508,7 +531,7 @@
"fields": {
"name": "Please list any other property claims.",
"description": "For step 7, Form 1 6. Property and debt",
- "summary_order": 50,
+ "summary_order": 51,
"required": ""
},
"model": "core.question",
@@ -518,7 +541,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": 51,
+ "summary_order": 52,
"required": ""
},
"model": "core.question",
@@ -528,7 +551,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": 52,
+ "summary_order": 53,
"required": "Required"
},
"model": "core.question",
@@ -538,7 +561,7 @@
"fields": {
"name": "City",
"description": "For step 9, Form 1 8. Claimants' addresses for service, Form 38(joint) Affidavit section",
- "summary_order": 53,
+ "summary_order": 54,
"required": "Required"
},
"model": "core.question",
@@ -548,7 +571,7 @@
"fields": {
"name": "Prov",
"description": "For step 9, Form 1 8. Claimants' addresses for service, Form 38(joint) Affidavit section",
- "summary_order": 54,
+ "summary_order": 55,
"required": ""
},
"model": "core.question",
@@ -558,7 +581,7 @@
"fields": {
"name": "Country",
"description": "For step 9, Form 1 8. Claimants' addresses for service, Form 38(joint) Affidavit section",
- "summary_order": 55,
+ "summary_order": 56,
"required": "Required"
},
"model": "core.question",
@@ -568,7 +591,7 @@
"fields": {
"name": "Other Country",
"description": "For step 9, Form 1 8. Claimants' addresses for service, Form 38(joint) Affidavit section",
- "summary_order": 56,
+ "summary_order": 57,
"required": "Conditional",
"conditional_target": "address_to_send_official_document_country_you",
"reveal_response": "Other"
@@ -580,7 +603,8 @@
"fields": {
"name": "Postal code",
"description": "For step 9, Form 1 8. Claimants' addresses for service, Form 38(joint) Affidavit section",
- "summary_order": 57
+ "summary_order": 58,
+ "required": ""
},
"model": "core.question",
"pk": "address_to_send_official_document_postal_code_you"
@@ -589,7 +613,8 @@
"fields": {
"name": "Fax number",
"description": "For step 9, Form 1 8. Claimants' addresses for service",
- "summary_order": 58
+ "summary_order": 59,
+ "required": ""
},
"model": "core.question",
"pk": "address_to_send_official_document_fax_you"
@@ -598,7 +623,8 @@
"fields": {
"name": "Email",
"description": "For step 9, Form 1 8. Claimants' addresses for service",
- "summary_order": 59
+ "summary_order": 60,
+ "required": ""
},
"model": "core.question",
"pk": "address_to_send_official_document_email_you"
@@ -607,7 +633,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": 60,
+ "summary_order": 61,
"required": "Required"
},
"model": "core.question",
@@ -617,7 +643,7 @@
"fields": {
"name": "City",
"description": "For step 9, Form 1 8. Claimants' addresses for service, Form 38(joint) Affidavit section",
- "summary_order": 61,
+ "summary_order": 62,
"required": "Required"
},
"model": "core.question",
@@ -627,7 +653,7 @@
"fields": {
"name": "Prov",
"description": "For step 9, Form 1 8. Claimants' addresses for service, Form 38(joint) Affidavit section",
- "summary_order": 62,
+ "summary_order": 63,
"required": ""
},
"model": "core.question",
@@ -637,7 +663,7 @@
"fields": {
"name": "Country",
"description": "For step 9, Form 1 8. Claimants' addresses for service, Form 38(joint) Affidavit section",
- "summary_order": 63,
+ "summary_order": 64,
"required": "Required"
},
"model": "core.question",
@@ -647,7 +673,7 @@
"fields": {
"name": "Other Country",
"description": "For step 9, Form 1 8. Claimants' addresses for service, Form 38(joint) Affidavit section",
- "summary_order": 64,
+ "summary_order": 65,
"required": "Conditional",
"conditional_target": "address_to_send_official_document_country_spouse",
"reveal_response": "Other"
@@ -659,7 +685,8 @@
"fields": {
"name": "Postal code",
"description": "For step 9, Form 1 8. Claimants' addresses for service",
- "summary_order": 65
+ "summary_order": 66,
+ "required": ""
},
"model": "core.question",
"pk": "address_to_send_official_document_postal_code_spouse"
@@ -668,7 +695,8 @@
"fields": {
"name": "Fax number",
"description": "For step 9, Form 1 8. Claimants' addresses for service",
- "summary_order": 66
+ "summary_order": 67,
+ "required": ""
},
"model": "core.question",
"pk": "address_to_send_official_document_fax_spouse"
@@ -677,7 +705,8 @@
"fields": {
"name": "Email",
"description": "For step 9, Form 1 8. Claimants' addresses for service",
- "summary_order": 67
+ "summary_order": 68,
+ "required": ""
},
"model": "core.question",
"pk": "address_to_send_official_document_email_spouse"
@@ -686,7 +715,7 @@
"fields": {
"name": "Divorce is to take effect on",
"description": "For step 9, Form 52 This Court Orders that",
- "summary_order": 68,
+ "summary_order": 69,
"required": "Required"
},
"model": "core.question",
@@ -696,7 +725,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": 69,
+ "summary_order": 70,
"required": "Conditional",
"conditional_target": "divorce_take_effect_on",
"reveal_response": "specific date"
@@ -708,7 +737,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": 70,
+ "summary_order": 71,
"required": "Required"
},
"model": "core.question",
@@ -718,7 +747,7 @@
"fields": {
"name": "Are you asking for a name change?",
"description": "For Step 10, Forms 38 and 52's Orders sections",
- "summary_order": 71,
+ "summary_order": 72,
"required": "Required"
},
"model": "core.question",
@@ -728,7 +757,7 @@
"fields": {
"name": "Please enter the full name",
"description": "For Step 10, Forms 38 and 52's Orders sections",
- "summary_order": 72,
+ "summary_order": 73,
"required": "Conditional",
"conditional_target": "name_change_you",
"reveal_response": "YES"
@@ -740,7 +769,7 @@
"fields": {
"name": "Is your spouse asking for a name change?",
"description": "For Step 10, Forms 38 and 52's Orders sections",
- "summary_order": 73,
+ "summary_order": 74,
"required": "Required"
},
"model": "core.question",
@@ -750,7 +779,7 @@
"fields": {
"name": "Please enter the full name",
"description": "For Step 10, Forms 38 and 52's Orders sections",
- "summary_order": 74,
+ "summary_order": 75,
"required": "Conditional",
"conditional_target": "name_change_spouse",
"reveal_response": "YES"
@@ -758,35 +787,11 @@
"model": "core.question",
"pk": "name_change_spouse_fullname"
},
-{
- "fields": {
- "name": "How many children are under the age of 19?",
- "description": "For pre-qualification step 4, Form 1 3. Info concerning children",
- "summary_order": 0,
- "required": "Conditional",
- "conditional_target": "children_of_marriage",
- "reveal_response": "YES"
- },
- "pk": "number_children_under_19",
- "model": "core.question"
-},
-{
- "fields": {
- "name": "How many children are 19 years or older?",
- "description": "For pre-qualification step 4, Form 1 3. Info concerning children",
- "summary_order": 0,
- "required": "Conditional",
- "conditional_target": "children_of_marriage",
- "reveal_response": "YES"
- },
- "pk": "number_children_over_19",
- "model": "core.question"
-},
{
"fields": {
"name": "Your children",
"description": "For Step 6, Your children",
- "summary_order": 0,
+ "summary_order": 76,
"required": "Required"
},
"model": "core.question",
@@ -796,7 +801,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": 0,
+ "summary_order": 77,
"required": "Required"
},
"model": "core.question",
@@ -806,7 +811,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": 0,
+ "summary_order": 78,
"required": "Required"
},
"model": "core.question",
@@ -816,7 +821,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": 0,
+ "summary_order": 79,
"required": "Required"
},
"model": "core.question",
@@ -826,7 +831,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": 0,
+ "summary_order": 80,
"required": "Required"
},
"model": "core.question",
@@ -836,7 +841,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": 0,
+ "summary_order": 81,
"required": "Conditional",
"conditional_target": "want_parenting_arrangements",
"reveal_response": "YES"
@@ -848,7 +853,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": 0,
+ "summary_order": 82,
"required": "Conditional",
"conditional_target": "child_support_in_order",
"reveal_response": "!NO"
@@ -860,7 +865,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": 0,
+ "summary_order": 83,
"required": "Conditional",
"conditional_target": "determine_child_support_act_requirement",
"reveal_response": "True"
@@ -872,7 +877,7 @@
"fields": {
"name": "How will you and your spouse be determining your income?",
"description": "For Step 6, Your children - Income & expenses",
- "summary_order": 0,
+ "summary_order": 84,
"required": "Required"
},
"model": "core.question",
@@ -882,7 +887,7 @@
"fields": {
"name": "What is your annual gross income as determined above?",
"description": "For Step 6, Your children - Income & expenses",
- "summary_order": 0,
+ "summary_order": 85,
"required": "Required"
},
"model": "core.question",
@@ -892,7 +897,7 @@
"fields": {
"name": "How many child(ren) are you asking for support?",
"description": "For Step 6, Your children - Income & expenses - Your Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 86,
"required": "Conditional",
"conditional_target": "determine_show_fact_sheet_f_you",
"reveal_response": "True"
@@ -904,7 +909,7 @@
"fields": {
"name": "How many child(ren) are you asking for support?",
"description": "For Step 6, Your children - Income & expenses - Your Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 87,
"required": "Conditional",
"conditional_target": "determine_show_fact_sheet_f_spouse",
"reveal_response": "True"
@@ -916,7 +921,7 @@
"fields": {
"name": "What is the Child Support Guidelines amount for $150,000?",
"description": "For Step 6, Your children - Income & expenses - Your Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 88,
"required": "Conditional",
"conditional_target": "determine_show_fact_sheet_f_you",
"reveal_response": "True"
@@ -928,7 +933,7 @@
"fields": {
"name": "What is the Child Support Guidelines amount for $150,000?",
"description": "For Step 6, Your children - Income & expenses - Your Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 89,
"required": "Conditional",
"conditional_target": "determine_show_fact_sheet_f_spouse",
"reveal_response": "True"
@@ -940,7 +945,7 @@
"fields": {
"name": "What is the % of income over $150,000 from the Child Support Guidlines?",
"description": "For Step 6, Your children - Income & expenses - Your Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 90,
"required": "Conditional",
"conditional_target": "determine_show_fact_sheet_f_you",
"reveal_response": "True"
@@ -952,7 +957,7 @@
"fields": {
"name": "What is the % of income over $150,000 from the Child Support Guidlines?",
"description": "For Step 6, Your children - Income & expenses - Your Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 91,
"required": "Conditional",
"conditional_target": "determine_show_fact_sheet_f_spouse",
"reveal_response": "True"
@@ -964,7 +969,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 - Income & expenses - Your Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 92,
"required": "Conditional",
"conditional_target": "determine_show_fact_sheet_f_you",
"reveal_response": "True"
@@ -976,7 +981,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 - Income & expenses - Your Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 93,
"required": "Conditional",
"conditional_target": "determine_show_fact_sheet_f_spouse",
"reveal_response": "True"
@@ -988,7 +993,7 @@
"fields": {
"name": "Guidelines table amount",
"description": "For Step 6, Your children - Income & expenses - Your Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 94,
"required": "Conditional",
"conditional_target": "determine_show_fact_sheet_f_you",
"reveal_response": "True"
@@ -1000,7 +1005,7 @@
"fields": {
"name": "Guidelines table amount",
"description": "For Step 6, Your children - Income & expenses - Your Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 95,
"required": "Conditional",
"conditional_target": "determine_show_fact_sheet_f_spouse",
"reveal_response": "True"
@@ -1012,7 +1017,7 @@
"fields": {
"name": "Do you and your spouse agree that amount is he child support amount?",
"description": "For Step 6, Your children - Income & expenses - Your Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 96,
"required": "Conditional",
"conditional_target": "determine_show_fact_sheet_f_you",
"reveal_response": "True"
@@ -1024,7 +1029,7 @@
"fields": {
"name": "Do you and your spouse agree that amount is he child support amount?",
"description": "For Step 6, Your children - Income & expenses - Your Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 97,
"required": "Conditional",
"conditional_target": "determine_show_fact_sheet_f_spouse",
"reveal_response": "True"
@@ -1036,7 +1041,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 - Income & expenses - Your Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 98,
"required": "Conditional",
"conditional_target": "agree_to_child_support_amount_you",
"reveal_response": "NO"
@@ -1048,7 +1053,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 - Income & expenses - Your Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 99,
"required": "Conditional",
"conditional_target": "agree_to_child_support_amount_spouse",
"reveal_response": "NO"
@@ -1060,7 +1065,7 @@
"fields": {
"name": "Why do you think the court should approve your proposed amount?",
"description": "For Step 6, Your children - Income & expenses - Your Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 100,
"required": "Conditional",
"conditional_target": "agree_to_child_support_amount_you",
"reveal_response": "NO"
@@ -1072,7 +1077,7 @@
"fields": {
"name": "Why do you think the court should approve your proposed amount?",
"description": "For Step 6, Your children - Income & expenses - Your Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 101,
"required": "Conditional",
"conditional_target": "agree_to_child_support_amount_spouse",
"reveal_response": "NO"
@@ -1084,7 +1089,7 @@
"fields": {
"name": "What is your spouse's annual gross income as determined above?",
"description": "For Step 6, Your children - Income & expenses",
- "summary_order": 0,
+ "summary_order": 102,
"required": "Required"
},
"model": "core.question",
@@ -1094,7 +1099,7 @@
"fields": {
"name": "Are you or your spouse claiming undue hardship?",
"description": "For Step 6, Your children - Income & expenses",
- "summary_order": 0,
+ "summary_order": 103,
"required": "Required"
},
"model": "core.question",
@@ -1104,7 +1109,7 @@
"fields": {
"name": "Unusual or excessive debts",
"description": "For Step 6, Your children - Income & expenses - Spouse Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 104,
"required": "Conditional",
"conditional_target": "determine_missing_undue_hardship_reasons",
"reveal_response": "True"
@@ -1116,7 +1121,7 @@
"fields": {
"name": "Unusually high expenses for parenting time, contact with, or access to a child.",
"description": "For Step 6, Your children - Income & expenses - Spouse Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 105,
"required": "Conditional",
"conditional_target": "determine_missing_undue_hardship_reasons",
"reveal_response": "True"
@@ -1128,7 +1133,7 @@
"fields": {
"name": "Supporting another person",
"description": "For Step 6, Your children - Income & expenses - Spouse Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 106,
"required": "Conditional",
"conditional_target": "determine_missing_undue_hardship_reasons",
"reveal_response": "True"
@@ -1140,7 +1145,7 @@
"fields": {
"name": "Supporting dependent child/children from another relationship.",
"description": "For Step 6, Your children - Income & expenses - Spouse Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 107,
"required": "Conditional",
"conditional_target": "determine_missing_undue_hardship_reasons",
"reveal_response": "True"
@@ -1152,7 +1157,7 @@
"fields": {
"name": "Support for a disabled or ill person.",
"description": "For Step 6, Your children - Income & expenses - Spouse Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 108,
"required": "Conditional",
"conditional_target": "determine_missing_undue_hardship_reasons",
"reveal_response": "True"
@@ -1164,7 +1169,7 @@
"fields": {
"name": "Other undue hardship circumstances",
"description": "For Step 6, Your children - Income & expenses - Spouse Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 109,
"required": "Conditional",
"conditional_target": "determine_missing_undue_hardship_reasons",
"reveal_response": "True"
@@ -1176,7 +1181,7 @@
"fields": {
"name": "Income of Other Persons in Household",
"description": "For Step 6, Your children - Income & expenses - Spouse Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 110,
"required": ""
},
"model": "core.question",
@@ -1186,7 +1191,7 @@
"fields": {
"name": "Are you claiming any special and extraordinary expenses?",
"description": "For Step 6, Your children - Income & expenses",
- "summary_order": 0,
+ "summary_order": 111,
"required": "Required"
},
"model": "core.question",
@@ -1196,7 +1201,7 @@
"fields": {
"name": "Child care expenses for when the recipient works or goes to school",
"description": "For Step 6, Your children - Income & expenses - Spouse Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 112,
"required": "Conditional",
"conditional_target": "determine_missing_extraordinary_expenses",
"reveal_response": "True"
@@ -1208,7 +1213,7 @@
"fields": {
"name": "Annual child care expenses for when the recipient works or goes to school",
"description": "For Step 6, Your children - Income & expenses - Spouse Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 113,
"required": "Conditional"
},
"model": "core.question",
@@ -1218,7 +1223,7 @@
"fields": {
"name": "Any healthcare premiums you pay to your employer or other provider to provide the coverage to your children rather than yourself",
"description": "For Step 6, Your children - Income & expenses - Spouse Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 114,
"required": "Conditional",
"conditional_target": "determine_missing_extraordinary_expenses",
"reveal_response": "True"
@@ -1230,7 +1235,7 @@
"fields": {
"name": "Any annual healthcare premiums you pay to your employer or other provider to provide the coverage to your children rather than yourself",
"description": "For Step 6, Your children - Income & expenses - Spouse Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 115,
"required": ""
},
"model": "core.question",
@@ -1240,7 +1245,7 @@
"fields": {
"name": "Health related expenses that exceed insurance reimbursement by at least $100",
"description": "For Step 6, Your children - Income & expenses - Spouse Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 116,
"required": "Conditional",
"conditional_target": "determine_missing_extraordinary_expenses",
"reveal_response": "True"
@@ -1252,7 +1257,7 @@
"fields": {
"name": "Annual health related expenses that exceed insurance reimbursement by at least $100",
"description": "For Step 6, Your children - Income & expenses - Spouse Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 117,
"required": ""
},
"model": "core.question",
@@ -1262,7 +1267,7 @@
"fields": {
"name": "Extraordinary primary, secondary or other educational expenses",
"description": "For Step 6, Your children - Income & expenses - Spouse Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 118,
"required": "Conditional",
"conditional_target": "determine_missing_extraordinary_expenses",
"reveal_response": "True"
@@ -1274,7 +1279,7 @@
"fields": {
"name": "Annual extraordinary primary, secondary or other educational expenses",
"description": "For Step 6, Your children - Income & expenses - Spouse Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 119,
"required": ""
},
"model": "core.question",
@@ -1284,7 +1289,7 @@
"fields": {
"name": "Post-secondary school expenses",
"description": "For Step 6, Your children - Income & expenses - Spouse Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 120,
"required": "Conditional",
"conditional_target": "determine_missing_extraordinary_expenses",
"reveal_response": "True"
@@ -1296,7 +1301,7 @@
"fields": {
"name": "Annual Post-secondary school expenses",
"description": "For Step 6, Your children - Income & expenses - Spouse Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 121,
"required": ""
},
"model": "core.question",
@@ -1306,7 +1311,7 @@
"fields": {
"name": "Extraordinary extracurricular activities expenses",
"description": "For Step 6, Your children - Income & expenses - Spouse Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 122,
"required": "Conditional",
"conditional_target": "determine_missing_extraordinary_expenses",
"reveal_response": "True"
@@ -1318,7 +1323,7 @@
"fields": {
"name": "Annual extraordinary extracurricular activities expenses",
"description": "For Step 6, Your children - Income & expenses - Spouse Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 123,
"required": ""
},
"model": "core.question",
@@ -1328,7 +1333,7 @@
"fields": {
"name": "Total section 7 expenses",
"description": "For Step 6, Your children - Income & expenses - Spouse Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 124,
"required": ""
},
"model": "core.question",
@@ -1338,7 +1343,7 @@
"fields": {
"name": "Annual total section 7 expenses",
"description": "For Step 6, Your children - Income & expenses - Spouse Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 125,
"required": ""
},
"model": "core.question",
@@ -1348,7 +1353,7 @@
"fields": {
"name": "Your proportionate share",
"description": "For Step 6, Your children - Income & expenses - Spouse Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 126,
"required": ""
},
"model": "core.question",
@@ -1358,7 +1363,7 @@
"fields": {
"name": "Your proportionate share",
"description": "For Step 6, Your children - Income & expenses - Spouse Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 127,
"required": ""
},
"model": "core.question",
@@ -1368,7 +1373,7 @@
"fields": {
"name": "Spouse's proportionate share",
"description": "For Step 6, Your children - Income & expenses - Spouse Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 128,
"required": ""
},
"model": "core.question",
@@ -1378,7 +1383,7 @@
"fields": {
"name": "Spouse's proportionate share",
"description": "For Step 6, Your children - Income & expenses - Spouse Fact Sheet F",
- "summary_order": 0,
+ "summary_order": 129,
"required": ""
},
"model": "core.question",
@@ -1388,7 +1393,7 @@
"fields": {
"name": "Please describe the order you are asking for regarding Special and Extraordinary Expenses",
"description": "For Step 6, Your children - Income & expenses",
- "summary_order": 0,
+ "summary_order": 130,
"required": "Conditional",
"conditional_target": "special_extraordinary_expenses",
"reveal_response": "YES"
@@ -1400,7 +1405,7 @@
"fields": {
"name": "Number of children",
"description": "For Step 6, Your children - Your children - Fact Sheet B Shared Custody",
- "summary_order": 0,
+ "summary_order": 131,
"required": "Conditional",
"conditional_target": "determine_shared_custody",
"reveal_response": "True"
@@ -1412,7 +1417,7 @@
"fields": {
"name": "What is the approximate amount of time the children spend with each parent?",
"description": "For Step 6, Your children - Your children - Fact Sheet B Shared Custody",
- "summary_order": 0,
+ "summary_order": 132,
"required": "Conditional",
"conditional_target": "determine_shared_custody",
"reveal_response": "True"
@@ -1424,7 +1429,7 @@
"fields": {
"name": "What is the approximate amount of time the children spend with each parent?",
"description": "For Step 6, Your children - Your children - Fact Sheet B Shared Custody",
- "summary_order": 0,
+ "summary_order": 133,
"required": "Conditional",
"conditional_target": "determine_shared_custody",
"reveal_response": "True"
@@ -1436,7 +1441,7 @@
"fields": {
"name": "What is the 'Guideline' amount for child support?",
"description": "For Step 6, Your children - Your children - Fact Sheet B Shared Custody",
- "summary_order": 0,
+ "summary_order": 134,
"required": "Conditional",
"conditional_target": "determine_shared_custody",
"reveal_response": "True"
@@ -1448,7 +1453,7 @@
"fields": {
"name": "What is the 'Guideline' amount for child support?",
"description": "For Step 6, Your children - Your children - Fact Sheet B Shared Custody",
- "summary_order": 0,
+ "summary_order": 135,
"required": "Conditional",
"conditional_target": "determine_shared_custody",
"reveal_response": "True"
@@ -1460,7 +1465,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 - Your children - Fact Sheet B Shared Custody",
- "summary_order": 0,
+ "summary_order": 136,
"required": ""
},
"model": "core.question",
@@ -1470,7 +1475,7 @@
"fields": {
"name": "Difference between Guidelines table amounts",
"description": "For Step 6, Your children - Your children - Fact Sheet B Shared Custody",
- "summary_order": 0,
+ "summary_order": 137,
"required": "Conditional",
"conditional_target": "claimant_children",
"reveal_response": ""
@@ -1482,7 +1487,7 @@
"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 - Your children - Fact Sheet C Split Custody",
- "summary_order": 0,
+ "summary_order": 138,
"required": "Conditional",
"conditional_target": "determine_split_custody",
"reveal_response": "True"
@@ -1494,7 +1499,7 @@
"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 - Your children - Fact Sheet C Split Custody",
- "summary_order": 0,
+ "summary_order": 139,
"required": "Conditional",
"conditional_target": "determine_split_custody",
"reveal_response": "True"
@@ -1506,7 +1511,7 @@
"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 - Your children - Fact Sheet C Split Custody",
- "summary_order": 0,
+ "summary_order": 140,
"required": "Conditional",
"conditional_target": "determine_split_custody",
"reveal_response": "True"
@@ -1518,7 +1523,7 @@
"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 - Your children - Fact Sheet C Split Custody",
- "summary_order": 0,
+ "summary_order": 141,
"required": "Conditional",
"conditional_target": "determine_split_custody",
"reveal_response": "True"
@@ -1530,7 +1535,7 @@
"fields": {
"name": "Difference between Guidelines table amounts",
"description": "For Step 6, Your children - Your children - Fact Sheet C Split Custody",
- "summary_order": 0,
+ "summary_order": 142,
"required": "Conditional",
"conditional_target": "claimant_children",
"reveal_response": ""
@@ -1542,7 +1547,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 - Income & expenses - Fact Sheet D Child(ren) 19 Years or Older",
- "summary_order": 0,
+ "summary_order": 143,
"required": "Conditional",
"conditional_target": "determine_child_over_19_supported",
"reveal_response": "True"
@@ -1554,7 +1559,7 @@
"fields": {
"name": "What would be the appropriate amount?",
"description": "For Step 6, Your children - Income & expenses - Fact Sheet D Child(ren) 19 Years or Older",
- "summary_order": 0,
+ "summary_order": 144,
"required": "Conditional",
"conditional_target": "agree_to_guideline_child_support_amount",
"reveal_response": "NO"
@@ -1566,7 +1571,7 @@
"fields": {
"name": "Please describe - Why do you think the court should approve your proposed amount?",
"description": "For Step 6, Your children - Income & expenses - Fact Sheet D Child(ren) 19 Years or Older",
- "summary_order": 0,
+ "summary_order": 145,
"required": "Conditional",
"conditional_target": "agree_to_guideline_child_support_amount",
"reveal_response": "NO"
@@ -1578,7 +1583,7 @@
"fields": {
"name": "Who is the payor?",
"description": "For Step 6, Your children - Payor & medical expenses",
- "summary_order": 0,
+ "summary_order": 146,
"required": "Required"
},
"model": "core.question",
@@ -1588,7 +1593,7 @@
"fields": {
"name": "What is the monthly child support amount (as per Schedule 1 of the guidelines) that is payable?",
"description": "For Step 6, Your children - Income & expenses",
- "summary_order": 0,
+ "summary_order": 147,
"required": "Conditional",
"conditional_target": "determine_sole_custody",
"reveal_response": "True"
@@ -1600,7 +1605,7 @@
"fields": {
"name": "What is the monthly child support amount proposed in the order to be paid by",
"description": "For Step 6, Your children - Payor & medical expenses",
- "summary_order": 0,
+ "summary_order": 148,
"required": "Required"
},
"model": "core.question",
@@ -1610,7 +1615,7 @@
"fields": {
"name": "What is the monthly child support amount proposed in the order to be paid by",
"description": "For Step 6, Your children - Payor & medical expenses",
- "summary_order": 0,
+ "summary_order": 149,
"required": "Conditional",
"conditional_target": "child_support_in_order",
"reveal_response": "DIFF"
@@ -1622,7 +1627,7 @@
"fields": {
"name": "We are not asking for child support to be included in the order",
"description": "For Step 6, Your children - Payor & medical expenses",
- "summary_order": 0,
+ "summary_order": 150,
"required": "Conditional",
"conditional_target": "child_support_in_order",
"reveal_response": "NO"
@@ -1634,7 +1639,7 @@
"fields": {
"name": "Do you and the other parent agree (have consented) on the child support amount?",
"description": "For Step 6, Your children - Payor & medical expenses",
- "summary_order": 0,
+ "summary_order": 151,
"required": "Conditional",
"conditional_target": "child_support_in_order",
"reveal_response": "DIFF"
@@ -1646,7 +1651,7 @@
"fields": {
"name": "What special provisions have been made?",
"description": "For Step 6, Your children - Payor & medical expenses",
- "summary_order": 0,
+ "summary_order": 152,
"required": "Conditional",
"conditional_target": "claimants_agree_to_child_support_amount",
"reveal_response": "NO"
@@ -1658,7 +1663,7 @@
"fields": {
"name": "Is medical coverage available for the children?",
"description": "For Step 6, Your children - Payor & medical expenses",
- "summary_order": 0,
+ "summary_order": 153,
"required": "Required"
},
"model": "core.question",
@@ -1668,7 +1673,7 @@
"fields": {
"name": "Whose plan is the coverage under?",
"description": "For Step 6, Your children - Payor & medical expenses",
- "summary_order": 0,
+ "summary_order": 154,
"required": "Conditional",
"conditional_target": "medical_coverage_available",
"reveal_response": "YES"
@@ -1680,7 +1685,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": 0,
+ "summary_order": 155,
"required": "Required"
},
"model": "core.question",
@@ -1690,7 +1695,7 @@
"fields": {
"name": "What is the amount as of today's date?",
"description": "For Step 6, Your children - Payor & medical expenses",
- "summary_order": 0,
+ "summary_order": 156,
"required": "Conditional",
"conditional_target": "child_support_payments_in_arrears",
"reveal_response": "YES"