aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2021-05-19 20:58:48 +0300
committerFilipp Lepalaan <filipp@mac.com>2021-05-19 20:58:48 +0300
commit23f35cfec06d4c3c73ae7a61017a304e5b8000f8 (patch)
tree0047797f60510b453b9ae727c9d755bcac1297ae /servo/templates
parentd131966430914e1a148f02666ccdb1c4e5bc530f (diff)
downloadServo-23f35cfec06d4c3c73ae7a61017a304e5b8000f8.tar.gz
Servo-23f35cfec06d4c3c73ae7a61017a304e5b8000f8.tar.bz2
Servo-23f35cfec06d4c3c73ae7a61017a304e5b8000f8.zip
Work authorization fixes
Diffstat (limited to 'servo/templates')
-rwxr-xr-xservo/templates/orders/print_confirmation.html40
1 files changed, 17 insertions, 23 deletions
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 %}
<div class="row">
- <div class="span4">
+ <div class="span6">
{% if conf.company_logo %}
<img src="{% get_media_prefix %}{{ conf.company_logo }}" alt="logo" title="logo" class="media-object pull-left span2" style="margin:10px"/>
{% endif %}
- </div>
- <div class="span4">
- {{ location.title }}<br/>
+ <b>{{ location.title }}</b><br/>
{{ location.address }}<br/>
- {{ location.zip_code }}, {{ location.city }}<br/>
- {{ location.notes }}
+ {{ location.zip_code }}, {{ location.city }}
+ {{ location.email }}<br/>
+ {{ location.phone }}
</div>
- <div class="span4">
+ <div class="span6">
+ {{ location.notes }}
{% block location_info %}
{% endblock location_info %}
- {% trans "Email" %}: {{ location.email }}<br/>
- {% trans "Phone" %}: {{ location.phone }}<br/><br/>
</div>
</div>
{% endwith %}
@@ -86,36 +84,32 @@
</div>
<div class="row">
<div class="span12">
- {% block work_description %}
+ {% block work_description %}
{% if order.reported_notes.count > 0 %}
<h4>{% trans "Problem Description" %}</h4>
<hr/>
<p>
- {%trans "Customer Reported Issue" %}:
- {% for n in data.issues %}
- {{ n.body }}
- {% endfor %}
+ {% trans "Customer Reported Issue" %}:
+ {% for n in issues %} {{ n.body }} {% endfor %}
</p>
<p>
- {%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 %}
</p>
<p>
- {%trans "Customer Notes" %}:
- {% for n in data.customer_notes %}
+ {% trans "Customer Notes" %}:
+ {% for n in customer_notes %}
{{ n.body }}
{% endfor %}
</p>
<p>
- {%trans "Technician Notes" %}:
- {% for n in order.reported_notes %}
+ {% trans "Technician Notes" %}:
+ {% for n in tech_notes %}
{{ n.body }}
{% endfor %}
</p>
{% endif %}
- {% endblock work_description %}
+ {% endblock work_description %}
</div>
</div>
<div class="row">