{% if order_rows is empty %}
Żadne zamówienie nie spełnia aktualnych kryteriów.
| Źródło | Numer | Data | Klient | Pozycje | Mockupy | Dostawa | Status źródłowy | Status wewnętrzny | Mapowanie | Realizacja | Przesyłka | Akcje |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ order.manual ? 'Operator' : (order.platform ? order.platform.name : '—') }} {{ order.manual ? (order.manualSourceLabel ?: 'Zamówienie ręczne') : (order.sourceIntegration ? order.sourceIntegration.name : 'Brak integracji') }} | {{ order.externalReference ?: order.externalId }} ID: {{ order.externalId }} | {{ order.sourceCreatedAt ? order.sourceCreatedAt|date('d.m.Y H:i') : '—' }} | {{ (order.customerFirstName ~ ' ' ~ order.customerLastName)|trim ?: '—' }} {{ order.customerEmail ?: 'Brak e-maila' }} | {{ row.itemCount }} |
{% for item_view in row.items|slice(0, 3) %}
{% include 'sales_order/_mockup_thumbnail.html.twig' with {
order: order,
item: item_view.item,
mockup: item_view.mockup,
compact: true,
allow_private: can_mockup_download
} only %}
{% endfor %}
{% if row.itemCount > 3 %}+{{ row.itemCount - 3 }}{% endif %}
{% if row.missingMockupCount > 0 %}Brak: {{ row.missingMockupCount }}{% endif %}
|
{{ order.shippingMethodName ?: order.deliveryType }} {% if order.pickupPointCode %}{{ order.pickupPointCode }}{% endif %} | {{ order.sourceStatusLabel ?: order.sourceStatusCode ?: '—' }} | {{ order.internalStatusCode ?: 'Nieustalony' }} | {% if row.mappingReady %} {{ row.mappedCount }}/{{ row.itemCount }} gotowe {% else %} {{ row.unresolvedCount + row.ambiguousCount }} wymaga uwagi {% endif %} {% if selected_provider and row.missingSkuCount > 0 %}Brak SKU: {{ row.missingSkuCount }}{% endif %} {% if row.missingArtworkCount > 0 %}Brak POD ART: {{ row.missingArtworkCount }}{% endif %} | {% if row.fulfillmentCount > 0 %} {{ row.activeFulfillmentCount }} aktywne Łącznie: {{ row.fulfillmentCount }} {% else %} Nie utworzono {% endif %} | {% if order.trackingNumber %}{{ order.trackingNumber }}{% else %}Brak{% endif %} | |
| {% include 'sales_order/_item_preview.html.twig' with { row: row, selected_provider: selected_provider, can_mockup_download: can_mockup_download } only %} | ||||||||||||