{% 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 %}