{% if min_total_bom_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 %} |
{% if quantity > 1 %}
- {% 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 %} |
{% endif %}
{% if min_total_bom_purchase_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 %} |
{% if quantity > 1 %}
- {% 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 %} |
@@ -97,11 +97,11 @@
{% trans 'Internal 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 %} |
From 2b1279e64737c29bdcaed0e95136bf9008822699 Mon Sep 17 00:00:00 2001
From: Matthias Mair <66015116+matmair@users.noreply.github.com>
Date: Wed, 1 Sep 2021 08:14:08 +0200
Subject: [PATCH 2/2] now with closing tags
---
.../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 232af5623d..b24a89f5c9 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 %}
- {% 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 %} |
{% if quantity > 1 %}
- {% 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 %} |
@@ -49,26 +49,26 @@
{% if min_total_bom_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 %} |
{% if quantity > 1 %}
- {% 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 %} |
{% endif %}
{% if min_total_bom_purchase_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 %} |
{% if quantity > 1 %}
- {% 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 %} |
@@ -97,11 +97,11 @@
{% trans 'Internal 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 %} |