Show formatted amount values on part info page.

This commit is contained in:
Jan Böhmer 2019-08-26 15:09:05 +02:00
parent f5ebce2a77
commit 5cc08af7b6
5 changed files with 147 additions and 6 deletions

View file

@ -28,7 +28,7 @@
<i class="fas fa-question-circle fa-fw"></i> {% trans %}part_lots.instock_unknown{% endtrans %}
</span>
{% else %}
{{ lot.amount }}
{{ lot.amount | amountFormat(part.partUnit, {'decimals': 5}) }}
{% endif %}
</td>
<td>