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/invoices/index.html | 106 ++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100755 servo/templates/invoices/index.html (limited to 'servo/templates/invoices/index.html') diff --git a/servo/templates/invoices/index.html b/servo/templates/invoices/index.html new file mode 100755 index 0000000..94bf6ae --- /dev/null +++ b/servo/templates/invoices/index.html @@ -0,0 +1,106 @@ +{% extends "products/index.html" %} +{% load servo_tags %} +{% load i18n %} + +{% block first_column %} + +{% endblock first_column %} + +{% block toolbar %} +{% endblock toolbar %} + +{% block second_column %} +{% block filter_bar %} +
+
+
+ {% csrf_token %} + {% for field in form %} +
+ +
{{ field }}
+
+ {% endfor %} +
+ +
+ +
+
+
+
+
+{% endblock filter_bar %} +
+
+ + + + + + + + + + + + + + + + {% for i in invoices %} + + + + + + + + + + + + {% empty %} + + + + {% endfor %} + + + + + + + + + + + + + + +
#{% trans "Order" %}{% trans "Customer" %}{% trans "Date Created" %}{% trans "Status" %}{% trans "Total" %}{% trans "Date Paid" %}{% trans "Payment Method" %}
{{ i.pk|safe }}{{ i.order.code }}{{ i.customer_name }}{{ i.created_at|date:"SHORT_DATE_FORMAT" }}{{ i.order.status_name }}{{ i.total_gross|currency }}{{ i.paid_at|date:"SHORT_DATE_FORMAT" }}{{ i.get_payment_methods|join:", " }} + +
{% trans "No invoices found" %}
{{ total.total_net__sum|currency|default:"" }}
{{ total_purchases.total__sum|currency|default:"" }}
{{ total_paid.total_net__sum|currency|default:"" }}
+ {% include "pagination.html" with items=invoices %} +
+
+{% endblock second_column %} + +{% block third_column %} +{% endblock third_column %} + +{% block crumbs %} +
  • {% trans "Invoices" %}
  • +{% endblock crumbs %} -- cgit v1.2.3