mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-21 23:45:16 +00:00
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:
1 parent
beac7d15df
commit
34875828d7
10 files changed
+84
-65
No files matched your search
@@ -188,7 +188,7 @@
|
||||
<td><span class='fas fa-dollar-sign'></span></td>
|
||||
<td>{% trans "Purchase Price" %}</td>
|
||||
<td>
|
||||
{% include "price_data.html" with price=item.purchase_price %}
|
||||
{% render_currency item.purchase_price %}
|
||||
{% if item.part.units %} / {{ item.part.units }}{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in new issue
Block a user