From 287a05ddc5cece2f534c5d81dc575d02b5a1935c Mon Sep 17 00:00:00 2001
From: Matthias <matmair@live.de>
Date: Wed, 5 May 2021 21:48:58 +0200
Subject: [PATCH] clearer spacing in html

---
 .../part/templates/part/part_pricing.html     | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/InvenTree/part/templates/part/part_pricing.html b/InvenTree/part/templates/part/part_pricing.html
index b14be2c61f..9922813210 100644
--- a/InvenTree/part/templates/part/part_pricing.html
+++ b/InvenTree/part/templates/part/part_pricing.html
@@ -19,9 +19,10 @@
         <td colspan='2'>{{ quantity }}</td>
     </tr>
 </table>
-    {% if part.supplier_count > 0 %}
+
+{% if part.supplier_count > 0 %}
     <h4>{% trans 'Supplier Pricing' %}</h4>
-<table class='table table-striped table-condensed'>
+    <table class='table table-striped table-condensed'>
     {% if min_total_buy_price %}
     <tr>
         <td><b>{% trans 'Unit Cost' %}</b></td>
@@ -42,12 +43,12 @@
         </td>
     </tr>
     {% endif %}
-</table>
-    {% endif %}
+    </table>
+{% endif %}
 
-    {% if part.bom_count > 0 %}
+{% if part.bom_count > 0 %}
     <h4>{% trans 'BOM Pricing' %}</h4>
-<table class='table table-striped table-condensed'>
+    <table class='table table-striped table-condensed'>
     {% if min_total_bom_price %}
     <tr>
         <td><b>{% trans 'Unit Cost' %}</b></td>
@@ -75,8 +76,8 @@
         </td>
     </tr>
     {% endif %}
-</table>
-    {% endif %}
+    </table>
+{% endif %}
 
 {% if min_unit_buy_price or min_unit_bom_price %}
 {% else %}
@@ -84,7 +85,5 @@
     {% trans 'No pricing information is available for this part.' %}
 </div>
 {% endif %}
-
 <hr>
-
 {% endblock %}
\ No newline at end of file