Browse Source

Split fact sheets into separate templates

pull/160/head
ariannedee 5 years ago
parent
commit
defe896422
11 changed files with 888 additions and 885 deletions
  1. +0
    -55
      edivorce/apps/core/static/js/main.js
  2. +237
    -0
      edivorce/apps/core/templates/partials/fact_sheets/fact_sheet_b.html
  3. +147
    -0
      edivorce/apps/core/templates/partials/fact_sheets/fact_sheet_c.html
  4. +76
    -0
      edivorce/apps/core/templates/partials/fact_sheets/fact_sheet_d.html
  5. +313
    -0
      edivorce/apps/core/templates/partials/fact_sheets/fact_sheet_e.html
  6. +74
    -0
      edivorce/apps/core/templates/partials/fact_sheets/fact_sheet_f.html
  7. +0
    -0
      edivorce/apps/core/templates/partials/fact_sheets/fact_sheet_f_table.html
  8. +12
    -824
      edivorce/apps/core/templates/question/06_children_facts.html
  9. +26
    -5
      edivorce/apps/core/utils/derived.py
  10. +2
    -0
      edivorce/apps/core/utils/question_step_mapping.py
  11. +1
    -1
      edivorce/apps/core/utils/step_completeness.py

+ 0
- 55
edivorce/apps/core/static/js/main.js View File

@ -355,25 +355,6 @@ $(function () {
} }
}); });
// show fact sheet b
if (childWithBoth) {
$('#fact_sheet_b').show();
} else {
$('#fact_sheet_b').hide();
}
// show fact sheet c
// When the claimants have indicated that they have more than one child, then show fact sheet c if each
// claimant has sole custody of at least one of the children or if one claimant has sole custody of at least one
// child and the both claimants have shared custody of the remaining children.
if (childWithYou && (childWithSpouse || childWithBoth)) {
$('#fact_sheet_c').show();
} else if (childWithSpouse && (childWithYou || childWithBoth)) {
$('#fact_sheet_c').show();
} else {
$('#fact_sheet_c').hide();
}
// Initiate Child support payor. // Initiate Child support payor.
populateChildSupportPayor(childWithBoth, childWithYou, childWithSpouse); populateChildSupportPayor(childWithBoth, childWithYou, childWithSpouse);
$('.determine-payor').on('change', function() { $('.determine-payor').on('change', function() {
@ -589,42 +570,6 @@ $(function () {
}); });
var payorCallback = function() { var payorCallback = function() {
var claimant = $(this).val();
var toggleFactSheetTable = function(table_suffix, claimant_name_selector, hide) {
$('#fact_sheet_f').show();
if (hide) {
$('#fact_sheet_f_table_' + table_suffix).hide();
} else {
var fact_sheet_table_element = $('#fact_sheet_f_table_' + table_suffix);
fact_sheet_table_element.show();
fact_sheet_table_element.find('input:radio, input:checkbox').each(reveal_input_elements);
}
if (claimant_name_selector) {
$('#fact_sheet_f_payor_title_' + table_suffix).text($(claimant_name_selector).text());
}
};
if (claimant === 'Myself (Claimant 1)' && parseFloat($('input[name="annual_gross_income"]').val()) > 150000) {
toggleFactSheetTable('1', '#__name_you');
toggleFactSheetTable('2', null, true);
} else if (claimant === 'My Spouse (Claimant 2)' && parseFloat($('input[name="spouse_annual_gross_income"]').val()) > 150000) {
toggleFactSheetTable('2', '#__name_spouse');
toggleFactSheetTable('1', null, true);
} else if (claimant === 'Both myself and my spouse') {
if (parseFloat($('input[name="annual_gross_income"]').val()) > 150000) {
toggleFactSheetTable('1', '#__name_you');
}
if (parseFloat($('input[name="spouse_annual_gross_income"]').val()) > 150000) {
toggleFactSheetTable('2', '#__name_spouse');
}
} else {
$('#fact_sheet_f').hide();
$('#fact_sheet_f_table_1').hide();
$('#fact_sheet_f_table_2').hide();
}
// Update Factsheet B payor label // Update Factsheet B payor label
var amount_b_you = $('#fact_b_your_child_support_paid').val(); var amount_b_you = $('#fact_b_your_child_support_paid').val();
var amount_b_spouse = $('#fact_b_your_spouse_child_support_paid').val(); var amount_b_spouse = $('#fact_b_your_spouse_child_support_paid').val();


+ 237
- 0
edivorce/apps/core/templates/partials/fact_sheets/fact_sheet_b.html View File

@ -0,0 +1,237 @@
{% load input_field %}
<div class="question-well fact-sheets {% if derived.fact_sheet_b_error %}error{% endif %}">
<h1>Shared Living Arrangement (Fact Sheet B)</h1>
<p>
Since you have previously indicated that the child/children will live with both parents more or less equally
(between 40 to 60% of the time with each parent) we need you to answer the questions below, even if you have a Separation Agreement or
existing Court Order.<br>
<b>This information is needed for the Judge. You will be able to indicate a different child support amount in a following step.</b>
</p>
<div class="question-well {% if number_of_children_error %}error{% endif %}">
<h3>Number of children{% if number_of_children_error %}{% include 'partials/required.html' %}{% endif %}</h3>
<p>
This is the number of children for which you and your spouse have a <b>shared parenting arrangement</b>
(the child spends at least 40 percent of the time with each of you in a year). If you and your spouse
have a split parenting arrangement for any other children, do not include them in this set of questions.
</p>
{% input_field type="number" name="number_of_children" class="form-control input-narrow positive-integer" min="0" %}
</div>
<br/>
<table class="table table-bordered">
<thead>
<tr>
<th></th>
<th>You</th>
<th>Spouse</th>
</tr>
</thead>
<tbody>
<tr>
<td class="fact-sheet-question">
<p>
What is the approximate amount of time the children spend with each parent?
</p>
<p>
Note: This includes time that a parent is responsible for the children, even if they are not
physically with that parent (for example the child is at school).
</p>
<div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_percentage_time"
aria-controls="collapse_percentage_time">
<div>
How do I determine the percentage of time spent with each parent?
</div>
</div>
<div class="collapse" id="collapse_percentage_time">
<div>
<p>For more information please refer to:</p>
<ul>
<li>
The <a href="http://www.justice.gc.ca/eng/rp-pr/fl-lf/child-enfant/guide/step3-etap3.html#h5"
target="_blank">Federal Child Support Guidelines: Step-by-Step Guide</a>
</li>
<li>
The <a href="http://www.familylaw.lss.bc.ca/resources/fact_sheets/child_support.php#fortyPercentPrinciple"
target="_blank">child support</a> page on the Family Law in B.C. website.
</li>
</ul>
</div>
</div>
</td>
<td class="fact-sheet-answer">
<div class="{% if time_spent_with_you_error %}table-error{% endif %}">
<div class="percent-suffix">
{% input_field type="number" name="time_spent_with_you" class="fact-sheet-input" min="0" placeholder="enter number" ignore_error=True %}
<label> %</label>
</div>
</div>
</td>
<td class="fact-sheet-answer">
<div class="{% if time_spent_with_spouse_error %}table-error{% endif %}">
<div class="percent-suffix">
{% input_field type="number" name="time_spent_with_spouse" class="fact-sheet-input" min="0" placeholder="enter number" ignore_error=True %}
<label> %</label>
</div>
</div>
</td>
</tr>
<tr>
</tr>
<tr>
<td class="fact-sheet-question">Annual income as per
<a href="http://laws-lois.justice.gc.ca/eng/regulations/SOR-97-175/page-2.html#h-6" target="_blank">Federal Child Support
Guidelines</a>
<span class="tooltip-link"
data-toggle="tooltip"
data-placement="right"
data-html="true"
title="<b>Federal Child Support Guidelines</b><br />
This is a copy of an official work that is published by the Government of Canada and that this copy has
not been produced in affiliation with, or with the endorsement of the Government of Canada."><i class="fa fa-question-circle"
aria-hidden="true"></i>
</span>
</td>
<td class="fact-sheet-answer" readonly>
<div class="dollar-prefix">
{% money_input_field id="fact_b_annual_gross_income" name="annual_gross_income" value="" class="fact-sheet-input" readonly="" ignore_error=True %}
</div>
</td>
<td class="fact-sheet-answer" readonly>
<div class="dollar-prefix">
{% money_input_field id="fact_b_spouse_annual_gross_income" name="spouse_annual_gross_income" value="" class="fact-sheet-input" readonly="" ignore_error=True %}
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">What is the 'Guideline' amount for child support?
</td>
<td class="fact-sheet-answer">
<div class="{% if your_child_support_paid_b_error %}table-error{% endif %}">
<div class="dollar-prefix">
{% money_input_field id="fact_b_your_child_support_paid" name="your_child_support_paid_b" class="fact-sheet-input claimants-child-support-amounts determine-payor" data_calc_delta="true" data_delta_term_selector=".claimants-child-support-amounts" data_delta_target_selector="input[name=difference_payment_amounts_b]" placeholder="enter amount" ignore_error=True %}
</div>
</div>
</td>
<td class="fact-sheet-answer">
<div class="{% if your_spouse_child_support_paid_b_error %}table-error{% endif %}">
<div class="dollar-prefix">
{% money_input_field id="fact_b_your_spouse_child_support_paid" name="your_spouse_child_support_paid_b" class="fact-sheet-input claimants-child-support-amounts determine-payor" data_calc_delta="true" data_delta_term_selector=".claimants-child-support-amounts" data_delta_target_selector="input[name=difference_payment_amounts_b]" placeholder="enter amount" ignore_error=True %}
</div>
</div>
</td>
</tr>
<tr>
<td colspan="3">
<div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_amounted_needed"
aria-controls="collapse_amounted_needed">
<div>
How do I determine the 'Guideline' amount for child support?
</div>
</div>
<div class="collapse" id="collapse_amounted_needed">
<div>
<p>
To figure out how much child support the
<span class="tooltip-link"
data-toggle="tooltip"
data-placement="right"
data-html="true"
title="<b>Payor</b><br />The person who pays child support.">
payor<i class="fa fa-question-circle" aria-hidden="true"></i>
</span> will be paying under the guidelines:
</p>
<ul>
<li>
Use the <a href="http://www.justice.gc.ca/eng/fl-df/child-enfant/2017/look-rech.asp" target="_blank">
Child Support Table Lookup tool</a>
(effective from November 22, 2017) to calculate the correct amount of child support.
</li>
<li>
Refer to the <a href="http://laws-lois.justice.gc.ca/eng/regulations/SOR-97-175/index.html" target="_blank">
Federal Child Support Tables</a>
<span class="tooltip-link"
data-toggle="tooltip"
data-placement="right"
data-html="true"
title="<b>Federal Child Support Guidelines</b><br />
This is a copy of an official work that is published by the Government of Canada and that this copy has
not been produced in affiliation with, or with the endorsement of the Government of Canada."><i
class="fa fa-question-circle" aria-hidden="true"></i>
</span>.
Make sure you view the table pertaining to the province where the payor lives
</li>
</ul>
<p>
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:
</p>
<ul>
<li>Where the paying parent lives</li>
<li>Whether both parents live in the same province or territory, and</li>
<li>The number of children to be supported</li>
</ul>
</div>
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">
Difference between the Guidelines table amount of the claimant and the Guidelines table amount of the respondent
</td>
<td class="fact-sheet-answer" colspan="2" readonly>
<div class="dollar-prefix">
{% money_input_field name="difference_payment_amounts_b" value="" class="money fact-sheet-input" readonly="" %}
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">
Special or extraordinary expenses (as per
<a href="http://laws-lois.justice.gc.ca/eng/regulations/SOR-97-175/section-7.html" target="_blank">Section 7 of the Federal Child
Support Guidelines</a>
<span class="tooltip-link"
data-toggle="tooltip"
data-placement="right"
data-html="true"
title="<b>Federal Child Support Guidelines</b><br />
This is a copy of an official work that is published by the Government of Canada and that this copy has
not been produced in affiliation with, or with the endorsement of the Government of Canada."><i class="fa fa-question-circle"
aria-hidden="true"></i>
</span>
) to be paid monthly
</td>
<td class="fact-sheet-answer" readonly>
<div class="dollar-prefix">
{% money_input_field name="your_proportionate_share_amount" class="money fact-sheet-input" readonly="" %}
</div>
</td>
<td class="fact-sheet-answer" readonly="">
<div class="dollar-prefix">
{% money_input_field name="spouse_proportionate_share_amount" class="money fact-sheet-input" readonly="" %}
</div>
</td>
</tr>
<tr>
<td colspan="3">
<p>
Any other relevant information regarding the conditions, means, needs and other circumstances of
each spouse or of any child for whom support is sought? {% include 'partials/optional.html' %}
</p>
{% input_field style="height:50px;" type="textarea" name="additional_relevant_spouse_children_info" maxlength="500" rows="3" class="fact-sheet-input form-control response-textarea" %}
</td>
</tr>
<tr>
<td class="fact-sheet-question">
<p>Amount of child support to be paid per month by <span class="payor-placeholder">payor</span></p>
<p>Please note: You will need to indicate who the 'payor' is below.</p>
</td>
<td class="fact-sheet-answer" colspan="2" readonly>
<div class="dollar-prefix">
{% money_input_field name="difference_payment_amounts_b" value="" class="money fact-sheet-input different-payment-amounts" readonly="" %}
</div>
</td>
</tr>
</tbody>
</table>
</div>

+ 147
- 0
edivorce/apps/core/templates/partials/fact_sheets/fact_sheet_c.html View File

@ -0,0 +1,147 @@
{% load input_field %}
<div class="question-well fact-sheets {% if derived.fact_sheet_c_error %}error{% endif %}">
<h1>Split Living Arrangement (Fact Sheet C)</h1>
<p>
Since you have previously indicated that you and your spouse have more than one child and
at least one of the children lives primarily with just 1 parent (more than 60% of the time)
you must complete Fact Sheet C.
<b>This information is needed for the Judge. You will be able to indicate a different child support amount in a following step.</b>
</p>
{% if derived.show_fact_sheet_b and derived.show_fact_sheet_c %}
<div class="bg-danger" id="fact-sheet-b-and-c-alert">
<p>
Do not include any children that are <b>SHARED on fact sheet B.</b> You may indicate 0 (zero) children for 1 of the parents in Fact
Sheet C and insert 0 (zero) dollars for child support amount.
</p>
</div>
{% endif %}
<table class="table table-bordered">
<tbody>
<tr>
<td class="fact-sheet-question">
How many children spend more than <strong>60 percent of their time</strong> with you and for whom you are asking for support?
</td>
<td class="fact-sheet-answer table-bordered">
<div class="{% if number_of_children_claimant_error %}table-error{% endif %}">
{% input_field type="number" name="number_of_children_claimant" class="positive-integer fact-sheet-input number-spinner" min="0" placeholder="enter number" %}
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">
<p>
Your spouse's annual income?
</p>
<p>
As per
{% include "partials/tooltip_link_federal_child_support_guidelines.html" with reference_link="http://laws-lois.justice.gc.ca/eng/regulations/SOR-97-175/page-2.html#h-6" link_text="sections 15 to 20" %}
of the Federal Child Support Guidelines
</p>
<div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false"
data-target="#collapse_calculate_annual_income_spouse" aria-controls="collapse_calculate_annual_income">
<div>
How do I calculate annual income?
</div>
</div>
<div class="collapse" id="collapse_calculate_annual_income_spouse">
<div>
The Federal Child Support Guidelines, Step-by-Step Guide has a
{% 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/w1-f1.html#s1" link_text="worksheet" %}
you can use to help calculate your annual income. Step-by-step instructions are also detailed in 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/step5-etap5.html#h7" link_text="Step-by-Step Guide" %}
.
</div>
</div>
</td>
<td class="fact-sheet-answer" readonly>
<div class="dollar-prefix">
{% money_input_field id="fact_c_spouse_annual_gross_income" name="spouse_annual_gross_income" class="fact-sheet-input money" readonly="" %}
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">
<p>What is the 'Guideline' amount for child support payable by your spouse (as per
{% include "partials/tooltip_link_federal_child_support_guidelines.html" with reference_link="http://laws-lois.justice.gc.ca/eng/regulations/SOR-97-175/page-11.html#h-15" link_text="Federal Child Support Tables" %}
)?
</p>
{% include "partials/inline_question_determine_amount_to_pay.html" with collapse_target_id="collapse_calculate_amount_to_pay" %}
</td>
<td class="fact-sheet-answer">
<div class="dollar-prefix">
{% money_input_field id="fact_c_your_spouse_child_support_paid" name="your_spouse_child_support_paid_c" class="fact-sheet-input money claimants-child-support-paid determine-payor" data_calc_delta="true" data_delta_term_selector=".claimants-child-support-paid" data_delta_target_selector="input[name=difference_payment_amounts_c]" ignore_error=True %}
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">
How many children spend more than <strong>60 percent of their time</strong> with your spouse and for whom you are obliged to pay
support?
</td>
<td class="fact-sheet-answer table-bordered">
{% input_field type="number" name="number_of_children_claimant_spouse" class="positive-integer fact-sheet-input number-spinner" min="0" placeholder="enter number" %}
</td>
</tr>
<tr>
<td class="fact-sheet-question">
<p>Your annual income?</p>
<p>
As per
{% include "partials/tooltip_link_federal_child_support_guidelines.html" with reference_link="http://laws-lois.justice.gc.ca/eng/regulations/SOR-97-175/page-2.html#h-6" link_text="sections 15 to 20" %}
of the Federal Child Support Guidelines
</p>
<div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false"
data-target="#collapse_calculate_annual_income_you" aria-controls="collapse_calculate_annual_income">
<div>
How do I calculate annual income?
</div>
</div>
<div class="collapse" id="collapse_calculate_annual_income_you">
<div>
The Federal Child Support Guidelines, Step-by-Step Guide has a
{% 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/w1-f1.html#s1" link_text="worksheet" %}
you can use to
help calculate your annual income. Step-by-step instructions are also detailed in 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/step5-etap5.html#h7" link_text="Step-by-Step Guide" %}
.
</div>
</div>
</td>
<td class="fact-sheet-answer" readonly>
<div class="dollar-prefix">
{% money_input_field id="fact_c_annual_gross_income" name="annual_gross_income" class="fact-sheet-input money" readonly="" %}
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">
<p>What is the 'Guideline' amount for child support payable by you (as per
{% include "partials/tooltip_link_federal_child_support_guidelines.html" with reference_link="http://laws-lois.justice.gc.ca/eng/regulations/SOR-97-175/page-11.html#h-15" link_text="Federal Child Support Tables" %}
)?
</p>
{% include "partials/inline_question_determine_amount_to_pay.html" with collapse_target_id="collapse_calculate_claimant_amounts" %}
</td>
<td class="fact-sheet-answer">
<div class="dollar-prefix">
{% money_input_field id="fact_c_your_child_support_paid" name="your_child_support_paid_c" class="fact-sheet-input money claimants-child-support-paid determine-payor" data_calc_delta="true" data_delta_term_selector=".claimants-child-support-paid" data_delta_target_selector="input[name=difference_payment_amounts_c]" %}
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">
Difference between Guidelines table amounts
</td>
<td class="fact-sheet-answer" readonly>
<div class="dollar-prefix">
{% money_input_field id="difference_payment_amounts_c" name="difference_payment_amounts_c" class="fact-sheet-input different-payment-amounts" readonly="" %}
</div>
</td>
</tr>
</tbody>
</table>
</div>

+ 76
- 0
edivorce/apps/core/templates/partials/fact_sheets/fact_sheet_d.html View File

@ -0,0 +1,76 @@
{% load input_field %}
<div class="question-well fact-sheets {% if derived.fact_sheet_d_error %}error{% endif %}">
<h1>Child(ren) 19 Years or Older (Fact Sheet D)</h1>
<p>
Since you have previously indicated that you have a child/children 19 years of age or older for whom support
is claimed, you will need to answer the next set of questions.
</p>
<div class="question-well">
<p>
How many child(ren) are 19 years or older for whom you are asking for support?
</p>
<div>
{% input_field type="number" name="number_children_over_19_need_support" value="number_children_over_19" class="fact-sheet-input input-narrow positive-integer" readonly="" %}
</div>
</div>
<div class="question-well">
<p>
What would the child support amount be using the Federal Child Support Guidelines?
<b>This information is needed for the Judge. You will be able to indicate a different child support amount in a following step.</b>
</p>
<div>
{% if derived.show_fact_sheet_b or derived.show_fact_sheet_c %}
<div class="dollar-prefix">
{% money_input_field id="total_spouse_paid_child_support" name="total_spouse_paid_child_support" value=derived.guideline_amounts_difference_total class="fact-sheet-input money input-narrow form-block response-textbox" readonly="" %}
</div>
{% else %}
<div class="dollar-prefix">
{% money_input_field name="total_spouse_paid_child_support" value_src="payor_monthly_child_support_amount" class="fact-sheet-input money input-narrow form-block response-textbox" readonly="" %}
</div>
{% endif %}
</div>
{% include "partials/inline_question_determine_amount_to_pay.html" with collapse_target_id="collapse_calculate_amounts" %}
</div>
<div class="question-well-border-less">
<p>
Because you have a child(ren) 19 years or older, who may also be contributing to their own support, do you and your spouse agree that the
monthly Guidelines table amount for child support is appropriate?
{% if agree_to_guideline_child_support_amount_error %}{% include 'partials/required.html' %}{% endif %}
</p>
<div class="btn-radio-group" data-toggle="buttons">
<label class="btn btn-radio">
{% input_field type="radio" name="agree_to_guideline_child_support_amount" class="fact-sheet-input" autocomplete="off" value="YES" data_target_id="enter_appropriate_amount" data_reveal_target="false" %}
Yes
</label>
<label class="btn btn-radio">
{% input_field type="radio" name="agree_to_guideline_child_support_amount" class="fact-sheet-input" autocomplete="off" value="NO" data_target_id="enter_appropriate_amount" data_reveal_target="true" %}
No
</label>
</div>
<div id="enter_appropriate_amount" hidden>
<p>
What would be the appropriate amount?
{% if appropriate_spouse_paid_child_support_error %}{% include 'partials/required.html' %}{% endif %}
</p>
<div class="dollar-prefix">
{% money_input_field name="appropriate_spouse_paid_child_support" class="fact-sheet-input money form-block response-textbox" %}
</div>
<p>
Please describe - Why do you think the court should approve your proposed amount?
</p>
<p>
Describe the condition, means, needs, and other circumstances of the child, and the financial
ability of
each parent to provide support to the child. {% if suggested_child_support_error %}{% include 'partials/required.html' %}{% endif %}
</p>
<div>
{% input_field type="textarea" name="suggested_child_support" class="fact-sheet-input form-control response-textarea" maxlength="500" rows="5" %}
</div>
</div>
</div>
</div>

+ 313
- 0
edivorce/apps/core/templates/partials/fact_sheets/fact_sheet_e.html View File

@ -0,0 +1,313 @@
{% load input_field %}
<div class="question-well {% if claiming_undue_hardship_error or derived.fact_sheet_e_error %}error{% endif %}">
<h3>Are you or your spouse claiming undue hardship?{% if claiming_undue_hardship_error %}{% include 'partials/required.html' %}{% endif %}</h3>
<p>
The Child Support Guidelines tables contain the base amounts for child support. If you our your spouse feel
that the child support amount will not leave enough money, you can claim that you will suffer
<span class="tooltip-link"
data-toggle="tooltip" data-placement="right" data-html="true"
title="
<b>Undue hardship</b>
<p>
Circumstances that show the amount of child support under the child support guidelines is too
high or low. Must create &quot;undue&quot; (exceptional, excessive or disproportionate) difficulty
for the person making the claim.
</p>
<p>
A term used by the Child Support Guidelines to describe circumstances when payment of the table
amount of child support would cause financial difficulty for the payor or the recipient, potentially
justifying an award of support in an amount different than the table amount. See &quot;child support,&quot;
&quot;Child Support Guidelines&quot; and &quot;table amount.&quot;
</p>
">
undue hardship<i class="fa fa-question-circle" aria-hidden="true"></i>.
</span>
</p>
<div class="btn-radio-group" data-toggle="buttons">
<label class="btn btn-radio">
{% input_field type="radio" name="claiming_undue_hardship" autocomplete="off" value="YES" data_target_id="fact_sheet_e" data_reveal_target="true" %}
YES
</label>
<label class="btn btn-radio">
{% input_field type="radio" name="claiming_undue_hardship" autocomplete="off" value="NO" data_target_id="fact_sheet_e" data_reveal_target="false" %}
NO
</label>
</div>
<div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false"
data-target="#collapse_undue_hardship_situations"
aria-controls="collapse_undue_hardship_situations">
<div>
What situations are considered to be undue hardship?
</div>
</div>
<div class="collapse" id="collapse_undue_hardship_situations">
<div>
<p>The types of situations that might result in undue hardship include:</p>
<ul>
<li>having an unusual or excessive amount of debt,</li>
<li>having to make other support payments to children of another family (for example, from a previous marriage),</li>
<li>having to support a disabled or ill person, and</li>
<li>having to spend a lot of money to visit the child (for example, airfare to another city).</li>
</ul>
</div>
</div>
<div id="fact_sheet_e" class="question-well-border-less" hidden>
<h1>Fact Sheet E Undue Hardship</h1>
<p>
Since you have previously indicated that you will be claiming undue hardship you will need to provide
answers to the next set of questions. A claim for undue hardship can only be considered if the parent
making the claim can show that their household’s standard of living is not higher than the standard of
living in the household of the other parent. Often, income alone (which is all that is used to calculate
the guideline amount) does not reflect other circumstances that may impact a households’ finances.
</p>
{% if derived.fact_sheet_e_error %}<p class="warning">* At least one debt, expense, person, or other circumstance must be added in
this area to claim Undue Hardship. You can turn off this requirement by selecting NO above for Undue Hardship.</p>{% endif %}
<p><strong>Unusual or excessive debts</strong></p>
<p>
What are the unusual or excessive debts that you owe? These are debts that were taken on to support the family
before you separated (e.g. student loans). The debt can also be due to earning a living (e.g. vehicle,
specialized equipment).
</p>
<table id="claimant_debts" class="list-builder">
<thead>
<tr class="list-builder-header">
<th class="table-bordered">Debt name</th>
<th class="table-bordered">What are the
<span class="tooltip-link"
data-toggle="tooltip" data-placement="right" data-html="true"
title="
<b>Terms of this Debt</b>
<p>For example, how much is owed, what is the rate of interest,
when it must be repaid.</p>
">
terms of this debt<i class="fa fa-question-circle" aria-hidden="true"></i>
</span>?
</th>
<th class="table-bordered">Monthly amount</th>
<th></th>
</tr>
</thead>
<tbody>
<tr class="debt-group" hidden>
{% include "partials/fact_sheet_excessive_debt.html" with debt_monthly_amount=0 %}
</tr>
{% multiple_values_to_list source=claimant_debts as debts %}
{% for debt in debts %}
<tr class="debt-item-row">
{% include "partials/fact_sheet_excessive_debt.html" with debt_name=debt.debt_name debt_terms=debt.debt_terms debt_monthly_amount=debt.debt_monthly_amount %}
</tr>
{% endfor %}
</tbody>
<tbody>
<tr>
<td class="btn-add-debt fact-sheet-control" colspan="3" readonly>
<a href=""><i class="fa fa-plus btn-add-debt"></i> Add Debt</a>
</td>
</tr>
</tbody>
</table>
<p><strong>Unusually high expenses for parenting time, contact with, or access to a child.</strong></p>
<p>
For example, airfare and accommodation to visit the child in another city.
</p>
<table id="claimant_expenses" class="list-builder">
<thead>
<tr class="list-builder-header">
<th class="table-bordered">Expense</th>
<th class="table-bordered">Amount</th>
<th></th>
</tr>
</thead>
<tbody>
<tr class="expense-group" hidden>
{% include "partials/fact_sheet_expense.html" with expense_amount=0 %}
</tr>
{% multiple_values_to_list source=claimant_expenses as expenses %}
{% for expense in expenses %}
<tr class="expense-item-row">
{% include "partials/fact_sheet_expense.html" with expense_name=expense.expense_name expense_amount=expense.expense_amount %}
</tr>
{% endfor %}
</tbody>
<tbody>
<tr>
<td class="btn-add-expense fact-sheet-control" colspan="2" readonly>
<a href=""><i class="fa fa-plus btn-add-expense"></i> Add Expense</a>
</td>
</tr>
</tbody>
</table>
<p><strong>Supporting another person</strong></p>
<p>
Legal duty to support any other person, such as a former spouse or a new spouse who is too ill or disabled to be able to support himself
or herself.
</p>
<table id="supporting_non_dependents" class="list-builder">
<thead>
<tr class="list-builder-header">
<th class="table-bordered">Name of person</th>
<th class="table-bordered">Relationship</th>
<th class="table-bordered">Describe reason(s) for support</th>
<th></th>
</tr>
</thead>
<tbody>
<tr class="supporting-non-dependent-group" hidden>
{% include "partials/fact_sheet_supporting_person.html" with name_field="non_dependent_name" relationship_field="non_dependent_relationship" reason_field="non_dependent_reason" input_field_class="supporting-non-dependent-input-field" save_selector=".supporting-non-dependent-input-field" delete_button_class="btn-delete-supporting-non-dependent" %}
</tr>
{% multiple_values_to_list source=supporting_non_dependents as non_dependents %}
{% for non_dependent in non_dependents %}
<tr class="supporting-non-dependent-item-row">
{% include "partials/fact_sheet_supporting_person.html" with name_field="non_dependent_name" relationship_field="non_dependent_relationship" reason_field="non_dependent_reason" input_field_class="supporting-non-dependent-input-field" save_selector=".supporting-non-dependent-input-field" delete_button_class="btn-delete-supporting-non-dependent" name=non_dependent.non_dependent_name relationship=non_dependent.non_dependent_relationship reason=non_dependent.non_dependent_reason %}
</tr>
{% endfor %}
</tbody>
<tbody>
<tr>
<td class="btn-add-supporting-non-dependent fact-sheet-control" colspan="3" readonly>
<a href=""><i class="fa fa-plus btn-add-supporting-non-dependent"></i> Add Person</a>
</td>
</tr>
</tbody>
</table>
<p><strong>Supporting dependent child/children from another relationship.</strong></p>
<p>
List the names of any other children for whom you have a legal duty to make support payments to.
Do not include the names of any children for whom you are asking for support for as a part of this
divorce application.
</p>
<table id="supporting_dependents" class="list-builder">
<thead>
<tr class="list-builder-header">
<th class="table-bordered">Child's name</th>
<th class="table-bordered">Relationship</th>
<th class="table-bordered">Describe reason(s) for support</th>
<th></th>
</tr>
</thead>
<tbody>
<tr class="supporting-dependent-group" hidden>
{% include "partials/fact_sheet_supporting_person.html" with name_field="supporting_dependent_name" relationship_field="supporting_dependent_relationship" reason_field="supporting_dependent_reason" input_field_class="supporting-dependent-input-field" delete_button_class="btn-delete-supporting-dependent" save_selector=".supporting-dependent-input-field" %}
</tr>
{% multiple_values_to_list source=supporting_dependents as dependents %}
{% for dependent in dependents %}
<tr class="supporting-dependent-item-row">
{% include "partials/fact_sheet_supporting_person.html" with name_field="supporting_dependent_name" relationship_field="supporting_dependent_relationship" reason_field="supporting_dependent_reason" input_field_class="supporting-dependent-input-field" delete_button_class="btn-delete-supporting-dependent" save_selector=".supporting-dependent-input-field" name=dependent.supporting_dependent_name relationship=dependent.supporting_dependent_relationship reason=dependent.supporting_dependent_reason %}
</tr>
{% endfor %}
</tbody>
<tbody>
<tr>
<td class="btn-add-supporting-dependent fact-sheet-control" colspan="3" readonly>
<a href=""><i class="fa fa-plus btn-add-supporting-dependent"></i> Add Person</a>
</td>
</tr>
</tbody>
</table>
<p><strong>Support for a disabled or ill person.</strong></p>
<table id="supporting_disabled" class="list-builder">
<thead>
<tr class="list-builder-header">
<th class="table-bordered">Name of person</th>
<th class="table-bordered">Relationship</th>
<th class="table-bordered">Describe reason(s) for support</th>
<th></th>
</tr>
</thead>
<tbody>
<tr class="supporting-disabled-group" hidden>
{% include "partials/fact_sheet_supporting_person.html" with name_field="supporting_disabled_name" relationship_field="supporting_disabled_relationship" reason_field="supporting_disabled_reason" input_field_class="supporting-disabled-input-field" delete_button_class="btn-delete-supporting-disabled" save_selector=".supporting-disabled-input-field" %}
</tr>
{% multiple_values_to_list source=supporting_disabled as dependents %}
{% for dependent in dependents %}
<tr class="supporting-disabled-item-row">
{% include "partials/fact_sheet_supporting_person.html" with name_field="supporting_disabled_name" relationship_field="supporting_disabled_relationship" reason_field="supporting_disabled_reason" input_field_class="supporting-disabled-input-field" delete_button_class="btn-delete-supporting-disabled" name=dependent.supporting_disabled_name relationship=dependent.supporting_disabled_relationship reason=dependent.supporting_disabled_reason save_selector=".supporting-disabled-input-field" %}
</tr>
{% endfor %}
</tbody>
<tbody>
<tr>
<td class="btn-add-supporting-disabled fact-sheet-control" colspan="3" readonly>
<a href=""><i class="fa fa-plus btn-add-supporting-disabled"></i> Add Person</a>
</td>
</tr>
</tbody>
</table>
<p class="fact-sheet-table-inline-question">
Other undue hardship circumstances
{% input_field type="textarea" name="undue_hardship" value="" maxlength="500" multiple='true' class="fact-sheet-input form-control response-textarea" placeholder="" %}
</p>
<p><strong>Income of Other Persons in Household</strong></p>
<p>
Enter the name (s) and income for any other persons in your household (e.g. co-parent, step parent)
who have a
<span class="tooltip-link"
data-toggle="tooltip"
data-placement="right"
data-html="true"
title="<b>Duty to support</b><br />
Parents and guardians have a responsibility (duty) under the law to financially support their
children, whether or not they see or take care of the children. A parent, for the purposes
of child support, may include a stepparent if they were living together, in a relationship,
with the child’s parent and the child during the child’s life. The duty of a stepparent or
non-parent guardian to provide support is secondary to that of the child’s parents.">
duty to support<i class="fa fa-question-circle" aria-hidden="true"></i>
</span>
a child.
</p>
<table id="income_others" class="list-builder list-builder-compact">
<thead>
<tr class="list-builder-header">
<th class="table-bordered">Name of person</th>
<th class="table-bordered">Annual income</th>
<th></th>
</tr>
</thead>
<tbody>
<tr class="income-others-group" hidden>
{% include "partials/fact_sheet_income_others.html" with income_others_amount=0 %}
</tr>
{% multiple_values_to_list source=income_others as incomes %}
{% for income in incomes %}
<tr class="income-others-item-row">
{% include "partials/fact_sheet_income_others.html" with income_others_name=income.income_others_name income_others_amount=income.income_others_amount %}
</tr>
{% endfor %}
</tbody>
<tbody>
<tr>
<td class="table-bordered">
Total
</td>
<td class="fact-sheet-answer table-bordered" readonly>
<div class="dollar-prefix">
{% money_input_field id="total_income_others" class="fact-sheet-input money" readonly="" %}
</div>
</td>
</tr>
</tbody>
<tbody>
<tr>
<td class="btn-add-income-others fact-sheet-control" colspan="2" readonly>
<a href="" tabindex="-1"><i class="fa fa-plus btn-add-income-others"></i> Add Person</a>
</td>
</tr>
</tbody>
</table>
<div id="undue_amount_question" hidden></div>
</div>
</div>

+ 74
- 0
edivorce/apps/core/templates/partials/fact_sheets/fact_sheet_f.html View File

@ -0,0 +1,74 @@
<div class="question-well fact-sheets {% if derived.fact_sheet_f_error %}error{% endif %}">
<h1>Income over $150,000 (Fact Sheet F)</h1>
<p>
Since you have previously indicated that the payor's income is over $150,000 you will need to provide
answers to the next set of questions. The child support guideline table you previously entered only goes
to $150,000. Income beyond that point requires a 2 stage calculation, the amount payable at $150,000 +
the amount payable on the income in excess of $150,000. This takes into account other factors such as
the financial ability of each parent, maintaining a certain quality of life, etc. It is no longer a
matter of there being money simply to look after the needs of the child, but rather the level of care
factoring in the family's lifestyle.
</p>
<p>
<div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false"
data-target="#collapseIncomeNeeded" aria-controls="collapseIncomeNeeded">
<div>
Whose income is needed?
</div>
</div>
</p>
<div class="collapse" id="collapseIncomeNeeded">
<div>
<p>
If the paying parent earns more than $150,000 per year, you may need to calculate both incomes.
The Federal Guidelines provide two options:
</p>
<ul style="list-style: none;">
<li>
<strong>Option 1</strong>: You can use the tables to determine the child support amount for the first $150,000. Then add
the percentage listed in the tables for the portion of income over $150,000. If you choose this
option, you would only need to calculate the paying parent’s income.
</li>
<li>
<strong>Option 2</strong>: You can use the tables to determine the child support amount for the first $150,000. You can
then determine an amount for the portion of income over $150,000 by looking at the condition,
means, needs and other circumstances of the child and the financial ability of each of you to
contribute. If you choose this option, you would need to calculate both incomes.
</li>
</ul>
<p>
In some cases:
</p>
<ul>
<li>
You may need to calculate your child’s income—for example, if the child is over the age of
majority and you are taking his or her financial means into consideration to determine a
child support amount.
</li>
<li>
You may need to calculate the income of every member of both households to compare the
standards of living if either of you is claiming undue hardship.
</li>
</ul>
<p>
Source: 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/step5-etap5.html#h7" link_text="Federal Child Support Guidelines" %}
Department of Justice
</p>
</div>
</div>
{% if derived.show_fact_sheet_f_you %}
<div id="fact_sheet_f_table_1" class="question-well-border-less">
{% include "partials/fact_sheets/fact_sheet_f_table.html" with table_id=1 claimant_id='you' %}
</div>
{% endif %}
{% if derived.show_fact_sheet_f_spouse %}
<div id="fact_sheet_f_table_2" class="question-well-border-less">
{% include "partials/fact_sheets/fact_sheet_f_table.html" with table_id=2 claimant_id='spouse' %}
</div>
{% endif %}
</div>

edivorce/apps/core/templates/partials/fact_sheet_f_table.html → edivorce/apps/core/templates/partials/fact_sheets/fact_sheet_f_table.html View File


+ 12
- 824
edivorce/apps/core/templates/question/06_children_facts.html View File

@ -14,374 +14,13 @@
<div id="claimant_children" hidden> <div id="claimant_children" hidden>
{{ claimant_children }} {{ claimant_children }}
</div> </div>
<div id="fact_sheet_b" class="question-well fact-sheets" hidden>
<h1>Shared Living Arrangement (Fact Sheet B)</h1>
<p>
Since you have previously indicated that the child/children will live with both parents more or less equally
(between 40 to 60% of the time with each parent) we need you to answer the questions below, even if you have a Separation Agreement or existing Court Order.<br>
<b>This information is needed for the Judge. You will be able to indicate a different child support amount in a following step.</b>
</p>
<div class="question-well {% if number_of_children_error %}error{% endif %}">
<h3>Number of children{% if number_of_children_error %}{% include 'partials/required.html' %}{% endif %}</h3>
<p>
This is the number of children for which you and your spouse have a <b>shared parenting arrangement</b>
(the child spends at least 40 percent of the time with each of you in a year). If you and your spouse
have a split parenting arrangement for any other children, do not include them in this set of questions.
</p>
{% input_field type="number" name="number_of_children" class="form-control input-narrow positive-integer" min="0" %}
</div>
<br />
<table class="table table-bordered">
<thead>
<tr>
<th></th>
<th>You</th>
<th>Spouse</th>
</tr>
</thead>
<tbody>
<tr>
<td class="fact-sheet-question">
<p>
What is the approximate amount of time the children spend with each parent?
</p>
<p>
Note: This includes time that a parent is responsible for the children, even if they are not
physically with that parent (for example the child is at school).
</p>
<div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_percentage_time" aria-controls="collapse_percentage_time">
<div>
How do I determine the percentage of time spent with each parent?
</div>
</div>
<div class="collapse" id="collapse_percentage_time">
<div>
<p>For more information please refer to:</p>
<ul>
<li>
The <a href="http://www.justice.gc.ca/eng/rp-pr/fl-lf/child-enfant/guide/step3-etap3.html#h5"
target="_blank">Federal Child Support Guidelines: Step-by-Step Guide</a>
</li>
<li>
The <a href="http://www.familylaw.lss.bc.ca/resources/fact_sheets/child_support.php#fortyPercentPrinciple"
target="_blank">child support</a> page on the Family Law in B.C. website.
</li>
</ul>
</div>
</div>
</td>
<td class="fact-sheet-answer">
<div class="{% if time_spent_with_you_error %}table-error{% endif %}">
<div class="percent-suffix">
{% input_field type="number" name="time_spent_with_you" class="fact-sheet-input" min="0" placeholder="enter number" ignore_error=True %}
<label> %</label>
</div>
</div>
</td>
<td class="fact-sheet-answer">
<div class="{% if time_spent_with_spouse_error %}table-error{% endif %}">
<div class="percent-suffix">
{% input_field type="number" name="time_spent_with_spouse" class="fact-sheet-input" min="0" placeholder="enter number" ignore_error=True %}
<label> %</label>
</div>
</div>
</td>
</tr>
<tr>
</tr>
<tr>
<td class="fact-sheet-question">Annual income as per
<a href="http://laws-lois.justice.gc.ca/eng/regulations/SOR-97-175/page-2.html#h-6" target="_blank">Federal Child Support Guidelines</a>
<span class="tooltip-link"
data-toggle="tooltip"
data-placement="right"
data-html="true"
title="<b>Federal Child Support Guidelines</b><br />
This is a copy of an official work that is published by the Government of Canada and that this copy has
not been produced in affiliation with, or with the endorsement of the Government of Canada."><i class="fa fa-question-circle" aria-hidden="true"></i>
</span>
</td>
<td class="fact-sheet-answer" readonly>
<div class="dollar-prefix">
{% money_input_field id="fact_b_annual_gross_income" name="annual_gross_income" value="" class="fact-sheet-input" readonly="" ignore_error=True %}
</div>
</td>
<td class="fact-sheet-answer" readonly>
<div class="dollar-prefix">
{% money_input_field id="fact_b_spouse_annual_gross_income" name="spouse_annual_gross_income" value="" class="fact-sheet-input" readonly="" ignore_error=True %}
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">What is the 'Guideline' amount for child support?
</td>
<td class="fact-sheet-answer">
<div class="{% if your_child_support_paid_b_error %}table-error{% endif %}">
<div class="dollar-prefix">
{% money_input_field id="fact_b_your_child_support_paid" name="your_child_support_paid_b" class="fact-sheet-input claimants-child-support-amounts determine-payor" data_calc_delta="true" data_delta_term_selector=".claimants-child-support-amounts" data_delta_target_selector="input[name=difference_payment_amounts_b]" placeholder="enter amount" ignore_error=True %}
</div>
</div>
</td>
<td class="fact-sheet-answer">
<div class="{% if your_spouse_child_support_paid_b_error %}table-error{% endif %}">
<div class="dollar-prefix">
{% money_input_field id="fact_b_your_spouse_child_support_paid" name="your_spouse_child_support_paid_b" class="fact-sheet-input claimants-child-support-amounts determine-payor" data_calc_delta="true" data_delta_term_selector=".claimants-child-support-amounts" data_delta_target_selector="input[name=difference_payment_amounts_b]" placeholder="enter amount" ignore_error=True %}
</div>
</div>
</td>
</tr>
<tr>
<td colspan="3">
<div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_amounted_needed" aria-controls="collapse_amounted_needed">
<div>
How do I determine the 'Guideline' amount for child support?
</div>
</div>
<div class="collapse" id="collapse_amounted_needed">
<div>
<p>
To figure out how much child support the
<span class="tooltip-link"
data-toggle="tooltip"
data-placement="right"
data-html="true"
title="<b>Payor</b><br />The person who pays child support.">
payor<i class="fa fa-question-circle" aria-hidden="true"></i>
</span> will be paying under the guidelines:
</p>
<ul>
<li>
Use the <a href="http://www.justice.gc.ca/eng/fl-df/child-enfant/2017/look-rech.asp" target="_blank">
Child Support Table Lookup tool</a>
(effective from November 22, 2017) to calculate the correct amount of child support.
</li>
<li>
Refer to the <a href="http://laws-lois.justice.gc.ca/eng/regulations/SOR-97-175/index.html" target="_blank">
Federal Child Support Tables</a>
<span class="tooltip-link"
data-toggle="tooltip"
data-placement="right"
data-html="true"
title="<b>Federal Child Support Guidelines</b><br />
This is a copy of an official work that is published by the Government of Canada and that this copy has
not been produced in affiliation with, or with the endorsement of the Government of Canada."><i class="fa fa-question-circle" aria-hidden="true"></i>
</span>.
Make sure you view the table pertaining to the province where the payor lives
</li>
</ul>
<p>
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:
</p>
<ul>
<li>Where the paying parent lives</li>
<li>Whether both parents live in the same province or territory, and</li>
<li>The number of children to be supported</li>
</ul>
</div>
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">
Difference between the Guidelines table amount of the claimant and the Guidelines table amount of the respondent
</td>
<td class="fact-sheet-answer" colspan="2" readonly>
<div class="dollar-prefix">
{% money_input_field name="difference_payment_amounts_b" value="" class="money fact-sheet-input" readonly="" %}
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">
Special or extraordinary expenses (as per
<a href="http://laws-lois.justice.gc.ca/eng/regulations/SOR-97-175/section-7.html" target="_blank">Section 7 of the Federal Child Support Guidelines</a>
<span class="tooltip-link"
data-toggle="tooltip"
data-placement="right"
data-html="true"
title="<b>Federal Child Support Guidelines</b><br />
This is a copy of an official work that is published by the Government of Canada and that this copy has
not been produced in affiliation with, or with the endorsement of the Government of Canada."><i class="fa fa-question-circle" aria-hidden="true"></i>
</span>
) to be paid monthly
</td>
<td class="fact-sheet-answer" readonly>
<div class="dollar-prefix">
{% money_input_field name="your_proportionate_share_amount" class="money fact-sheet-input" readonly="" %}
</div>
</td>
<td class="fact-sheet-answer" readonly="">
<div class="dollar-prefix">
{% money_input_field name="spouse_proportionate_share_amount" class="money fact-sheet-input" readonly="" %}
</div>
</td>
</tr>
<tr>
<td colspan="3">
<p>
Any other relevant information regarding the conditions, means, needs and other circumstances of
each spouse or of any child for whom support is sought? {% include 'partials/optional.html' %}
</p>
{% input_field style="height:50px;" type="textarea" name="additional_relevant_spouse_children_info" maxlength="500" rows="3" class="fact-sheet-input form-control response-textarea" %}
</td>
</tr>
<tr>
<td class="fact-sheet-question">
<p>Amount of child support to be paid per month by <span class="payor-placeholder">payor</span></p>
<p>Please note: You will need to indicate who the 'payor' is below.</p>
</td>
<td class="fact-sheet-answer" colspan="2" readonly>
<div class="dollar-prefix">
{% money_input_field name="difference_payment_amounts_b" value="" class="money fact-sheet-input different-payment-amounts" readonly="" %}
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div id="fact_sheet_c" class="question-well fact-sheets" hidden>
<h1>Split Living Arrangement (Fact Sheet C)</h1>
<p>
Since you have previously indicated that you and your spouse have more than one child and
at least one of the children lives primarily with just 1 parent (more than 60% of the time)
you must complete Fact Sheet C.
<b>This information is needed for the Judge. You will be able to indicate a different child support amount in a following step.</b>
</p>
{% if derived.show_fact_sheet_b and derived.show_fact_sheet_c %}
<div class="bg-danger" id="fact-sheet-b-and-c-alert">
<p>
Do not include any children that are <b>SHARED on fact sheet B.</b> You may indicate 0 (zero) children for 1 of the parents in Fact Sheet C and insert 0 (zero) dollars for child support amount.
</p>
</div>
{% if derived.show_fact_sheet_b %}
{% include "partials/fact_sheets/fact_sheet_b.html" %}
{% endif %} {% endif %}
<table class="table table-bordered">
<tbody>
<tr>
<td class="fact-sheet-question">
How many children spend more than <strong>60 percent of their time</strong> with you and for whom you are asking for support?
</td>
<td class="fact-sheet-answer table-bordered">
{% input_field type="number" name="number_of_children_claimant" class="positive-integer fact-sheet-input number-spinner" min="0" placeholder="enter number" %}
</td>
</tr>
<tr>
<td class="fact-sheet-question">
<p>
Your spouse's annual income?
</p>
<p>
As per
{% include "partials/tooltip_link_federal_child_support_guidelines.html" with reference_link="http://laws-lois.justice.gc.ca/eng/regulations/SOR-97-175/page-2.html#h-6" link_text="sections 15 to 20" %}
of the Federal Child Support Guidelines
</p>
<div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_calculate_annual_income_spouse" aria-controls="collapse_calculate_annual_income">
<div>
How do I calculate annual income?
</div>
</div>
<div class="collapse" id="collapse_calculate_annual_income_spouse">
<div>
The Federal Child Support Guidelines, Step-by-Step Guide has a
{% 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/w1-f1.html#s1" link_text="worksheet" %}
you can use to help calculate your annual income. Step-by-step instructions are also detailed in 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/step5-etap5.html#h7" link_text="Step-by-Step Guide" %}
.
</div>
</div>
</td>
<td class="fact-sheet-answer" readonly>
<div class="dollar-prefix">
{% money_input_field id="fact_c_spouse_annual_gross_income" name="spouse_annual_gross_income" class="fact-sheet-input money" readonly="" %}
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">
<p>What is the 'Guideline' amount for child support payable by your spouse (as per
{% include "partials/tooltip_link_federal_child_support_guidelines.html" with reference_link="http://laws-lois.justice.gc.ca/eng/regulations/SOR-97-175/page-11.html#h-15" link_text="Federal Child Support Tables" %}
)?
</p>
{% include "partials/inline_question_determine_amount_to_pay.html" with collapse_target_id="collapse_calculate_amount_to_pay" %}
</td>
<td class="fact-sheet-answer">
<div class="dollar-prefix">
{% money_input_field id="fact_c_your_spouse_child_support_paid" name="your_spouse_child_support_paid_c" class="fact-sheet-input money claimants-child-support-paid determine-payor" data_calc_delta="true" data_delta_term_selector=".claimants-child-support-paid" data_delta_target_selector="input[name=difference_payment_amounts_c]" ignore_error=True %}
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">
How many children spend more than <strong>60 percent of their time</strong> with your spouse and for whom you are obliged to pay support?
</td>
<td class="fact-sheet-answer table-bordered">
{% input_field type="number" name="number_of_children_claimant_spouse" class="positive-integer fact-sheet-input number-spinner" min="0" placeholder="enter number"%}
</td>
</tr>
<tr>
<td class="fact-sheet-question">
<p>Your annual income?</p>
<p>
As per
{% include "partials/tooltip_link_federal_child_support_guidelines.html" with reference_link="http://laws-lois.justice.gc.ca/eng/regulations/SOR-97-175/page-2.html#h-6" link_text="sections 15 to 20" %}
of the Federal Child Support Guidelines
</p>
<div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_calculate_annual_income_you" aria-controls="collapse_calculate_annual_income">
<div>
How do I calculate annual income?
</div>
</div>
<div class="collapse" id="collapse_calculate_annual_income_you">
<div>
The Federal Child Support Guidelines, Step-by-Step Guide has a
{% 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/w1-f1.html#s1" link_text="worksheet" %}
you can use to
help calculate your annual income. Step-by-step instructions are also detailed in 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/step5-etap5.html#h7" link_text="Step-by-Step Guide" %}
.
</div>
</div>
</td>
<td class="fact-sheet-answer" readonly>
<div class="dollar-prefix">
{% money_input_field id="fact_c_annual_gross_income" name="annual_gross_income" class="fact-sheet-input money" readonly="" %}
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">
<p>What is the 'Guideline' amount for child support payable by you (as per
{% include "partials/tooltip_link_federal_child_support_guidelines.html" with reference_link="http://laws-lois.justice.gc.ca/eng/regulations/SOR-97-175/page-11.html#h-15" link_text="Federal Child Support Tables" %}
)?
</p>
{% include "partials/inline_question_determine_amount_to_pay.html" with collapse_target_id="collapse_calculate_claimant_amounts" %}
</td>
<td class="fact-sheet-answer">
<div class="dollar-prefix">
{% money_input_field id="fact_c_your_child_support_paid" name="your_child_support_paid_c" class="fact-sheet-input money claimants-child-support-paid determine-payor" data_calc_delta="true" data_delta_term_selector=".claimants-child-support-paid" data_delta_target_selector="input[name=difference_payment_amounts_c]" %}
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">
Difference between Guidelines table amounts
</td>
<td class="fact-sheet-answer" readonly>
<div class="dollar-prefix">
{% money_input_field id="difference_payment_amounts_c" name="difference_payment_amounts_c" class="fact-sheet-input different-payment-amounts" readonly="" %}
</div>
</td>
</tr>
</tbody>
</table>
</div>
{% if derived.show_fact_sheet_c %}
{% include "partials/fact_sheets/fact_sheet_c.html" %}
{% endif %}
<div class="question-well" id="who_is_payor"> <div class="question-well" id="who_is_payor">
{% money_input_field name="annual_gross_income" hidden="true" %} {% money_input_field name="annual_gross_income" hidden="true" %}
@ -476,466 +115,15 @@
</div> </div>
</div> </div>
{% if derived.show_fact_sheet_d %}
{% include "partials/fact_sheets/fact_sheet_d.html" %}
{% endif %}
{% if derived.show_fact_sheet_d %}
<div id="fact_sheet_d" class="question-well fact-sheets {% if agree_to_guideline_child_support_amount_error or appropriate_spouse_paid_child_support_error or suggested_child_support_error%}error{% endif %}">
<h1>Child(ren) 19 Years or Older (Fact Sheet D)</h1>
<p>
Since you have previously indicated that you have a child/children 19 years of age or older for whom support
is claimed, you will need to answer the next set of questions.
</p>
<div class="question-well">
<p>
How many child(ren) are 19 years or older for whom you are asking for support?
</p>
<div>
{% input_field type="number" name="number_children_over_19_need_support" value="number_children_over_19" class="fact-sheet-input input-narrow positive-integer" readonly="" %}
</div>
</div>
<div class="question-well">
<p>
What would the child support amount be using the Federal Child Support Guidelines?
<b>This information is needed for the Judge. You will be able to indicate a different child support amount in a following step.</b>
</p>
<div>
{% if derived.show_fact_sheet_b or derived.show_fact_sheet_c %}
<div class="dollar-prefix">
{% money_input_field id="total_spouse_paid_child_support" name="total_spouse_paid_child_support" value=derived.guideline_amounts_difference_total class="fact-sheet-input money input-narrow form-block response-textbox" readonly="" %}
</div>
{% else %}
<div class="dollar-prefix">
{% money_input_field name="total_spouse_paid_child_support" value_src="payor_monthly_child_support_amount" class="fact-sheet-input money input-narrow form-block response-textbox" readonly="" %}
</div>
{% endif %}
</div>
{% include "partials/inline_question_determine_amount_to_pay.html" with collapse_target_id="collapse_calculate_amounts" %}
</div>
<div class="question-well-border-less">
<p>
Because you have a child(ren) 19 years or older, who may also be contributing to their own support, do you and your spouse agree that the monthly Guidelines table amount for child support is appropriate?
{% if agree_to_guideline_child_support_amount_error %}{% include 'partials/required.html' %}{% endif %}
</p>
<div class="btn-radio-group" data-toggle="buttons">
<label class="btn btn-radio">
{% input_field type="radio" name="agree_to_guideline_child_support_amount" class="fact-sheet-input" autocomplete="off" value="YES" data_target_id="enter_appropriate_amount" data_reveal_target="false" %}
Yes
</label>
<label class="btn btn-radio">
{% input_field type="radio" name="agree_to_guideline_child_support_amount" class="fact-sheet-input" autocomplete="off" value="NO" data_target_id="enter_appropriate_amount" data_reveal_target="true" %}
No
</label>
</div>
<div id="enter_appropriate_amount" hidden>
<p>
What would be the appropriate amount?
{% if appropriate_spouse_paid_child_support_error %}{% include 'partials/required.html' %}{% endif %}
</p>
<div class="dollar-prefix">
{% money_input_field name="appropriate_spouse_paid_child_support" class="fact-sheet-input money form-block response-textbox" %}
</div>
<p>
Please describe - Why do you think the court should approve your proposed amount?
</p>
<p>
Describe the condition, means, needs, and other circumstances of the child, and the financial
ability of
each parent to provide support to the child. {% if suggested_child_support_error %}{% include 'partials/required.html' %}{% endif %}
</p>
<div>
{% input_field type="textarea" name="suggested_child_support" class="fact-sheet-input form-control response-textarea" maxlength="500" rows="5" %}
</div>
</div>
</div>
</div>
{% endif %}
<div class="question-well fact-sheets {% if derived.fact_sheet_f_error %}error{% endif %}" id="fact_sheet_f" hidden>
<h1>Income over $150,000 (Fact Sheet F)</h1>
<p>
Since you have previously indicated that the payor's income is over $150,000 you will need to provide
answers to the next set of questions. The child support guideline table you previously entered only goes
to $150,000. Income beyond that point requires a 2 stage calculation, the amount payable at $150,000 +
the amount payable on the income in excess of $150,000. This takes into account other factors such as
the financial ability of each parent, maintaining a certain quality of life, etc. It is no longer a
matter of there being money simply to look after the needs of the child, but rather the level of care
factoring in the family's lifestyle.
</p>
<p>
<div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false"
data-target="#collapseIncomeNeeded" aria-controls="collapseIncomeNeeded">
<div>
Whose income is needed?
</div>
</div>
</p>
<div class="collapse" id="collapseIncomeNeeded">
<div>
<p>
If the paying parent earns more than $150,000 per year, you may need to calculate both incomes.
The Federal Guidelines provide two options:
</p>
<ul style="list-style: none;">
<li>
<strong>Option 1</strong>: You can use the tables to determine the child support amount for the first $150,000. Then add
the percentage listed in the tables for the portion of income over $150,000. If you choose this
option, you would only need to calculate the paying parent’s income.
</li>
<li>
<strong>Option 2</strong>: You can use the tables to determine the child support amount for the first $150,000. You can
then determine an amount for the portion of income over $150,000 by looking at the condition,
means, needs and other circumstances of the child and the financial ability of each of you to
contribute. If you choose this option, you would need to calculate both incomes.
</li>
</ul>
<p>
In some cases:
</p>
<ul>
<li>
You may need to calculate your child’s income—for example, if the child is over the age of
majority and you are taking his or her financial means into consideration to determine a
child support amount.
</li>
<li>
You may need to calculate the income of every member of both households to compare the
standards of living if either of you is claiming undue hardship.
</li>
</ul>
<p>
Source: 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/step5-etap5.html#h7" link_text="Federal Child Support Guidelines" %}
Department of Justice
</p>
</div>
</div>
<div id="fact_sheet_f_table_1" class="question-well-border-less" hidden>
{% include "partials/fact_sheet_f_table.html" with table_id=1 claimant_id='you' %}
</div>
<div id="fact_sheet_f_table_2" class="question-well-border-less" hidden>
{% include "partials/fact_sheet_f_table.html" with table_id=2 claimant_id='spouse' %}
</div>
</div>
<div class="question-well {% if claiming_undue_hardship_error or derived.missing_undue_hardship_details %}error{% endif %}">
<h3>Are you or your spouse claiming undue hardship?{% if claiming_undue_hardship_error %}{% include 'partials/required.html' %}{% endif %}</h3>
<p>
The Child Support Guidelines tables contain the base amounts for child support. If you our your spouse feel
that the child support amount will not leave enough money, you can claim that you will suffer
<span class="tooltip-link"
data-toggle="tooltip" data-placement="right" data-html="true"
title="
<b>Undue hardship</b>
<p>
Circumstances that show the amount of child support under the child support guidelines is too
high or low. Must create &quot;undue&quot; (exceptional, excessive or disproportionate) difficulty
for the person making the claim.
</p>
<p>
A term used by the Child Support Guidelines to describe circumstances when payment of the table
amount of child support would cause financial difficulty for the payor or the recipient, potentially
justifying an award of support in an amount different than the table amount. See &quot;child support,&quot;
&quot;Child Support Guidelines&quot; and &quot;table amount.&quot;
</p>
">
undue hardship<i class="fa fa-question-circle" aria-hidden="true"></i>.
</span>
</p>
<div class="btn-radio-group" data-toggle="buttons">
<label class="btn btn-radio">
{% input_field type="radio" name="claiming_undue_hardship" autocomplete="off" value="YES" data_target_id="fact_sheet_e" data_reveal_target="true" %} YES
</label>
<label class="btn btn-radio">
{% input_field type="radio" name="claiming_undue_hardship" autocomplete="off" value="NO" data_target_id="fact_sheet_e" data_reveal_target="false" %} NO
</label>
</div>
<div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false"
data-target="#collapse_undue_hardship_situations"
aria-controls="collapse_undue_hardship_situations">
<div>
What situations are considered to be undue hardship?
</div>
</div>
<div class="collapse" id="collapse_undue_hardship_situations">
<div>
<p>The types of situations that might result in undue hardship include:</p>
<ul>
<li>having an unusual or excessive amount of debt,</li>
<li>having to make other support payments to children of another family (for example, from a previous marriage),</li>
<li>having to support a disabled or ill person, and</li>
<li>having to spend a lot of money to visit the child (for example, airfare to another city).</li>
</ul>
</div>
</div>
<div id="fact_sheet_e" class="question-well-border-less" hidden>
<h1>Fact Sheet E Undue Hardship</h1>
<p>
Since you have previously indicated that you will be claiming undue hardship you will need to provide
answers to the next set of questions. A claim for undue hardship can only be considered if the parent
making the claim can show that their household’s standard of living is not higher than the standard of
living in the household of the other parent. Often, income alone (which is all that is used to calculate
the guideline amount) does not reflect other circumstances that may impact a households’ finances.
</p>
{% if derived.missing_undue_hardship_details %}<p class="warning">* At least one debt, expense, person, or other circumstance must be added in
this area to claim Undue Hardship. You can turn off this requirement by selecting NO above for Undue Hardship.</p>{% endif %}
<p><strong>Unusual or excessive debts</strong></p>
<p>
What are the unusual or excessive debts that you owe? These are debts that were taken on to support the family
before you separated (e.g. student loans). The debt can also be due to earning a living (e.g. vehicle,
specialized equipment).
</p>
<table id="claimant_debts" class="list-builder">
<thead>
<tr class="list-builder-header">
<th class="table-bordered">Debt name</th>
<th class="table-bordered">What are the
<span class="tooltip-link"
data-toggle="tooltip" data-placement="right" data-html="true"
title="
<b>Terms of this Debt</b>
<p>For example, how much is owed, what is the rate of interest,
when it must be repaid.</p>
">
terms of this debt<i class="fa fa-question-circle" aria-hidden="true"></i>
</span>?
</th>
<th class="table-bordered">Monthly amount</th>
<th></th>
</tr>
</thead>
<tbody>
<tr class="debt-group" hidden>
{% include "partials/fact_sheet_excessive_debt.html" with debt_monthly_amount=0%}
</tr>
{% multiple_values_to_list source=claimant_debts as debts %}
{% for debt in debts %}
<tr class="debt-item-row">
{% include "partials/fact_sheet_excessive_debt.html" with debt_name=debt.debt_name debt_terms=debt.debt_terms debt_monthly_amount=debt.debt_monthly_amount %}
</tr>
{% endfor %}
</tbody>
<tbody>
<tr>
<td class="btn-add-debt fact-sheet-control" colspan="3" readonly>
<a href=""><i class="fa fa-plus btn-add-debt"></i> Add Debt</a>
</td>
</tr>
</tbody>
</table>
<p><strong>Unusually high expenses for parenting time, contact with, or access to a child.</strong></p>
<p>
For example, airfare and accommodation to visit the child in another city.
</p>
<table id="claimant_expenses" class="list-builder">
<thead>
<tr class="list-builder-header">
<th class="table-bordered">Expense</th>
<th class="table-bordered">Amount</th>
<th></th>
</tr>
</thead>
<tbody>
<tr class="expense-group" hidden>
{% include "partials/fact_sheet_expense.html" with expense_amount=0%}
</tr>
{% multiple_values_to_list source=claimant_expenses as expenses %}
{% for expense in expenses %}
<tr class="expense-item-row">
{% include "partials/fact_sheet_expense.html" with expense_name=expense.expense_name expense_amount=expense.expense_amount %}
</tr>
{% endfor %}
</tbody>
<tbody>
<tr>
<td class="btn-add-expense fact-sheet-control" colspan="2" readonly>
<a href=""><i class="fa fa-plus btn-add-expense"></i> Add Expense</a>
</td>
</tr>
</tbody>
</table>
<p><strong>Supporting another person</strong></p>
<p>
Legal duty to support any other person, such as a former spouse or a new spouse who is too ill or disabled to be able to support himself or herself.
</p>
<table id="supporting_non_dependents" class="list-builder">
<thead>
<tr class="list-builder-header">
<th class="table-bordered">Name of person</th>
<th class="table-bordered">Relationship</th>
<th class="table-bordered">Describe reason(s) for support</th>
<th></th>
</tr>
</thead>
<tbody>
<tr class="supporting-non-dependent-group" hidden>
{% include "partials/fact_sheet_supporting_person.html" with name_field="non_dependent_name" relationship_field="non_dependent_relationship" reason_field="non_dependent_reason" input_field_class="supporting-non-dependent-input-field" save_selector=".supporting-non-dependent-input-field" delete_button_class="btn-delete-supporting-non-dependent" %}
</tr>
{% multiple_values_to_list source=supporting_non_dependents as non_dependents %}
{% for non_dependent in non_dependents %}
<tr class="supporting-non-dependent-item-row">
{% include "partials/fact_sheet_supporting_person.html" with name_field="non_dependent_name" relationship_field="non_dependent_relationship" reason_field="non_dependent_reason" input_field_class="supporting-non-dependent-input-field" save_selector=".supporting-non-dependent-input-field" delete_button_class="btn-delete-supporting-non-dependent" name=non_dependent.non_dependent_name relationship=non_dependent.non_dependent_relationship reason=non_dependent.non_dependent_reason %}
</tr>
{% endfor %}
</tbody>
<tbody>
<tr>
<td class="btn-add-supporting-non-dependent fact-sheet-control" colspan="3" readonly>
<a href=""><i class="fa fa-plus btn-add-supporting-non-dependent"></i> Add Person</a>
</td>
</tr>
</tbody>
</table>
<p><strong>Supporting dependent child/children from another relationship.</strong></p>
<p>
List the names of any other children for whom you have a legal duty to make support payments to.
Do not include the names of any children for whom you are asking for support for as a part of this
divorce application.
</p>
<table id="supporting_dependents" class="list-builder">
<thead>
<tr class="list-builder-header">
<th class="table-bordered">Child's name</th>
<th class="table-bordered">Relationship</th>
<th class="table-bordered">Describe reason(s) for support</th>
<th></th>
</tr>
</thead>
<tbody>
<tr class="supporting-dependent-group" hidden>
{% include "partials/fact_sheet_supporting_person.html" with name_field="supporting_dependent_name" relationship_field="supporting_dependent_relationship" reason_field="supporting_dependent_reason" input_field_class="supporting-dependent-input-field" delete_button_class="btn-delete-supporting-dependent" save_selector=".supporting-dependent-input-field" %}
</tr>
{% multiple_values_to_list source=supporting_dependents as dependents %}
{% for dependent in dependents %}
<tr class="supporting-dependent-item-row">
{% include "partials/fact_sheet_supporting_person.html" with name_field="supporting_dependent_name" relationship_field="supporting_dependent_relationship" reason_field="supporting_dependent_reason" input_field_class="supporting-dependent-input-field" delete_button_class="btn-delete-supporting-dependent" save_selector=".supporting-dependent-input-field" name=dependent.supporting_dependent_name relationship=dependent.supporting_dependent_relationship reason=dependent.supporting_dependent_reason %}
</tr>
{% endfor %}
</tbody>
<tbody>
<tr>
<td class="btn-add-supporting-dependent fact-sheet-control" colspan="3" readonly>
<a href=""><i class="fa fa-plus btn-add-supporting-dependent"></i> Add Person</a>
</td>
</tr>
</tbody>
</table>
<p><strong>Support for a disabled or ill person.</strong></p>
<table id="supporting_disabled" class="list-builder">
<thead>
<tr class="list-builder-header">
<th class="table-bordered">Name of person</th>
<th class="table-bordered">Relationship</th>
<th class="table-bordered">Describe reason(s) for support</th>
<th></th>
</tr>
</thead>
<tbody>
<tr class="supporting-disabled-group" hidden>
{% include "partials/fact_sheet_supporting_person.html" with name_field="supporting_disabled_name" relationship_field="supporting_disabled_relationship" reason_field="supporting_disabled_reason" input_field_class="supporting-disabled-input-field" delete_button_class="btn-delete-supporting-disabled" save_selector=".supporting-disabled-input-field" %}
</tr>
{% multiple_values_to_list source=supporting_disabled as dependents %}
{% for dependent in dependents %}
<tr class="supporting-disabled-item-row">
{% include "partials/fact_sheet_supporting_person.html" with name_field="supporting_disabled_name" relationship_field="supporting_disabled_relationship" reason_field="supporting_disabled_reason" input_field_class="supporting-disabled-input-field" delete_button_class="btn-delete-supporting-disabled" name=dependent.supporting_disabled_name relationship=dependent.supporting_disabled_relationship reason=dependent.supporting_disabled_reason save_selector=".supporting-disabled-input-field" %}
</tr>
{% endfor %}
</tbody>
<tbody>
<tr>
<td class="btn-add-supporting-disabled fact-sheet-control" colspan="3" readonly>
<a href=""><i class="fa fa-plus btn-add-supporting-disabled"></i> Add Person</a>
</td>
</tr>
</tbody>
</table>
<p class="fact-sheet-table-inline-question">
Other undue hardship circumstances
{% input_field type="textarea" name="undue_hardship" value="" maxlength="500" multiple='true' class="fact-sheet-input form-control response-textarea" placeholder="" %}
</p>
<p><strong>Income of Other Persons in Household</strong></p>
<p>
Enter the name (s) and income for any other persons in your household (e.g. co-parent, step parent)
who have a
<span class="tooltip-link"
data-toggle="tooltip"
data-placement="right"
data-html="true"
title="<b>Duty to support</b><br />
Parents and guardians have a responsibility (duty) under the law to financially support their
children, whether or not they see or take care of the children. A parent, for the purposes
of child support, may include a stepparent if they were living together, in a relationship,
with the child’s parent and the child during the child’s life. The duty of a stepparent or
non-parent guardian to provide support is secondary to that of the child’s parents.">
duty to support<i class="fa fa-question-circle" aria-hidden="true"></i>
</span>
a child.
</p>
<table id="income_others" class="list-builder list-builder-compact">
<thead>
<tr class="list-builder-header">
<th class="table-bordered">Name of person</th>
<th class="table-bordered">Annual income</th>
<th></th>
</tr>
</thead>
<tbody>
<tr class="income-others-group" hidden>
{% include "partials/fact_sheet_income_others.html" with income_others_amount=0%}
</tr>
{% multiple_values_to_list source=income_others as incomes %}
{% for income in incomes %}
<tr class="income-others-item-row">
{% include "partials/fact_sheet_income_others.html" with income_others_name=income.income_others_name income_others_amount=income.income_others_amount %}
</tr>
{% endfor %}
</tbody>
<tbody>
<tr>
<td class="table-bordered">
Total
</td>
<td class="fact-sheet-answer table-bordered" readonly>
<div class="dollar-prefix">
{% money_input_field id="total_income_others" class="fact-sheet-input money" readonly="" %}
</div>
</td>
</tr>
</tbody>
<tbody>
<tr>
<td class="btn-add-income-others fact-sheet-control" colspan="2" readonly>
<a href="" tabindex="-1"><i class="fa fa-plus btn-add-income-others"></i> Add Person</a>
</td>
</tr>
</tbody>
</table>
<div id="undue_amount_question" hidden></div>
</div>
</div>
{% if derived.show_fact_sheet_f %}
{% include "partials/fact_sheets/fact_sheet_f.html" %}
{% endif %}
{% include "partials/fact_sheets/fact_sheet_e.html" %}
{% endblock %} {% endblock %}


+ 26
- 5
edivorce/apps/core/utils/derived.py View File

@ -28,9 +28,12 @@ DERIVED_DATA = [
'wants_other_orders', 'wants_other_orders',
'show_fact_sheet_a', 'show_fact_sheet_a',
'show_fact_sheet_b', 'show_fact_sheet_b',
'fact_sheet_b_error',
'show_fact_sheet_c', 'show_fact_sheet_c',
'show_fact_sheet_d', 'show_fact_sheet_d',
'fact_sheet_d_error',
'show_fact_sheet_e', 'show_fact_sheet_e',
'fact_sheet_e_error',
'show_fact_sheet_f_you', 'show_fact_sheet_f_you',
'show_fact_sheet_f_spouse', 'show_fact_sheet_f_spouse',
'show_fact_sheet_f', 'show_fact_sheet_f',
@ -75,7 +78,6 @@ DERIVED_DATA = [
'pursuant_parenting_arrangement', 'pursuant_parenting_arrangement',
'pursuant_child_support', 'pursuant_child_support',
'sole_custody', 'sole_custody',
'missing_undue_hardship_details',
] ]
@ -157,6 +159,19 @@ def show_fact_sheet_b(responses, derived):
return conditional_logic.determine_shared_custody(responses) return conditional_logic.determine_shared_custody(responses)
def fact_sheet_b_error(responses, derived):
questions = ['number_of_children',
'time_spent_with_you',
'time_spent_with_spouse',
'annual_gross_income',
'spouse_annual_gross_income',
'your_child_support_paid_b',
'your_spouse_child_support_paid_b',
]
if derived['show_fact_sheet_b']:
return _any_question_errors(responses, questions)
def show_fact_sheet_c(responses, derived): def show_fact_sheet_c(responses, derived):
""" """
If any child lives with one parent and there's another child who lives with If any child lives with one parent and there's another child who lives with
@ -173,6 +188,12 @@ def show_fact_sheet_d(responses, derived):
return conditional_logic.determine_child_over_19_supported(responses) return conditional_logic.determine_child_over_19_supported(responses)
def fact_sheet_d_error(responses, derived):
questions = ['agree_to_guideline_child_support_amount', 'appropriate_spouse_paid_child_support', 'suggested_child_support']
if derived['show_fact_sheet_d']:
return _any_question_errors(responses, questions)
def show_fact_sheet_e(responses, derived): def show_fact_sheet_e(responses, derived):
""" """
If the claimant is claiming undue hardship, Fact Sheet E is indicated. If the claimant is claiming undue hardship, Fact Sheet E is indicated.
@ -181,6 +202,10 @@ def show_fact_sheet_e(responses, derived):
return responses.get('claiming_undue_hardship', '') == 'YES' return responses.get('claiming_undue_hardship', '') == 'YES'
def fact_sheet_e_error(responses, derived):
return conditional_logic.determine_missing_undue_hardship_reasons(responses)
def show_fact_sheet_f_you(responses, derived): def show_fact_sheet_f_you(responses, derived):
""" """
If claimant 1 (you) is a payor and makes over $150,000/year, show fact sheet F for claimant 1 If claimant 1 (you) is a payor and makes over $150,000/year, show fact sheet F for claimant 1
@ -726,10 +751,6 @@ def sole_custody(responses, derived):
return conditional_logic.determine_sole_custody(responses) return conditional_logic.determine_sole_custody(responses)
def missing_undue_hardship_details(responses, derived):
return conditional_logic.determine_missing_undue_hardship_reasons(responses)
def _any_question_errors(responses, questions): def _any_question_errors(responses, questions):
for field in questions: for field in questions:
error_field_name = f'{field}_error' error_field_name = f'{field}_error'


+ 2
- 0
edivorce/apps/core/utils/question_step_mapping.py View File

@ -119,6 +119,7 @@ question_step_mapping = {
'undue_hardship', 'undue_hardship',
'income_others', 'income_others',
'total_income_others', 'total_income_others',
# Fact sheet B
'number_of_children', 'number_of_children',
'time_spent_with_you', 'time_spent_with_you',
'time_spent_with_spouse', 'time_spent_with_spouse',
@ -126,6 +127,7 @@ question_step_mapping = {
'spouse_annual_gross_income', 'spouse_annual_gross_income',
'your_child_support_paid_b', 'your_child_support_paid_b',
'your_spouse_child_support_paid_b', 'your_spouse_child_support_paid_b',
# Fact sheet C
'your_child_support_paid_c', 'your_child_support_paid_c',
'your_spouse_child_support_paid_c', 'your_spouse_child_support_paid_c',
'agree_to_guideline_child_support_amount', 'agree_to_guideline_child_support_amount',


+ 1
- 1
edivorce/apps/core/utils/step_completeness.py View File

@ -85,6 +85,6 @@ def get_error_dict(step, missing_questions):
""" """
responses_dict = {} responses_dict = {}
question_step = page_step_mapping[step] question_step = page_step_mapping[step]
for question_dict in missing_questions.get(question_step):
for question_dict in missing_questions.get(question_step, []):
responses_dict[question_dict['question_id'] + '_error'] = True responses_dict[question_dict['question_id'] + '_error'] = True
return responses_dict return responses_dict

Loading…
Cancel
Save