{% import "helper.twig" as helper %} {% import "label_system/dropdown_macro.html.twig" as dropdown %} {% include "parts/info/_withdraw_modal.html.twig" %}
{# Tags row #} {# Button row #} {% for lot in part.partLots %} {% endfor %}
{% trans %}part_lots.description{% endtrans %} {% trans %}part_lots.storage_location{% endtrans %} {% trans %}part_lots.amount{% endtrans %}
{{ lot.description }} {% if lot.storageLocation %} {{ helper.structural_entity_link(lot.storageLocation) }} {% else %} {% trans %}part_lots.location_unknown{% endtrans %} {% endif %} {% if lot.instockUnknown %} {% trans %}part_lots.instock_unknown{% endtrans %} {% else %} {{ lot.amount | format_amount(part.partUnit, {'decimals': 5}) }} {% endif %}
{% if lot.owner %} {{ helper.user_icon_link(lot.owner) }}
{% endif %} {% if lot.expirationDate %} {{ lot.expirationDate | format_date() }}
{% endif %} {% if lot.expired %}
{% trans %}part_lots.is_expired{% endtrans %} {% endif %} {% if lot.needsRefill %}
{% trans %}part_lots.need_refill{% endtrans %} {% endif %}
{{ dropdown.profile_dropdown('part_lot', lot.id, false) }} {# Action for order information #}