From 159c72e29817b9b9baa4a45fcc162966f06450eb Mon Sep 17 00:00:00 2001 From: Justin Johnson Date: Thu, 15 Feb 2018 09:39:02 -0800 Subject: [PATCH] DIV-758 --- edivorce/apps/core/templates/pdf/form1.html | 20 +++++++++++++------- edivorce/apps/core/templates/pdf/form52.html | 2 +- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/edivorce/apps/core/templates/pdf/form1.html b/edivorce/apps/core/templates/pdf/form1.html index 2a729ddd..a2b8d321 100644 --- a/edivorce/apps/core/templates/pdf/form1.html +++ b/edivorce/apps/core/templates/pdf/form1.html @@ -386,13 +386,15 @@ Birth date
[dd mmm yyyy] Resides with {{ child.child_name }} {{ child.child_birth_date|date_formatter }}   {{ child.child_live_with|claimantize }} - {% endfor %} + {% endfor %} + {% endif %}     @@ -416,14 +418,16 @@ - A. {% checkbox responses.order_respecting_arrangement %} + A. {% checkbox responses.order_respecting_arrangement children_of_marriage='YES' %}
Claimant 1 and Claimant 2 are asking for the following order respecting arrangements for parenting or contact: + {% if responses.children_of_marriage == 'YES' %}
    {{ responses.order_respecting_arrangement|striptags|linebreaksli }}
+ {% endif %}
@@ -431,13 +435,15 @@ - B. {% checkbox responses.order_for_child_support %} + B. {% checkbox responses.order_for_child_support children_of_marriage='YES' %}
Claimant 1 and Claimant 2 are asking for an order for child support as follows: + {% if responses.children_of_marriage == 'YES' %}
    {{ responses.order_for_child_support|striptags|linebreaksli }}
+ {% endif %}
@@ -445,7 +451,7 @@ - C. {% checkbox responses.child_support_act %} + C. {% checkbox responses.child_support_act children_of_marriage='YES' %}
Claimant 1 and Claimant 2 are asking for the orders @@ -453,10 +459,10 @@ following statute(s):
[Check one or both of the following boxes, as applicable.]

- {% checkbox child_support_act='the Divorce Act (Canada)' %} + {% checkbox child_support_act='the Divorce Act (Canada)' children_of_marriage='YES' %} the Divorce Act (Canada)      - {% checkbox child_support_act='the Family Law Act' %} + {% checkbox child_support_act='the Family Law Act' children_of_marriage='YES' %} the Family Law Act
diff --git a/edivorce/apps/core/templates/pdf/form52.html b/edivorce/apps/core/templates/pdf/form52.html index a80c074e..047f846a 100644 --- a/edivorce/apps/core/templates/pdf/form52.html +++ b/edivorce/apps/core/templates/pdf/form52.html @@ -110,7 +110,7 @@ {% endif %} - {% if derived.wants_child_support %} + {% if responses.children_of_marriage == 'YES' and derived.wants_child_support %} {% for order in derived.pursuant_parenting_arrangement %}
  • {{ order }}
  • {% endfor %}