2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-20 22:06:28 +00:00

clearer spacing in html

This commit is contained in:
2021-05-05 21:48:58 +02:00
parent 2cfb9c60a3
commit 287a05ddc5

View File

@ -19,9 +19,10 @@
<td colspan='2'>{{ quantity }}</td> <td colspan='2'>{{ quantity }}</td>
</tr> </tr>
</table> </table>
{% if part.supplier_count > 0 %}
{% if part.supplier_count > 0 %}
<h4>{% trans 'Supplier Pricing' %}</h4> <h4>{% trans 'Supplier Pricing' %}</h4>
<table class='table table-striped table-condensed'> <table class='table table-striped table-condensed'>
{% if min_total_buy_price %} {% if min_total_buy_price %}
<tr> <tr>
<td><b>{% trans 'Unit Cost' %}</b></td> <td><b>{% trans 'Unit Cost' %}</b></td>
@ -42,12 +43,12 @@
</td> </td>
</tr> </tr>
{% endif %} {% endif %}
</table> </table>
{% endif %} {% endif %}
{% if part.bom_count > 0 %} {% if part.bom_count > 0 %}
<h4>{% trans 'BOM Pricing' %}</h4> <h4>{% trans 'BOM Pricing' %}</h4>
<table class='table table-striped table-condensed'> <table class='table table-striped table-condensed'>
{% if min_total_bom_price %} {% if min_total_bom_price %}
<tr> <tr>
<td><b>{% trans 'Unit Cost' %}</b></td> <td><b>{% trans 'Unit Cost' %}</b></td>
@ -75,8 +76,8 @@
</td> </td>
</tr> </tr>
{% endif %} {% endif %}
</table> </table>
{% endif %} {% endif %}
{% if min_unit_buy_price or min_unit_bom_price %} {% if min_unit_buy_price or min_unit_bom_price %}
{% else %} {% else %}
@ -84,7 +85,5 @@
{% trans 'No pricing information is available for this part.' %} {% trans 'No pricing information is available for this part.' %}
</div> </div>
{% endif %} {% endif %}
<hr> <hr>
{% endblock %} {% endblock %}