mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-07 10:49:33 +00:00
Show formatted amount values on part info page.
This commit is contained in:
parent
f5ebce2a77
commit
5cc08af7b6
5 changed files with 147 additions and 6 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue