From 3f38c74a145e587a257fab0e0f27a03ca3c2c9eb Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Thu, 26 Nov 2015 23:20:10 +0200 Subject: WIP adding location-based stocking report --- servo/templates/products/view.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'servo/templates/products/view.html') diff --git a/servo/templates/products/view.html b/servo/templates/products/view.html index 589e7f1..740621d 100755 --- a/servo/templates/products/view.html +++ b/servo/templates/products/view.html @@ -135,13 +135,13 @@ {% for i in sales %} - {% with i.order as order %} + {% with i.order as order %} {{ order.code }} {{ order.customer_name|default:"-" }} {{ i.price|currency }} {{ i.created_at|date:"SHORT_DATE_FORMAT" }} {{ i.dispatched_at|date:"SHORT_DATE_FORMAT" }} - {% endwith %} + {% endwith %} {% empty %} {% trans "No Sales Orders" %} @@ -188,9 +188,9 @@ {% for i in invoices %} {{ i.invoice.pk|safe }} - {% with i.invoice.order as order %} + {% with i.invoice.order as order %} {{ order.code }} - {% endwith %} + {% endwith %} {{ i.created_at|date:"SHORT_DATE_FORMAT" }} {{ i.price|currency }} -- cgit v1.2.3