Browse Source

DIV-551: Payor options question

pull/160/head
Benard Ebinu 8 years ago
parent
commit
1f40e7f324
2 changed files with 63 additions and 2 deletions
  1. +43
    -2
      edivorce/apps/core/templates/question/06_children_payor_medical.html
  2. +20
    -0
      edivorce/fixtures/Question.json

+ 43
- 2
edivorce/apps/core/templates/question/06_children_payor_medical.html View File

@ -66,9 +66,9 @@
<div class="question-well" id="monthly_amount_question" hidden> <div class="question-well" id="monthly_amount_question" hidden>
<h3>What is the monthly child support amount (as per <h3>What is the monthly child support amount (as per
<a href="http://laws-lois.justice.gc.ca/eng/regulations/SOR-97-175/page-5.html#h-9" target="_blank">Schedule 1</a> <a href="http://laws-lois.justice.gc.ca/eng/regulations/SOR-97-175/page-5.html#h-9" target="_blank">Schedule 1</a>
of the guidelines) that is payable by <span class="__name-of-payor"></span></h3>
of the guidelines) that is payable by <span class="__name-of-payor"></span>?</h3>
<div class="dollar-prefix"> <div class="dollar-prefix">
{% money_input_field name="payor_monthly_child_support_amount" class="money form-block response-textbox children-input-block" %}
{% money_input_field name="payor_monthly_child_support_amount" class="money form-block response-textbox children-input-block" data_mirror="true" data_mirror_target="#child_support_amount_label" %}
</div> </div>
<div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_determine_payor_amount" aria-controls="collapse_determine_payor_amount"> <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_determine_payor_amount" aria-controls="collapse_determine_payor_amount">
@ -162,6 +162,47 @@
</div> </div>
<div class="question-well">
<h3>What is the monthly child support amount
<span class="tooltip-link"
data-toggle="tooltip" data-placement="right" data-html="true"
title="
<b>Proposed in the order</b>
<p>When you file your completed divorce forms at the court registry they will include the &quot;order&quot;
you want made. Basically you're asking the court (via a judge) to approve what you are asking for
and/or have agreed upon (e.g. monthly child support amount).
</p>
">
proposed in the order<i class="fa fa-question-circle" aria-hidden="true"></i>
</span>
to be paid by <span class="__name-of-payor"></span>?
</h3>
<div class="radio">
<label>
{% input_field type="radio" name="child_support_in_order" value="YES" data_target_id="does_amount_match" data_reveal_target="true" %}$ <span id="child_support_amount_label">{{ payor_monthly_child_support_amount }}</span>
</label>
</div>
{% if how_will_calculate_income != 'entered agreement' %}
<div class="radio">
<label>
{% input_field type="radio" class="radio-with-other radio_with_textbox" name="child_support_in_order" value="NO" data_target_id="does_amount_match" data_reveal_target="false" %}We are not asking for child support to be included in the order
</label>
<p>
Please describe what arrangements have made for the support of the child (ren)?
{% input_field type="textarea" name="child_support_in_order_reason" class="other-textbox response-textarea form-control" tabindex="-1" maxlength="500" rows="3" %}
</p>
</div>
{% endif %}
</div>
<div class="question-well" id="does_amount_match" hidden>
<h3>Does this amount match with what is specified in the current
<a href="http://laws-lois.justice.gc.ca/eng/regulations/SOR-97-175/page-1.html" target="_blank">
Federal Child Support Guidelines
</a>amount based on the income of the payor(s)?
</h3>
</div>
{% endblock %} {% endblock %}


+ 20
- 0
edivorce/fixtures/Question.json View File

@ -1524,5 +1524,25 @@
}, },
"model": "core.question", "model": "core.question",
"pk": "payor_monthly_child_support_amount" "pk": "payor_monthly_child_support_amount"
},
{
"fields": {
"name": "What is the monthly child support amount proposed in the order to be paid by",
"description": "For Step 6, Your children - Payor & medical expenses",
"summary_order": 0,
"required": "Required"
},
"model": "core.question",
"pk": "child_support_in_order"
},
{
"fields": {
"name": "We are not asking for child support to be included in the order",
"description": "For Step 6, Your children - Payor & medical expenses",
"summary_order": 0,
"required": "Conditional"
},
"model": "core.question",
"pk": "child_support_in_order_reason"
} }
] ]

Loading…
Cancel
Save