diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-08-04 10:11:24 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-08-04 10:11:24 +0300 |
commit | 63b0fc6269b38edf7234b9f151b80d81f614c0a3 (patch) | |
tree | 555de3068f33f8dddb4619349bbea7d9b7c822fd /servo/templates/orders/print_dispatch.html | |
download | Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.gz Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.bz2 Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.zip |
Initial commit
First public commit
Diffstat (limited to 'servo/templates/orders/print_dispatch.html')
-rwxr-xr-x | servo/templates/orders/print_dispatch.html | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/servo/templates/orders/print_dispatch.html b/servo/templates/orders/print_dispatch.html new file mode 100755 index 0000000..003e03e --- /dev/null +++ b/servo/templates/orders/print_dispatch.html @@ -0,0 +1,38 @@ +{% extends "orders/print_confirmation.html" %} +{% load i18n %} + +{% block title %} + {% blocktrans with code=order.code%}Dispatch #{{ code }}{% endblocktrans %} +{% endblock title %} + +{% block parts_and_services %} +<h4>{% trans "Products and Services" %}</h4> +<table class="table"> + <thead> + <tr> + <th colspan="2">{% trans "Product" %}</th> + <th>{% trans "Warranty" %}</th> + <th style="width:50px">{% trans "VAT %" %}</th> + <th style="width:40px">{% trans "Qty" %}</th> + </tr> + </thead> + <tbody> + {% block list_products %} + {% for i in order.products %} + <tr> + <td style="width:75px">{{ i.product.code }}</td> + <td>{{ i.title }}{% if i.sn %}<br/><span class="muted">{% trans "SN" %}: {{ i.sn }}</span>{% endif %}</td> + <td>{{ i.product.warranty_period }} {% trans "mon." %}</td> + <td>{{ i.product.pct_vat|floatformat:"0" }}%</td> + <td>{{ i.amount }}</td> + </tr> + {% endfor %} + {% endblock list_products %} + </tbody> +</table> +{% endblock parts_and_services %} + +{% block received_by %} +{% endblock received_by %} + +{% block tos %}{% endblock tos %} |