mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-01 06:11:06 +00:00
fixing currency display
This commit is contained in:
1 parent
d87592aedb
commit
691142ea4c
2 files changed
+4
-2
No files matched your search
@@ -1,8 +1,9 @@
|
||||
{% extends "modal_form.html" %}
|
||||
|
||||
{% load i18n %}
|
||||
{% load i18n inventree_extras %}
|
||||
|
||||
{% block pre_form_content %}
|
||||
{% settings_value "INVENTREE_DEFAULT_CURRENCY" as currency %}
|
||||
<table class='table table-striped table-condensed table-price-two'>
|
||||
<tr>
|
||||
<td><b>{% trans 'Part' %}</b></td>
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
{% if currency %}{{ currency.symbol }}{% endif %}{{ price }}{% if currency %} {{ currency.suffix }}{% endif %}
|
||||
{% load djmoney %}
|
||||
{% money_localize price currency %}
|
||||
Reference in new issue
Block a user