Browse Source

DIV-683,DIV-682,DIV-685 - questions implemented

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

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

@ -158,8 +158,6 @@
</table>
</div>
</div>
</div>
<div class="question-well">
@ -202,6 +200,35 @@
Federal Child Support Guidelines
</a>amount based on the income of the payor(s)?
</h3>
<div class="radio">
<label>
{% input_field type="radio" name="does_payour_amount_match_guidelines" value="YES" data_target_id="amount_does_not_match" data_reveal_target="false" %} Yes
</label>
</div>
<div class="radio">
<label>
{% input_field type="radio" name="does_payour_amount_match_guidelines" value="NO" data_target_id="amount_does_not_match" data_reveal_target="true" %} No
</label>
</div>
</div>
<div class="question-well" id="amount_does_not_match" hidden>
<h3>Do you and the other parent agree (have consented) on the child support amount?</h3>
<div class="radio">
<label>
{% input_field type="radio" name="claimants_agree_to_child_support_amount" value="YES" data_target_id="what_special_provisions" data_reveal_target="false" %} Yes
</label>
</div>
<div class="radio">
<label>
{% input_field type="radio" name="claimants_agree_to_child_support_amount" value="NO" data_target_id="what_special_provisions" data_reveal_target="true" %} No
</label>
</div>
</div>
<div class="question-well" id="what_special_provisions" hidden>
<h3>What special provisions have been made?</h3>
{% input_field type="textarea" name="child_support_payment_special_provisions" class="response-textarea form-control" tabindex="-1" maxlength="1000" rows="3" %}
</div>
{% endblock %}


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

@ -1544,5 +1544,41 @@
},
"model": "core.question",
"pk": "child_support_in_order_reason"
},
{
"fields": {
"name": "Does this amount match with what is specified in the current Federal Child Support Guidelines amount based on the income of the payor(s)?",
"description": "For Step 6, Your children - Payor & medical expenses",
"summary_order": 0,
"required": "Conditional",
"conditional_target": "child_support_in_order_reason",
"reveal_response": "YES"
},
"model": "core.question",
"pk": "does_payour_amount_match_guidelines"
},
{
"fields": {
"name": "Do you and the other parent agree (have consented) on the child support amount?",
"description": "For Step 6, Your children - Payor & medical expenses",
"summary_order": 0,
"required": "Conditional",
"conditional_target": "does_payour_amount_match_guidelines",
"reveal_response": "NO"
},
"model": "core.question",
"pk": "claimants_agree_to_child_support_amount"
},
{
"fields": {
"name": "What special provisions have been made?",
"description": "For Step 6, Your children - Payor & medical expenses",
"summary_order": 0,
"required": "Conditional",
"conditional_target": "claimants_agree_to_child_support_amount",
"reveal_response": "NO"
},
"model": "core.question",
"pk": "child_support_payment_special_provisions"
}
]

Loading…
Cancel
Save