using new tag for currency

This commit is contained in:
Matthias 2021-06-05 15:07:42 +02:00
parent 0eff7d000a
commit 44717b646f
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@
{% endblock %}
{% block details %}
{% settings_value "INVENTREE_DEFAULT_CURRENCY" as currency %}
{% default_currency as currency %}
{% crispy form %}
@ -130,7 +130,7 @@ the part single price shown is the current price for that supplier part"></i></h
{% block js_ready %}
{{ block.super }}
{% settings_value "INVENTREE_DEFAULT_CURRENCY" as currency %}
{% default_currency as currency %}
{% if price_history %}
var pricedata = {
labels: [

View File

@ -3,7 +3,7 @@
{% load i18n inventree_extras %}
{% block pre_form_content %}
{% settings_value "INVENTREE_DEFAULT_CURRENCY" as currency %}
{% default_currency as currency %}
<table class='table table-striped table-condensed table-price-two'>
<tr>
<td><b>{% trans 'Part' %}</b></td>