From 84d71d928fd7cea21efc3c0f8b0a2e835adbcade Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 24 May 2021 01:14:15 +0200 Subject: [PATCH] removing new stuff in pricing modal --- .../part/templates/part/part_pricing.html | 128 +----------------- 1 file changed, 7 insertions(+), 121 deletions(-) diff --git a/InvenTree/part/templates/part/part_pricing.html b/InvenTree/part/templates/part/part_pricing.html index e552d40024..49e37fe0ad 100644 --- a/InvenTree/part/templates/part/part_pricing.html +++ b/InvenTree/part/templates/part/part_pricing.html @@ -1,7 +1,6 @@ {% extends "modal_form.html" %} {% load i18n %} -{% load inventree_extras %} {% block pre_form_content %} @@ -88,124 +87,11 @@
{% endif %} - {% if min_unit_buy_price or min_unit_bom_price %} - {% else %} -
- {% trans 'No pricing information is available for this part.' %} -
- {% endif %} -
+{% if min_unit_buy_price or min_unit_bom_price %} +{% else %} +
+ {% trans 'No pricing information is available for this part.' %} +
+{% endif %} +
{% endblock %} - -{% block post_form_content %} - {% settings_value "INVENTREE_DEFAULT_CURRENCY" as currency %} - {% settings_value "PART_SHOW_GRAPH" as show_graph %} - - {% if show_graph and price_history %} -

{% trans 'Stock Pricing' %}

- {% if price_history|length > 1 %} -
- -
-
- {% blocktrans %}All prices are converted from their original currencies to {{currency}} at the current conversion-rate.{% endblocktrans %} -
- - {% else %} -
- {% trans 'No stock pricing history is available for this part.' %} -
- {% endif %} - {% endif %} -{% endblock %} \ No newline at end of file