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/purchases/list_pos.html | 132 ++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100755 servo/templates/purchases/list_pos.html (limited to 'servo/templates/purchases/list_pos.html') diff --git a/servo/templates/purchases/list_pos.html b/servo/templates/purchases/list_pos.html new file mode 100755 index 0000000..f580598 --- /dev/null +++ b/servo/templates/purchases/list_pos.html @@ -0,0 +1,132 @@ +{% extends "default.html" %} +{% load servo_tags %} +{% load i18n %} + +{% block toolbar %} +
+ {% trans "New" %} +
+{% endblock toolbar %} + +{% block content %} + +
+
+ +
+
+ +{% include "products/tabs.html" %} + +{% block filter_bar %} +
+
+
+ {% csrf_token %} + {% for field in form %} +
+ +
{{ field }}
+
+ {% endfor %} +
+ +
+ +
+
+
+
+
+{% endblock filter_bar %} + +
+
+ {% block detail_view %} + + + + + + + + + + + + + + + + + {% for po in orders %} + + + + + + + + {% if po.sales_order %} + + {% else %} + + {% endif %} + + + + + {% empty %} + + {% endfor %} + + + + + + + + + + + + + + + +
#{% trans "Created" %}{% trans "Ordered" %}{% trans "Reference" %}{% trans "Confirmation" %}{% trans "Received" %}{% trans "Order" %}{% trans "Products" %}{% trans "Total" %}
{{ po.id|safe }}{{ po.created_at|date:"SHORT_DATE_FORMAT" }}{{ po.submitted_at|date:"SHORT_DATE_FORMAT" }}{{ po.reference|default:"" }}{{ po.confirmation|default:"" }}{{ po.date_arrived }}{{ po.sales_order.code }}{{ po.amount }}{{ po.sum|currency }} +
+ + + + +
+
{% trans "No Purchase Orders" %}
{{ total.total__sum|currency|default:"" }}
+ {% include "pagination.html" with items=orders %} + {% endblock detail_view %} +
+
+{% endblock content %} + +{% block crumbs %} +
  • {% trans "Purchase Orders" %}
  • +{% endblock crumbs %} -- cgit v1.2.3