Browse Source

DIV-811: Adding missing field to fact sheet c in GUI and form 37

pull/160/head
Benard Ebinu 7 years ago
parent
commit
e68aa3fef7
3 changed files with 22 additions and 2 deletions
  1. +1
    -1
      edivorce/apps/core/templates/pdf/partials/fact_sheet_c.html
  2. +9
    -1
      edivorce/apps/core/templates/question/06_children_facts.html
  3. +12
    -0
      edivorce/fixtures/Question.json

+ 1
- 1
edivorce/apps/core/templates/pdf/partials/fact_sheet_c.html View File

@ -41,7 +41,7 @@
<td class="line-number">D</td>
<td>Number of children principally resident with Claimant 2 for whom support is claimed</td>
<td class="amount">
<span class="actual">{{ responses.number_of_children_claimant }}</span>
<span class="actual">{{ responses.number_of_children_claimant_spouse }}</span>
</td>
</tr>
<tr>


+ 9
- 1
edivorce/apps/core/templates/question/06_children_facts.html View File

@ -244,7 +244,7 @@
How many children spend more than 60 percent of their time 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="fact-sheet-input" %}
{% input_field type="number" name="number_of_children_claimant" class="positive-integer fact-sheet-input" %}
</td>
</tr>
<tr>
@ -293,6 +293,14 @@
</div>
</td>
</tr>
<tr>
<td class="fact-sheet-question">
How many children spend more than 60 percent of their time 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" %}
</td>
</tr>
<tr>
<td class="fact-sheet-question">
<p>Your annual income?</p>


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

@ -1423,6 +1423,18 @@
"model": "core.question",
"pk": "number_of_children_claimant"
},
{
"fields": {
"name": "How many children spend more than 60 percent of their time with your spouse and for whom you are obliged to pay support?",
"description": "For Step 6, Your children - Your children - Fact Sheet C Split Custody",
"summary_order": 0,
"required": "Conditional",
"conditional_target": "claimant_children",
"reveal_response": ""
},
"model": "core.question",
"pk": "number_of_children_claimant_spouse"
},
{
"fields": {
"name": "How do I calculate annual income?",


Loading…
Cancel
Save