{% if not order.manual %}Status źródła: {{ order.sourceStatusLabel ?: order.sourceStatusCode ?: '—' }}{% endif %}
Wewnętrzny: {{ order.internalStatusCode ?: 'nieustalony' }}Dostawa: {{ order.shippingMethodName ?: order.deliveryType }}Pozycji: {{ order_view.summary.items }}
{% if order.manual and order.updatedBy %}Operator: {{ order.updatedBy.displayName }}{% endif %}
{% if order.manual and permissions.edit_manual and order.internalStatusCode != 'cancelled' %}
editEdytuj
{% endif %}
{% if order.manual and permissions.activate_manual %}
{% if order.internalStatusCode in ['draft', 'needs_attention'] %}
{% endif %}
{% endif %}
{% if provider_dispatch_options and (order.canBeSentToProvider or duplicate_fulfillment) and permissions.fulfillment_dispatch %}
{% elseif order.manual %}
Aktywuj zamówienie przed realizacją
{% endif %}
{% if order.manual and permissions.cancel_manual and order.internalStatusCode != 'cancelled' %}
{% endif %}
arrow_backLista zamówień
{% if order.manual and manual_readiness %}
{% if manual_readiness.errors %}
error
{% for message in manual_readiness.errors %}
{{ message }}
{% endfor %}
{% endif %}
{% if manual_readiness.warnings %}
warning
{% for message in manual_readiness.warnings %}
{{ message }}
{% endfor %}
{% endif %}
{% endif %}
{% include 'sales_order/tabs/_summary.html.twig' %}
{% include 'sales_order/tabs/_products.html.twig' %}
{% include 'sales_order/tabs/_delivery.html.twig' %}
{% include 'sales_order/tabs/_fulfillments.html.twig' %}
{% include 'sales_order/tabs/_shipments.html.twig' %}
{% include 'sales_order/tabs/_history.html.twig' %}
{% include 'sales_order/tabs/_source.html.twig' %}
{% include 'sales_order/tabs/_logs.html.twig' %}
{% if provider_dispatch_options and (order.canBeSentToProvider or duplicate_fulfillment) and permissions.fulfillment_dispatch %}{% include 'sales_order/_fulfillment_modal.html.twig' %}{% endif %}
{% endblock %}