Browse Source

DIV-676: Display fact sheet D when children of marriage and financial support pre-qual questions indicate so

pull/160/head
Benard Ebinu 8 years ago
parent
commit
4d69364b9c
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      edivorce/apps/core/templates/question/06_children_facts.html
  2. +1
    -1
      edivorce/apps/core/utils/derived.py

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

@ -548,7 +548,7 @@
</table>
</div>
{% if children_financial_support != 'NO'%}
{% if children_of_marriage == 'YES' and 'NO' not in children_financial_support %}
<div id="fact_sheet_d" class="question-well">
<h1>Child(ren) 19 Years or Older (Fact Sheet D)</h1>
<p>


+ 1
- 1
edivorce/apps/core/utils/derived.py View File

@ -79,7 +79,7 @@ def show_fact_sheet_d(responses):
"""
support = json.loads(responses.get('children_financial_support', '[]'))
return len(support) > 0 and "NO" not in support
return len(support) > 0 and 'NO' not in support and responses.get('children_of_marriage', '') == 'YES'
def show_fact_sheet_e(responses):


Loading…
Cancel
Save