From 23f35cfec06d4c3c73ae7a61017a304e5b8000f8 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Wed, 19 May 2021 20:58:48 +0300 Subject: Work authorization fixes --- servo/templates/orders/print_confirmation.html | 40 +++++++++++--------------- 1 file changed, 17 insertions(+), 23 deletions(-) (limited to 'servo/templates/orders') diff --git a/servo/templates/orders/print_confirmation.html b/servo/templates/orders/print_confirmation.html index b82cc70..1bd0844 100755 --- a/servo/templates/orders/print_confirmation.html +++ b/servo/templates/orders/print_confirmation.html @@ -7,22 +7,20 @@ {% block content %} {% with order.location as location %}
-
+
{% if conf.company_logo %} logo {% endif %} -
-
- {{ location.title }}
+ {{ location.title }}
{{ location.address }}
- {{ location.zip_code }}, {{ location.city }}
- {{ location.notes }} + {{ location.zip_code }}, {{ location.city }} + {{ location.email }}
+ {{ location.phone }}
-
+
+ {{ location.notes }} {% block location_info %} {% endblock location_info %} - {% trans "Email" %}: {{ location.email }}
- {% trans "Phone" %}: {{ location.phone }}

{% endwith %} @@ -86,36 +84,32 @@
- {% block work_description %} + {% block work_description %} {% if order.reported_notes.count > 0 %}

{% trans "Problem Description" %}


- {%trans "Customer Reported Issue" %}: - {% for n in data.issues %} - {{ n.body }} - {% endfor %} + {% trans "Customer Reported Issue" %}: + {% for n in issues %} {{ n.body }} {% endfor %}

- {%trans "Technician Verified Issue" %}: - {% for n in data.verified_issues %} - {{ n.body }} - {% endfor %} + {% trans "Technician Verified Issue" %}: + {% for n in verified_issues %} {{ n.body }} {% endfor %}

- {%trans "Customer Notes" %}: - {% for n in data.customer_notes %} + {% trans "Customer Notes" %}: + {% for n in customer_notes %} {{ n.body }} {% endfor %}

- {%trans "Technician Notes" %}: - {% for n in order.reported_notes %} + {% trans "Technician Notes" %}: + {% for n in tech_notes %} {{ n.body }} {% endfor %}

{% endif %} - {% endblock work_description %} + {% endblock work_description %}
-- cgit v1.2.3