From 660bb2e9ee04ff2ab02cecced9fec84d5825af4f Mon Sep 17 00:00:00 2001
From: Benard Ebinu
- What is the monthly
- {% 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?
-
+ What is the monthly
{% 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" %}
- ?
-
- What is the monthly child support amount to be paid on the portion of income over
- $150,000?
-
- 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:
-
- 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
-
+ What is the monthly child support amount to be paid on the portion of income over
+ $150,000?
+
+ 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:
+
+ 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
+
+ Discuss the conditions, means, needs and other circumstances of the child, and the financial
+ ability of
+ each parent to support the child/children.
+
- We have agreed on the Guidelines table amount set out at Line D above as
- the amount of child support.
-
- We have agreed on an amount of child support that differs from the Guidelines table amount and the amount of child support agreed on is:
- differs from the Guidelines table amount because: {{ responses.reason_child_support_amount|linebreaksbr }}
-
-
\ No newline at end of file
+
+
+
-
-
-
- Payor
- Amount
-
-
-
- How many child(ren) are you asking for support?
-
-
- {% input_field type="number" name="number_children_seeking_support_"|add:claimant_id class="fact-sheet-input" %}
-
-
-
-
-
-
-
-
-
+
- What is the % of income over $150,000 from the
+
+
+
+
+ Payor
+ Amount
+
+
+
+ How many child(ren) are you asking for support?
+
+
+ {% input_field type="number" name="number_children_seeking_support_"|add:claimant_id class="fact-sheet-input" %}
+
+
+
-
+
-
-
-
-
+
-
+
-
-
+
+
+
+
+ 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" %}
+ ?
+
+
+
+
+
-
+
-
-
-
+
+
-
-
-
- Guidelines table amount
-
-
-
-
+
+
+
+
+
+
+
+
+ Guidelines table amount
+
+
+
+
+ Do you and your spouse agree that ${% agreed_child_support_amount claimant_id %} 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?
+
+
-
-
-
- {% endif %} - {% endif %} diff --git a/edivorce/apps/core/templates/pdf/partials/fact_sheet_f_table.html b/edivorce/apps/core/templates/pdf/partials/fact_sheet_f_table.html index 8ee3323f..d43d4527 100644 --- a/edivorce/apps/core/templates/pdf/partials/fact_sheet_f_table.html +++ b/edivorce/apps/core/templates/pdf/partials/fact_sheet_f_table.html @@ -45,4 +45,25 @@ Income Over $150,000 - \ No newline at end of file + + + + {% if responses.does_payour_amount_match_guidelines == 'YES' %} ++ We have agreed on the Guidelines table amount set out at Line D above as + the amount of child support. +
+ {% else %} ++ We have agreed on an amount of child support that differs from the Guidelines table amount and the amount of child support agreed on is: +
differs from the Guidelines table amount because:
+{% lookup responses 'reason_child_support_amount_'|add:claimant_id %}
++
+ {% endif %} \ No newline at end of file diff --git a/edivorce/apps/core/templatetags/format_utils.py b/edivorce/apps/core/templatetags/format_utils.py index 939ce272..bf18d4be 100644 --- a/edivorce/apps/core/templatetags/format_utils.py +++ b/edivorce/apps/core/templatetags/format_utils.py @@ -174,3 +174,9 @@ def integer(value): def lookup(obj, property): """ Return the value of a dynamic property within an object""" return obj.get(property, '') + + +@register.simple_tag(takes_context=True) +def agreed_child_support_amount(context, claimant_id): + """Return the agree amount for the specific claimant fact sheet table.""" + return linebreaksli(context.get('amount_income_over_high_income_limit_{}'.format(claimant_id), '')) diff --git a/edivorce/fixtures/Question.json b/edivorce/fixtures/Question.json index 42ac19b6..c2d388ab 100644 --- a/edivorce/fixtures/Question.json +++ b/edivorce/fixtures/Question.json @@ -1009,7 +1009,7 @@ }, { "fields": { - "name": "What is the amount that you and your spouse have agreed to?", + "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, "required": "Conditional", @@ -1017,11 +1017,47 @@ "reveal_response": ">150000" }, "model": "core.question", - "pk": "agree_to_child_support_amount" + "pk": "agree_to_child_support_amount_you" }, { "fields": { - "name": "What is the amount that you and your spouse have agreed to?", + "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, + "required": "Conditional", + "conditional_target": "annual_gross_income", + "reveal_response": ">150000" + }, + "model": "core.question", + "pk": "agree_to_child_support_amount_spouse" +}, +{ + "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, + "required": "Conditional", + "conditional_target": "claimants_agree_to_child_support_amount", + "reveal_response": "NO" + }, + "model": "core.question", + "pk": "agreed_child_support_amount_you" +}, +{ + "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, + "required": "Conditional", + "conditional_target": "claimants_agree_to_child_support_amount", + "reveal_response": "NO" + }, + "model": "core.question", + "pk": "agreed_child_support_amount_spouse" +}, +{ + "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, "required": "Conditional", @@ -1029,7 +1065,7 @@ "reveal_response": "NO" }, "model": "core.question", - "pk": "agreed_child_support_amount" + "pk": "reason_child_support_amount_you" }, { "fields": { @@ -1041,7 +1077,7 @@ "reveal_response": "NO" }, "model": "core.question", - "pk": "reason_child_support_amount" + "pk": "reason_child_support_amount_spouse" }, { "fields": {