From 4ddabb82ef47111b1a9a55d9b54dd64525207c5f Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 4 Jun 2020 11:50:55 +1000 Subject: [PATCH] Add a button to assign stock item to customer --- .../stock/templates/stock/item_base.html | 25 +++++++++++-------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/InvenTree/stock/templates/stock/item_base.html b/InvenTree/stock/templates/stock/item_base.html index 56ef8a3370..b675cb3709 100644 --- a/InvenTree/stock/templates/stock/item_base.html +++ b/InvenTree/stock/templates/stock/item_base.html @@ -71,43 +71,48 @@ InvenTree | {% trans "Stock Item" %} - {{ item }} {% include "qr_button.html" %} {% if item.in_stock %} {% if not item.serialized %} - - - {% if item.part.trackable %} - {% endif %} + {% if item.part.salable %} + {% endif %} - - {% endif %} {% if item.part.has_variants %} - {% endif %} {% if item.part.has_test_report_templates %} - {% endif %} - {% if item.can_delete %} - {% endif %}