From 1fc39d56df30dd38353c7ddc990afd700b7c5c9d Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Wed, 19 Jun 2019 18:50:05 +1000 Subject: [PATCH] Add 'new stock location' button to top-level locatino --- InvenTree/stock/templates/stock/location.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/InvenTree/stock/templates/stock/location.html b/InvenTree/stock/templates/stock/location.html index b7275395c7..d201f76f91 100644 --- a/InvenTree/stock/templates/stock/location.html +++ b/InvenTree/stock/templates/stock/location.html @@ -7,11 +7,16 @@ {% if location %}

{{ location.name }}

{{ location.description }}

+ {% else %} +

Stock

+

All stock items

+ {% endif %}

+ {% if location %} {% include "qr_button.html" %} + {% endif %}

- {% else %} -

Stock

-

All stock items

- {% endif %}