From 8aabb016da67ae2743ce0cf43707f10332b9418d Mon Sep 17 00:00:00 2001 From: Mike Olund Date: Thu, 13 Jul 2017 13:27:44 -0700 Subject: [PATCH] DIV-261 - show other orders --- edivorce/apps/core/templates/pdf/form52.html | 82 ++++++++++++-------- 1 file changed, 50 insertions(+), 32 deletions(-) diff --git a/edivorce/apps/core/templates/pdf/form52.html b/edivorce/apps/core/templates/pdf/form52.html index eaeebe57..9db08899 100644 --- a/edivorce/apps/core/templates/pdf/form52.html +++ b/edivorce/apps/core/templates/pdf/form52.html @@ -1,6 +1,7 @@ {% load static %} {% load input_field %} {% load format_utils %} +{% load load_json %} @@ -79,42 +80,59 @@

This family law case coming on as an undefended family law case without an oral hearing under Rule 10-10 of the Supreme Court Family Rules, and on considering the evidence put forward;

-

- THIS COURT ORDERS that -

-

- Subject to section 12 of the Divorce Act (Canada), claimant 1, {% if responses.name_you %}{% include "partials/name_with_alias.html" with name=responses.name_you use_other_name=responses.any_other_name_you other_names=responses.other_name_you %}{% else %}{% endif %}, - and claimant 2, {% if responses.name_spouse %}{% include "partials/name_with_alias.html" with name=responses.name_spouse use_other_name=responses.any_other_name_spouse other_names=responses.other_name_spouse %}{% else %}{% endif %}, who were married at - {% if responses.where_were_you_married_city and responses.where_were_you_married_prov and responses.where_were_you_married_country %} - {{responses.where_were_you_married_city}}; {{responses.where_were_you_married_prov}}; - {% if responses.where_were_you_married_country == 'Other' %} {{ responses.where_were_you_married_other_country }} - {% else %} {{responses.where_were_you_married_country}}{% endif %} - {% else %}{% endif %} - on {% if responses.when_were_you_married %} {{ responses.when_were_you_married|date_formatter }} {% else %}{% endif %}, are divorced from each other, - {% if responses.divorce_take_effect_on == 'the 31st day after the date of this order' %} - the divorce to take effect on the 31st day after the date of this order. - {% else %} - the divorce to take effect on {% if responses.divorce_take_effect_on_specific_date %}{{ responses.divorce_take_effect_on_specific_date|date_formatter }}{% else %}{% endif %}. - {% endif %} -

+ {% if 'A legal end to the marriage' in responses.want_which_orders|load_json %} +

+ THIS COURT ORDERS that +

- {% comment "removed as per CLAW-480" %} -

- THIS COURT ORDERS that BY CONSENT: -

+

+ Subject to section 12 of the Divorce Act (Canada), claimant 1, {% if responses.name_you %}{% include "partials/name_with_alias.html" with name=responses.name_you use_other_name=responses.any_other_name_you other_names=responses.other_name_you %}{% else %}{% endif %}, + and claimant 2, {% if responses.name_spouse %}{% include "partials/name_with_alias.html" with name=responses.name_spouse use_other_name=responses.any_other_name_spouse other_names=responses.other_name_spouse %}{% else %}{% endif %}, who were married at + {% if responses.where_were_you_married_city and responses.where_were_you_married_prov and responses.where_were_you_married_country %} + {{responses.where_were_you_married_city}}; {{responses.where_were_you_married_prov}}; + {% if responses.where_were_you_married_country == 'Other' %} {{ responses.where_were_you_married_other_country }} + {% else %} {{responses.where_were_you_married_country}}{% endif %} + {% else %}{% endif %} + on {% if responses.when_were_you_married %} {{ responses.when_were_you_married|date_formatter }} {% else %}{% endif %}, are divorced from each other, + {% if responses.divorce_take_effect_on == 'the 31st day after the date of this order' %} + the divorce to take effect on the 31st day after the date of this order. + {% else %} + the divorce to take effect on {% if responses.divorce_take_effect_on_specific_date %}{{ responses.divorce_take_effect_on_specific_date|date_formatter }}{% else %}{% endif %}. + {% endif %} +

+ {% endif %} -

- 1   -

-

- 2   -

-

- 3   -

- {% endcomment %} + {% if 'Division of property and debts' in responses.want_which_orders|load_json or 'Spousal support' in responses.want_which_orders|load_json or 'Other orders' in responses.want_which_orders|load_json %} +

+ THIS COURT ORDERS that BY CONSENT: +

+ +

+

    + {% if 'Spousal support' in responses.want_which_orders|load_json and responses.spouse_support_details %} +
  1. {{ responses.spouse_support_details }}
  2. + {% endif %} + + {% if 'Division of property and debts' in responses.want_which_orders|load_json %} +
  3. + {% if responses.deal_with_property_debt == 'Equal division' %} + Equal division of property and debts. + {% else %} + {{ responses.how_to_divide_property_debt }} + {% endif %} +
    + {{ responses.other_property_claims }} +
  4. + {% endif %} + + {% if 'Other orders' in responses.want_which_orders|load_json and responses.other_orders_detail %} +
  5. {{ responses.other_orders_detail }}
  6. + {% endif %} +
+

+ {% endif %}