From 5ad2eabab1570e88248877db26ab4fd654111afe Mon Sep 17 00:00:00 2001 From: Matthias Mair <66015116+matmair@users.noreply.github.com> Date: Tue, 31 Aug 2021 13:17:38 +0200 Subject: [PATCH] fix html templates --- .../part/templates/part/part_pricing.html | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/InvenTree/part/templates/part/part_pricing.html b/InvenTree/part/templates/part/part_pricing.html index be80efe1e7..232af5623d 100644 --- a/InvenTree/part/templates/part/part_pricing.html +++ b/InvenTree/part/templates/part/part_pricing.html @@ -9,11 +9,11 @@ - + - +
{% trans 'Part' %}{% trans 'Part' %} {{ part }}
{% trans 'Quantity' %}{% trans 'Quantity' %} {{ quantity }}
@@ -23,13 +23,13 @@ {% if min_total_buy_price %} - + {% if quantity > 1 %} - + @@ -49,26 +49,26 @@
{% trans 'Unit Cost' %}{% trans 'Unit Cost' %} Min: {% include "price.html" with price=min_unit_buy_price %} Max: {% include "price.html" with price=max_unit_buy_price %}
{% trans 'Total Cost' %}{% trans 'Total Cost' %} Min: {% include "price.html" with price=min_total_buy_price %} Max: {% include "price.html" with price=max_total_buy_price %}
{% if min_total_bom_price %} - + {% if quantity > 1 %} - + {% endif %} {% if min_total_bom_purchase_price %} - + {% if quantity > 1 %} - + @@ -97,11 +97,11 @@

{% trans 'Internal Price' %}

{% trans 'Unit Cost' %}{% trans 'Unit Cost' %} Min: {% include "price.html" with price=min_unit_bom_price %} Max: {% include "price.html" with price=max_unit_bom_price %}
{% trans 'Total Cost' %}{% trans 'Total Cost' %} Min: {% include "price.html" with price=min_total_bom_price %} Max: {% include "price.html" with price=max_total_bom_price %}
{% trans 'Unit Purchase Price' %}{% trans 'Unit Purchase Price' %} Min: {% include "price.html" with price=min_unit_bom_purchase_price %} Max: {% include "price.html" with price=max_unit_bom_purchase_price %}
{% trans 'Total Purchase Price' %}{% trans 'Total Purchase Price' %} Min: {% include "price.html" with price=min_total_bom_purchase_price %} Max: {% include "price.html" with price=max_total_bom_purchase_price %}
- + - +
{% trans 'Unit Cost' %}{% trans 'Unit Cost' %} {% include "price.html" with price=unit_internal_part_price %}
{% trans 'Total Cost' %}{% trans 'Total Cost' %} {% include "price.html" with price=total_internal_part_price %}
@@ -112,11 +112,11 @@

{% trans 'Sale Price' %}

- + - +
{% trans 'Unit Cost' %}{% trans 'Unit Cost' %} {% include "price.html" with price=unit_part_price %}
{% trans 'Total Cost' %}{% trans 'Total Cost' %} {% include "price.html" with price=total_part_price %}