From 63b0fc6269b38edf7234b9f151b80d81f614c0a3 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Tue, 4 Aug 2015 10:11:24 +0300 Subject: Initial commit First public commit --- servo/templates/devices/parts.html | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100755 servo/templates/devices/parts.html (limited to 'servo/templates/devices/parts.html') diff --git a/servo/templates/devices/parts.html b/servo/templates/devices/parts.html new file mode 100755 index 0000000..1f4f12c --- /dev/null +++ b/servo/templates/devices/parts.html @@ -0,0 +1,42 @@ +{% load i18n %} +{% load servo_tags %} + + + + {% if order.is_editable %} + + {% endif %} + + + + + + + {% for p in products %} + + {% if order.is_editable %} + + {% endif %} + + + + + {% empty %} + + {% endfor %} + +
{% trans "Part" %}{% trans "Stock Price" %}{% trans "Exchange Price" %}
+ {{ p.code }}{% if p.subst_code %}
{% blocktrans with code=p.subst_code %}Substituted to {{ code }}{% endblocktrans %}{% endif %}
+ {{ p.title }}
{{ p.eee_code|default:"-"|addspace }}
{{ p.price_sales_stock|currency }}{{ p.price_sales_exchange|currency }}
{% trans "No products found" %}
+ + -- cgit v1.2.3