Browse Source

Moving fact sheet a

pull/160/head
Benard Ebinu 8 years ago
parent
commit
4705c469f8
2 changed files with 210 additions and 207 deletions
  1. +210
    -0
      edivorce/apps/core/templates/question/06_children_facts.html
  2. +0
    -207
      edivorce/apps/core/templates/question/06_children_income_expenses.html

+ 210
- 0
edivorce/apps/core/templates/question/06_children_facts.html View File

@ -11,6 +11,216 @@
<div id="claimant_children" hidden> <div id="claimant_children" hidden>
{{ claimant_children }} {{ claimant_children }}
</div> </div>
{% if special_extraordinary_expenses != 'None' %}
<div id="fact_sheet_a" class="question-well">
<h1>Special or Extraordinary Expenses (Fact Sheet A)</h1>
<table class="table table-bordered">
<thead>
<tr>
<th></th>
<th>Monthly</th>
<th>Annually</th>
</tr>
</thead>
<tbody>
<tr>
<td class="fact-sheet-question">Child care expenses for when the recipient works or goes to school
</td>
<td class="fact-sheet-answer table-bordered">
<div class="dollar-prefix">
{% money_input_field name="child_care_expenses" id="child_care_expenses_month" class="fact-sheet-input money extraordinary-expense-monthly" data_sum="true" data_sum_class="extraordinary-expense-monthly" data_sum_target_id="total_extraordinary_expense_monthly" data_mirror="true" data_mirror_target="#child_care_expenses_year" data_mirror_scale="year_up" %}
</div>
</td>
<td class="fact-sheet-answer">
<div class="dollar-prefix">
{% money_input_field value_src="child_care_expenses" id="child_care_expenses_year" class="fact-sheet-input money extraordinary_expense_annually" scale_factor="12" data_mirror="true" data_mirror_target="#child_care_expenses_month" data_mirror_scale="month_down" data_mirror_broadcast_change="true" %}
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">Any healthcare premiums you pay to your employer or other provider
to provide the coverage to your children rather than yourself
</td>
<td class="fact-sheet-answer">
<div class="dollar-prefix">
{% money_input_field name="children_healthcare_premiums" id="children_healthcare_premiums_month" class="fact-sheet-input money extraordinary-expense-monthly" data_sum="true" data_sum_class="extraordinary-expense-monthly" data_sum_target_id="total_extraordinary_expense_monthly" data_mirror="true" data_mirror_target="#children_healthcare_premiums_year" data_mirror_scale="year_up" %}
</div>
</td>
<td class="fact-sheet-answer">
<div class="dollar-prefix">
{% money_input_field value_src="children_healthcare_premiums" id="children_healthcare_premiums_year" class="fact-sheet-input money extraordinary_expense_annually" scale_factor="12" data_mirror="true" data_mirror_target="#children_healthcare_premiums_month" data_mirror_scale="month_down" data_mirror_broadcast_change="true" %}
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">
<span class="tooltip-link"
data-toggle="tooltip"
data-placement="right"
data-html="true"
title="<b>Health related expenses</b><br />Includes orthodontic treatments, counselling, physiotherapy, occupational
therapy, speech therapy, hearing therapy, prescription drugs, hearing aids, glasses,
and contact lenses">
Health related expenses<i class="fa fa-question-circle" aria-hidden="true"></i>
</span>
that exceed insurance reimbursement by at least $100
</td>
<td class="fact-sheet-answer">
<div class="dollar-prefix">
{% money_input_field name="health_related_expenses" id="health_related_expenses_month" class="fact-sheet-input money extraordinary-expense-monthly" data_sum="true" data_sum_class="extraordinary-expense-monthly" data_sum_target_id="total_extraordinary_expense_monthly" data_mirror="true" data_mirror_target="#health_related_expenses_year" data_mirror_scale="year_up" %}
</div>
</td>
<td class="fact-sheet-answer">
<div class="dollar-prefix">
{% money_input_field value_src="health_related_expenses" id="health_related_expenses_year" class="fact-sheet-input money extraordinary_expense_annually" scale_factor="12" data_mirror="true" data_mirror_target="#health_related_expenses_month" data_mirror_scale="month_down" data_mirror_broadcast_change="true" %}
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">
Extraordinary primary, secondary or other
<span class="tooltip-link"
data-toggle="tooltip"
data-placement="right"
data-html="true"
title="<b>Educational expenses</b><br />Tutoring Private school (if the child was
attending private school before the separation and the parents can afford the expense">
educational expenses <i class="fa fa-question-circle" aria-hidden="true"></i>
</span>
</td>
<td class="fact-sheet-answer">
<div class="dollar-prefix">
{% money_input_field name="extraordinary_educational_expenses" id="extraordinary_educational_expenses_month" class="fact-sheet-input money extraordinary-expense-monthly" data_sum="true" data_sum_class="extraordinary-expense-monthly" data_sum_target_id="total_extraordinary_expense_monthly" data_mirror="true" data_mirror_target="#extraordinary_educational_expenses_year" data_mirror_scale="year_up" %}
</div>
</td>
<td class="fact-sheet-answer">
<div class="dollar-prefix">
{% money_input_field value_src="extraordinary_educational_expenses" id="extraordinary_educational_expenses_year" class="fact-sheet-input money extraordinary_expense_annually" scale_factor="12" data_mirror="true" data_mirror_target="#extraordinary_educational_expenses_month" data_mirror_scale="month_down" data_mirror_broadcast_change="true" %}
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">Post-secondary school expenses</td>
<td class="fact-sheet-answer">
<div class="dollar-prefix">
{% money_input_field name="post_secondary_expenses" id="post_secondary_expenses_month" class="fact-sheet-input extraordinary-expense-monthly" data_sum="true" data_sum_class="extraordinary-expense-monthly" data_sum_target_id="total_extraordinary_expense_monthly" data_mirror="true" data_mirror_target="#post_secondary_expenses_year" data_mirror_scale="year_up" %}
</div>
</td>
<td class="fact-sheet-answer">
<div class="dollar-prefix">
{% money_input_field value_src="post_secondary_expenses" id="post_secondary_expenses_year" class="fact-sheet-input money extraordinary_expense_annually" scale_factor="12" data_mirror="true" data_mirror_target="#post_secondary_expenses_month" data_mirror_scale="month_down" data_mirror_broadcast_change="true" %}
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">Extraordinary
<span class="tooltip-link"
data-toggle="tooltip"
data-placement="right"
data-html="true"
title="<b>Extracurricular activities</b><br />
Expenses for activities in which the child excels and is shown to be particularly gifted
(for example, expenses for a child who is a gifted figure skater, but not expenses for
general skating lessons)">
extracurricular activities
<i class="fa fa-question-circle" aria-hidden="true"></i>
</span>
expenses
</td>
<td class="fact-sheet-answer">
<div class="dollar-prefix">
{% money_input_field name="extraordinary_extracurricular_expenses" id="extraordinary_extracurricular_expenses_month" class="fact-sheet-input money extraordinary-expense-monthly" data_sum="true" data_sum_class="extraordinary-expense-monthly" data_sum_target_id="total_extraordinary_expense_monthly" data_mirror="true" data_mirror_target="#extraordinary_extracurricular_expenses_year" data_mirror_scale="year_up" %}
</div>
</td>
<td class="fact-sheet-answer">
<div class="dollar-prefix">
{% money_input_field value_src="extraordinary_extracurricular_expenses" id="extraordinary_extracurricular_expenses_year" class="fact-sheet-input money extraordinary_expense_annually" scale_factor="12" data_mirror="true" data_mirror_target="#extraordinary_extracurricular_expenses_month" data_mirror_scale="month_down" data_mirror_broadcast_change="true" %}
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question"><strong>Total section 7 expenses</strong></td>
<td class="fact-sheet-answer" readonly>
<div class="dollar-prefix">
{% money_input_field name="total_section_seven_expenses" id="total_extraordinary_expense_monthly" class="fact-sheet-input money " readonly="" data_mirror="true" data_mirror_target="#total_extraordinary_expense_annually" data_mirror_scale="year_up" %}
</div>
</td>
<td class="fact-sheet-answer" readonly>
<div class="dollar-prefix">
{% money_input_field value_src="total_section_seven_expenses" id="total_extraordinary_expense_annually" class="fact-sheet-input money " scale_factor="12" readonly="" %}
</div>
</td>
</tr>
</tbody>
</table>
<br>
<p>Parties respective
<span class="tooltip-link"
data-toggle="tooltip"
data-placement="right"
data-html="true"
title="<b>Proportionate share</b><br />
Proportionate share means that the amount determined to be payable by each parent is calculated in
relation to their respective incomes. For example, if claimant 1 earns $65k and claimant 2 earns $35K,
claimant 1’s share is 65% and claimant 2’s share is 35%. To calculate your proportionate share, divide
your income by the total of both your incomes, then multiply this number (usually a decimal form, such as
0.65) by the actual cost of special or extraordinary expenses.">
proportionate shares
<i class="fa fa-question-circle" aria-hidden="true"></i>
</span>
of the total net monthly Section 7 expenses referred to above:</p>
<br>
<table class="table table-bordered">
<thead>
<tr>
<th></th>
<th>Percentage</th>
<th>Amount</th>
</tr>
</thead>
<tbody>
<tr>
<td class="fact-sheet-question">Your proportionate share</td>
<td class="fact-sheet-answer" readonly>
{% input_field type="number" name="your_proportionate_share_percent" value="0" readonly="" id="your_proportionate_share_percent" class="fact-sheet-input" data_calc_percentage="true" data_claimant_one_selector="input[name='annual_gross_income']" data_claimant_two_selector="input[name='spouse_annual_gross_income']" %}
</td>
<td class="fact-sheet-answer" readonly>
<div class="dollar-prefix">
{% money_input_field name="your_proportionate_share_amount" id="your_proportionate_share_amount" class="fact-sheet-input money" data_scale="true" data_quantity="#total_extraordinary_expense_monthly" data_scale_factor="input[name='your_proportionate_share_percent']" readonly="" %}
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">Spouse's proportionate share</td>
<td class="fact-sheet-answer" readonly>
{% input_field type="number" name="spouse_proportionate_share_percent" value="0" readonly="" id="spouse_proportionate_share_percent" class="fact-sheet-input" data_calc_percentage="true" data_claimant_one_selector="input[name='spouse_annual_gross_income']" data_claimant_two_selector="input[name='annual_gross_income']" %}
</td>
<td class="fact-sheet-answer" readonly>
<div class="dollar-prefix">
{% money_input_field name="spouse_proportionate_share_amount" id="spouse_proportionate_share_amount" class="fact-sheet-input money" data_scale="true" data_quantity="#total_extraordinary_expense_monthly" data_scale_factor="input[name='spouse_proportionate_share_percent']" readonly="" %}
</div>
</td>
</tr>
</tbody>
</table>
<br>
<p>Total monthly child support payment amount
Including the monthly Guidelines table amount under Schedule 1 of the Guidelines and the section 7
expenses is:
<span id="total_child_support_payment"></span>
</p>
</div>
{% endif %}
<div id="fact_sheet_b" class="question-well fact-sheets" hidden> <div id="fact_sheet_b" class="question-well fact-sheets" hidden>
<h1>Fact Sheet B Shared Custody</h1> <h1>Fact Sheet B Shared Custody</h1>
<p> <p>


+ 0
- 207
edivorce/apps/core/templates/question/06_children_income_expenses.html View File

@ -610,213 +610,6 @@
</p> </p>
</div> </div>
</div> </div>
<div id="fact_sheet_a" class="question-well-border-less" hidden>
<h1>Fact Sheet A Special or Extraordinary Expenses</h1>
<table class="table table-bordered">
<thead>
<tr>
<th></th>
<th>Monthly</th>
<th>Annually</th>
</tr>
</thead>
<tbody>
<tr>
<td class="fact-sheet-question">Child care expenses for when the recipient works or goes to school
</td>
<td class="fact-sheet-answer table-bordered">
<div class="dollar-prefix">
{% money_input_field name="child_care_expenses" id="child_care_expenses_month" class="fact-sheet-input money extraordinary-expense-monthly" data_sum="true" data_sum_class="extraordinary-expense-monthly" data_sum_target_id="total_extraordinary_expense_monthly" data_mirror="true" data_mirror_target="#child_care_expenses_year" data_mirror_scale="year_up" %}
</div>
</td>
<td class="fact-sheet-answer">
<div class="dollar-prefix">
{% money_input_field value_src="child_care_expenses" id="child_care_expenses_year" class="fact-sheet-input money extraordinary_expense_annually" scale_factor="12" data_mirror="true" data_mirror_target="#child_care_expenses_month" data_mirror_scale="month_down" data_mirror_broadcast_change="true" %}
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">Any healthcare premiums you pay to your employer or other provider
to provide the coverage to your children rather than yourself
</td>
<td class="fact-sheet-answer">
<div class="dollar-prefix">
{% money_input_field name="children_healthcare_premiums" id="children_healthcare_premiums_month" class="fact-sheet-input money extraordinary-expense-monthly" data_sum="true" data_sum_class="extraordinary-expense-monthly" data_sum_target_id="total_extraordinary_expense_monthly" data_mirror="true" data_mirror_target="#children_healthcare_premiums_year" data_mirror_scale="year_up" %}
</div>
</td>
<td class="fact-sheet-answer">
<div class="dollar-prefix">
{% money_input_field value_src="children_healthcare_premiums" id="children_healthcare_premiums_year" class="fact-sheet-input money extraordinary_expense_annually" scale_factor="12" data_mirror="true" data_mirror_target="#children_healthcare_premiums_month" data_mirror_scale="month_down" data_mirror_broadcast_change="true" %}
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">
<span class="tooltip-link"
data-toggle="tooltip"
data-placement="right"
data-html="true"
title="<b>Health related expenses</b><br />Includes orthodontic treatments, counselling, physiotherapy, occupational
therapy, speech therapy, hearing therapy, prescription drugs, hearing aids, glasses,
and contact lenses">
Health related expenses<i class="fa fa-question-circle" aria-hidden="true"></i>
</span>
that exceed insurance reimbursement by at least $100
</td>
<td class="fact-sheet-answer">
<div class="dollar-prefix">
{% money_input_field name="health_related_expenses" id="health_related_expenses_month" class="fact-sheet-input money extraordinary-expense-monthly" data_sum="true" data_sum_class="extraordinary-expense-monthly" data_sum_target_id="total_extraordinary_expense_monthly" data_mirror="true" data_mirror_target="#health_related_expenses_year" data_mirror_scale="year_up" %}
</div>
</td>
<td class="fact-sheet-answer">
<div class="dollar-prefix">
{% money_input_field value_src="health_related_expenses" id="health_related_expenses_year" class="fact-sheet-input money extraordinary_expense_annually" scale_factor="12" data_mirror="true" data_mirror_target="#health_related_expenses_month" data_mirror_scale="month_down" data_mirror_broadcast_change="true" %}
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">
Extraordinary primary, secondary or other
<span class="tooltip-link"
data-toggle="tooltip"
data-placement="right"
data-html="true"
title="<b>Educational expenses</b><br />Tutoring Private school (if the child was
attending private school before the separation and the parents can afford the expense">
educational expenses <i class="fa fa-question-circle" aria-hidden="true"></i>
</span>
</td>
<td class="fact-sheet-answer">
<div class="dollar-prefix">
{% money_input_field name="extraordinary_educational_expenses" id="extraordinary_educational_expenses_month" class="fact-sheet-input money extraordinary-expense-monthly" data_sum="true" data_sum_class="extraordinary-expense-monthly" data_sum_target_id="total_extraordinary_expense_monthly" data_mirror="true" data_mirror_target="#extraordinary_educational_expenses_year" data_mirror_scale="year_up" %}
</div>
</td>
<td class="fact-sheet-answer">
<div class="dollar-prefix">
{% money_input_field value_src="extraordinary_educational_expenses" id="extraordinary_educational_expenses_year" class="fact-sheet-input money extraordinary_expense_annually" scale_factor="12" data_mirror="true" data_mirror_target="#extraordinary_educational_expenses_month" data_mirror_scale="month_down" data_mirror_broadcast_change="true" %}
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">Post-secondary school expenses</td>
<td class="fact-sheet-answer">
<div class="dollar-prefix">
{% money_input_field name="post_secondary_expenses" id="post_secondary_expenses_month" class="fact-sheet-input extraordinary-expense-monthly" data_sum="true" data_sum_class="extraordinary-expense-monthly" data_sum_target_id="total_extraordinary_expense_monthly" data_mirror="true" data_mirror_target="#post_secondary_expenses_year" data_mirror_scale="year_up" %}
</div>
</td>
<td class="fact-sheet-answer">
<div class="dollar-prefix">
{% money_input_field value_src="post_secondary_expenses" id="post_secondary_expenses_year" class="fact-sheet-input money extraordinary_expense_annually" scale_factor="12" data_mirror="true" data_mirror_target="#post_secondary_expenses_month" data_mirror_scale="month_down" data_mirror_broadcast_change="true" %}
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">Extraordinary
<span class="tooltip-link"
data-toggle="tooltip"
data-placement="right"
data-html="true"
title="<b>Extracurricular activities</b><br />
Expenses for activities in which the child excels and is shown to be particularly gifted
(for example, expenses for a child who is a gifted figure skater, but not expenses for
general skating lessons)">
extracurricular activities
<i class="fa fa-question-circle" aria-hidden="true"></i>
</span>
expenses
</td>
<td class="fact-sheet-answer">
<div class="dollar-prefix">
{% money_input_field name="extraordinary_extracurricular_expenses" id="extraordinary_extracurricular_expenses_month" class="fact-sheet-input money extraordinary-expense-monthly" data_sum="true" data_sum_class="extraordinary-expense-monthly" data_sum_target_id="total_extraordinary_expense_monthly" data_mirror="true" data_mirror_target="#extraordinary_extracurricular_expenses_year" data_mirror_scale="year_up" %}
</div>
</td>
<td class="fact-sheet-answer">
<div class="dollar-prefix">
{% money_input_field value_src="extraordinary_extracurricular_expenses" id="extraordinary_extracurricular_expenses_year" class="fact-sheet-input money extraordinary_expense_annually" scale_factor="12" data_mirror="true" data_mirror_target="#extraordinary_extracurricular_expenses_month" data_mirror_scale="month_down" data_mirror_broadcast_change="true" %}
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question"><strong>Total section 7 expenses</strong></td>
<td class="fact-sheet-answer" readonly>
<div class="dollar-prefix">
{% money_input_field name="total_section_seven_expenses" id="total_extraordinary_expense_monthly" class="fact-sheet-input money " readonly="" data_mirror="true" data_mirror_target="#total_extraordinary_expense_annually" data_mirror_scale="year_up" %}
</div>
</td>
<td class="fact-sheet-answer" readonly>
<div class="dollar-prefix">
{% money_input_field value_src="total_section_seven_expenses" id="total_extraordinary_expense_annually" class="fact-sheet-input money " scale_factor="12" readonly="" %}
</div>
</td>
</tr>
</tbody>
</table>
<br>
<p>Parties respective
<span class="tooltip-link"
data-toggle="tooltip"
data-placement="right"
data-html="true"
title="<b>Proportionate share</b><br />
Proportionate share means that the amount determined to be payable by each parent is calculated in
relation to their respective incomes. For example, if claimant 1 earns $65k and claimant 2 earns $35K,
claimant 1’s share is 65% and claimant 2’s share is 35%. To calculate your proportionate share, divide
your income by the total of both your incomes, then multiply this number (usually a decimal form, such as
0.65) by the actual cost of special or extraordinary expenses.">
proportionate shares
<i class="fa fa-question-circle" aria-hidden="true"></i>
</span>
of the total net monthly Section 7 expenses referred to above:</p>
<br>
<table class="table table-bordered">
<thead>
<tr>
<th></th>
<th>Percentage</th>
<th>Amount</th>
</tr>
</thead>
<tbody>
<tr>
<td class="fact-sheet-question">Your proportionate share</td>
<td class="fact-sheet-answer" readonly>
{% input_field type="number" name="your_proportionate_share_percent" value="0" readonly="" id="your_proportionate_share_percent" class="fact-sheet-input" data_calc_percentage="true" data_claimant_one_selector="input[name='annual_gross_income']" data_claimant_two_selector="input[name='spouse_annual_gross_income']" %}
</td>
<td class="fact-sheet-answer" readonly>
<div class="dollar-prefix">
{% money_input_field name="your_proportionate_share_amount" id="your_proportionate_share_amount" class="fact-sheet-input money" data_scale="true" data_quantity="#total_extraordinary_expense_monthly" data_scale_factor="input[name='your_proportionate_share_percent']" readonly="" %}
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">Spouse's proportionate share</td>
<td class="fact-sheet-answer" readonly>
{% input_field type="number" name="spouse_proportionate_share_percent" value="0" readonly="" id="spouse_proportionate_share_percent" class="fact-sheet-input" data_calc_percentage="true" data_claimant_one_selector="input[name='spouse_annual_gross_income']" data_claimant_two_selector="input[name='annual_gross_income']" %}
</td>
<td class="fact-sheet-answer" readonly>
<div class="dollar-prefix">
{% money_input_field name="spouse_proportionate_share_amount" id="spouse_proportionate_share_amount" class="fact-sheet-input money" data_scale="true" data_quantity="#total_extraordinary_expense_monthly" data_scale_factor="input[name='spouse_proportionate_share_percent']" readonly="" %}
</div>
</td>
</tr>
</tbody>
</table>
<br>
<p>Total monthly child support payment amount
Including the monthly Guidelines table amount under Schedule 1 of the Guidelines and the section 7
expenses is:
<span id="total_child_support_payment"></span>
</p>
</div>
</div> </div>
{% endblock %} {% endblock %}


Loading…
Cancel
Save