aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/orders
diff options
context:
space:
mode:
Diffstat (limited to 'servo/templates/orders')
-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">