diff --git a/templates/Parts/info/_order_infos.html.twig b/templates/Parts/info/_order_infos.html.twig index 716bc179..cd64d58f 100644 --- a/templates/Parts/info/_order_infos.html.twig +++ b/templates/Parts/info/_order_infos.html.twig @@ -1,4 +1,4 @@ -
{% trans %}part_lots.description{% endtrans %} | -{% trans %}part_lots.storage_location{% endtrans %} | -{% trans %}part_lots.amount{% endtrans %} | -{# Tags row #} - | - | {# Button row #} - |
---|
{{ lot.description }} | -- {% if lot.storageLocation %} - {{ helper.structural_entity_link(lot.storageLocation) }} - {% else %} - + | {% trans %}part_lots.description{% endtrans %} | +{% trans %}part_lots.storage_location{% endtrans %} | +{% trans %}part_lots.amount{% endtrans %} | +{# Tags row #} + | + | {# Button row #} + |
---|---|---|---|---|---|---|---|
{{ lot.description }} | ++ {% if lot.storageLocation %} + {{ helper.structural_entity_link(lot.storageLocation) }} + {% else %} + {% trans %}part_lots.location_unknown{% endtrans %} - {% endif %} - | -- {% if lot.instockUnknown %} - + {% endif %} + | ++ {% if lot.instockUnknown %} + {% trans %}part_lots.instock_unknown{% endtrans %} - {% else %} - {{ lot.amount | format_amount(part.partUnit, {'decimals': 5}) }} - {% endif %} - | -
- - {% if lot.expirationDate %} - + {% else %} + {{ lot.amount | format_amount(part.partUnit, {'decimals': 5}) }} + {% endif %} + |
+
+
+ {% if lot.expirationDate %}
+
{{ lot.expirationDate | format_date() }}
- {% endif %}
- {% if lot.expired %}
-
- |
-
-
-
-
-
-
- |
- - {{ dropdown.profile_dropdown('part_lot', lot.id, false) }} - | -
+
+
+
+
+
+ |
+ + {{ dropdown.profile_dropdown('part_lot', lot.id, false) }} + | + + {% endfor %} + -