From 4a2b6a5674254825e531a64c4d797520417143a6 Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 30 Apr 2018 21:56:46 +1000 Subject: [PATCH] Formatting fixes --- InvenTree/stock/templates/stock/item.html | 21 ++++++++++++------- .../stock/templates/stock/location_list.html | 2 +- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/InvenTree/stock/templates/stock/item.html b/InvenTree/stock/templates/stock/item.html index b3b4b8ad6a..e253200f0e 100644 --- a/InvenTree/stock/templates/stock/item.html +++ b/InvenTree/stock/templates/stock/item.html @@ -27,6 +27,11 @@ Serial {{ item.serial }} +{% else %} + + Quantity + {{ item.quantity }} + {% endif %} {% if item.batch %} @@ -40,10 +45,6 @@ {{ item.customer.name }} {% endif %} - - Quantity - {{ item.quantity }} - {% if item.URL %} URL @@ -79,20 +80,26 @@ {% if item.has_tracking_info %} -

Stock Tracking

+
+

Tracking History

+
    {% for track in item.tracking_info.all %}
  • {{ track.title }} {% if track.notes %} -

    {{ track.notes }} +
    {{ track.notes }} {% endif %} - {{ track.date }} + {{ track.date }} - {{ track.user }}
  • {% endfor %}
+
+
+ {% endif %} +
{% if item.in_stock %} diff --git a/InvenTree/stock/templates/stock/location_list.html b/InvenTree/stock/templates/stock/location_list.html index 79e378ca37..ded73cfb3d 100644 --- a/InvenTree/stock/templates/stock/location_list.html +++ b/InvenTree/stock/templates/stock/location_list.html @@ -1,5 +1,5 @@ \ No newline at end of file