diff --git a/edivorce/apps/core/static/js/functions.js b/edivorce/apps/core/static/js/functions.js index 846ada0c..fadac594 100644 --- a/edivorce/apps/core/static/js/functions.js +++ b/edivorce/apps/core/static/js/functions.js @@ -70,9 +70,22 @@ var showHideTargetId = function(el, id, related_id) { $('#' + related_id).show(); } - if (id === "#annual_gross_income") { - reveal($("input[name=agree_to_child_support_amount]:checked")); - } + var revealCheckboxes = [ + { + matchIdSelector: "#annual_gross_income", + radioSelector: "input[name=agree_to_child_support_amount]:checked" + }, + { + matchIdSelector: "#spouse_annual_gross_income", + radioSelector: "input[name=spouse_agree_to_child_support_amount]:checked" + } + ]; + + revealCheckboxes.forEach(function(option) { + if (id === option.matchIdSelector) { + reveal($(option.radioSelector)); + } + }); } }; diff --git a/edivorce/apps/core/templates/question/06_children_income_expenses.html b/edivorce/apps/core/templates/question/06_children_income_expenses.html index 64ce1d5d..54dbd753 100644 --- a/edivorce/apps/core/templates/question/06_children_income_expenses.html +++ b/edivorce/apps/core/templates/question/06_children_income_expenses.html @@ -39,7 +39,7 @@ ?
| + | Amount | +
|---|---|
| + How many child(ren) are you asking for support? + | ++ {% input_field type="number" name="spouse_number_children_seeking_support" class="fact-sheet-input" %} + | +
|
+ + What is the + {% include "partials/tooltip_link_federal_child_support_guidelines.html" with reference_link="http://www.justice.gc.ca/eng/rp-pr/fl-lf/child-enfant/guide/start-com.html#h11" link_text="Child Support Guidelines" %} + amount for $150,000? + + {% include "partials/inline_question_determine_amount_to_pay.html" with collapse_target_id="collapse_spouse_guideline_amount" %} + |
+ + {% input_field type="number" name="spouse_child_support_amount_under_high_income" class="fact-sheet-input spouse-guideline-amount" data_sum="true" data_sum_class="spouse-guideline-amount" data_sum_target_id="spouse_total_amount" %} + | +
| + What is the % of income over $150,000 from the + {% include "partials/tooltip_link_federal_child_support_guidelines.html" with reference_link="http://www.justice.gc.ca/eng/rp-pr/fl-lf/child-enfant/guide/start-com.html#h11" link_text="Child Support Guidelines" %} + ? + | ++ {% input_field type="number" name="spouse_percent_income_over_high_income_limit" class="fact-sheet-input" %} + | +
|
+ + What is the child support amount to be paid on the portion of income over $150,000? + +
+
+
+ How can I determine this amount?
+
+
+
+
+
+ + The child support tables only show an amount for the first $150,000 of income. You have + two choices for determining how much child support should be paid on the portion of + income over $150,000: + +
+ To speak to someone in person, you can call the Department of Justice Canada's Family + Law Information Line at 1-888-373-2222. When you call, be ready to tell them: + +
+ Source: + {% include "partials/tooltip_link_federal_child_support_guidelines.html" with reference_link="http://www.justice.gc.ca/eng/rp-pr/fl-lf/child-enfant/guide/start-com.html#h11" link_text="Federal Child Support Guidelines" %} + , Department of Justice + + |
+ + {% input_field type="number" name="spouse_amount_income_over_high_income_limit" class="fact-sheet-input spouse-guideline-amount" data_sum="true" data_sum_class="spouse-guideline-amount" data_sum_target_id="spouse_total_amount" %} + | +
| + Guidelines table amount + | ++ {% input_field type="number" name="spouse_total_guideline_amount" id="spouse_total_amount" class="fact-sheet-input" readonly="" data_mirror="true" data_mirror_target="#spouse_agreed_total_amount" data_mirror_broadcast_change="true"%} + | +
+ Do you and your spouse agree that ${{ spouse_total_guideline_amount }} is the child support amount? +
++ What is the amount that you and your spouse have agreed to? +
++ That differs from the Child Support Guidelines table amount +
++ Why do you think the court should approve your proposed amount? +
++ Discuss the conditions, means, needs and other circumstances of the child, and the financial ability of + each parent to support the child/children. +
+