Report template currency updates (#4469)

* Move render_currency into helpers.py

- Add duplicate tag to report.py
- Add option for currency conversion (optional)

* Update report templates

- Use "render_currency" instead of including price_data template

* Remove 'price_data.html' template entirely
This commit is contained in:
Oliver authored and GitHub committed 2023-03-08 23:26:26 +11:00
1 parent beac7d15df
commit 34875828d7
10 files changed
+84 -65

No files matched your search

-8
View File
@@ -1,8 +0,0 @@
{% load inventree_extras %}
{% load i18n %}
{% if price %}
{% render_currency price %}
{% else %}
<em>{% trans "No data" %}</em>
{% endif %}