From b5c7cf077901635655c45cf45f4e7ed5b43be576 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Mon, 14 Aug 2023 16:28:58 +1000
Subject: [PATCH] Fix html tag in template (#5445) (#5448)
- Ensure
tag is closed correctly
(cherry picked from commit e7b5b145bfe5e1566080e9d6b8e67f44e872374d)
Co-authored-by: Oliver
---
InvenTree/stock/templates/stock/item_base.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/InvenTree/stock/templates/stock/item_base.html b/InvenTree/stock/templates/stock/item_base.html
index be9a5b0028..4704cca24c 100644
--- a/InvenTree/stock/templates/stock/item_base.html
+++ b/InvenTree/stock/templates/stock/item_base.html
@@ -371,8 +371,9 @@
{{ item.sales_order.reference }}
{% if item.sales_order.customer %}
- - {{ item.sales_order.customer.name }} |
+ - {{ item.sales_order.customer.name }}
{% endif %}
+ |
{% else %}
{% if allocated_to_sales_orders %}