diff --git a/edivorce/apps/core/templates/pdf/partials/fact_sheet_c.html b/edivorce/apps/core/templates/pdf/partials/fact_sheet_c.html index df4fd47a..664a72a6 100644 --- a/edivorce/apps/core/templates/pdf/partials/fact_sheet_c.html +++ b/edivorce/apps/core/templates/pdf/partials/fact_sheet_c.html @@ -41,7 +41,7 @@ D Number of children principally resident with Claimant 2 for whom support is claimed - {{ responses.number_of_children_claimant }} + {{ responses.number_of_children_claimant_spouse }} diff --git a/edivorce/apps/core/templates/question/06_children_facts.html b/edivorce/apps/core/templates/question/06_children_facts.html index 67568d76..5f3cbf8d 100644 --- a/edivorce/apps/core/templates/question/06_children_facts.html +++ b/edivorce/apps/core/templates/question/06_children_facts.html @@ -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? - {% 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" %} @@ -293,6 +293,14 @@ + + + How many children spend more than 60 percent of their time with your spouse and for whom you are obliged to pay support? + + + {% input_field type="number" name="number_of_children_claimant_spouse" class="positive-integer fact-sheet-input" %} + +

Your annual income?

diff --git a/edivorce/fixtures/Question.json b/edivorce/fixtures/Question.json index 33419c1f..1ca81ac7 100644 --- a/edivorce/fixtures/Question.json +++ b/edivorce/fixtures/Question.json @@ -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?",