mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-03 17:55:03 +02:00
Use proper formatting for pricedetails quantities, when using a non integer part unit.
This commit is contained in:
parent
4391be448d
commit
3ab53ba863
2 changed files with 3 additions and 3 deletions
|
@ -32,10 +32,10 @@
|
||||||
{% for detail in order.pricedetails %}
|
{% for detail in order.pricedetails %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
{{ detail.MinDiscountQuantity }}
|
{{ detail.MinDiscountQuantity | amountFormat(part.partUnit) }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{ detail.price | moneyFormat(detail.currency) }}
|
{{ detail.price | moneyFormat(detail.currency) }} <i>{% trans %}part.order.price_per{% endtrans %}</i> {{ detail.PriceRelatedQuantity | amountFormat(part.partUnit) }}
|
||||||
{# {{ detail.Price | moneyFormat }} <i>{% trans %}part.order.price_per{% endtrans %}</i> {{ detail.PriceRelatedQuantity }} #}
|
{# {{ detail.Price | moneyFormat }} <i>{% trans %}part.order.price_per{% endtrans %}</i> {{ detail.PriceRelatedQuantity }} #}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
|
|
@ -1045,7 +1045,7 @@ Subelemente werden beim Löschen nach oben verschoben.</target>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="cpRdMwo" resname="part.order.price_per">
|
<trans-unit id="cpRdMwo" resname="part.order.price_per">
|
||||||
<source>part.order.price_per</source>
|
<source>part.order.price_per</source>
|
||||||
<target state="translated">Preis pro</target>
|
<target state="translated">pro</target>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="EKnfKFl" resname="edit.caption_short">
|
<trans-unit id="EKnfKFl" resname="edit.caption_short">
|
||||||
<source>edit.caption_short</source>
|
<source>edit.caption_short</source>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue