diff --git a/templates/helper.twig b/templates/helper.twig
index 66268a96..9e68d56c 100644
--- a/templates/helper.twig
+++ b/templates/helper.twig
@@ -192,7 +192,7 @@
{% set preview_attach = part_preview_generator.tablePreviewAttachment(part) %}
{% if preview_attach %}
+ {{ stimulus_controller('elements/hoverpic') }} data-thumbnail="{{ attachment_thumbnail(preview_attach) }}">
{% endif %}
{{ part.name }}
{% endmacro %}
@@ -241,3 +241,11 @@
{{ datetime|format_datetime }}
{% endif %}
{% endmacro %}
+
+{% macro vat_text(bool) %}
+ {% if bool === true %}
+ ({% trans %}prices.incl_vat{% endtrans %})
+ {% elseif bool === false %}
+ ({% trans %}prices.excl_vat{% endtrans %})
+ {% endif %}
+{% endmacro %}
diff --git a/templates/parts/info/_order_infos.html.twig b/templates/parts/info/_order_infos.html.twig
index 68462de5..59b904df 100644
--- a/templates/parts/info/_order_infos.html.twig
+++ b/templates/parts/info/_order_infos.html.twig
@@ -24,8 +24,8 @@
| {% trans %}part.order.minamount{% endtrans %} | {% trans %}part.order.price{% endtrans %} | @@ -36,32 +36,35 @@ {% endif %}|
|---|---|---|
| - {{ detail.MinDiscountQuantity | format_amount(part.partUnit) }} - | -- {{ detail.price | format_money(detail.currency) }} / {{ detail.PriceRelatedQuantity | format_amount(part.partUnit) }} - {% set tmp = pricedetail_helper.convertMoneyToCurrency(detail.price, detail.currency) %} - {% if detail.currency != (app.user.currency ?? null) and tmp is not null and tmp.GreaterThan(0) %} - ({{ pricedetail_helper.convertMoneyToCurrency(detail.price, detail.currency, app.user.currency ?? null) | format_money(app.user.currency ?? null) }}) - {% endif %} - | -- {{ detail.PricePerUnit | format_money(detail.currency) }} - {% set tmp = pricedetail_helper.convertMoneyToCurrency(detail.PricePerUnit, detail.currency) %} - {% if detail.currency != (app.user.currency ?? null) and tmp is not null and tmp.GreaterThan(0) %} - ({{ pricedetail_helper.convertMoneyToCurrency(detail.PricePerUnit, detail.currency, app.user.currency ?? null) | format_money(app.user.currency ?? null) }}) - {% endif %} - | -