{% extends "layouts/base.twig" %} {% block title %} {{ translations.order_details | default('Szczegóły zamówienia') }} {% if order.getPoHash() %} – #{{ order.getPoHash() }}{% endif %} {% endblock %} {% block head %} {% endblock %} {% block page_heading %}
{{ translations.order_details_subtitle | default('Pełne informacje o zamówieniu z perspektywy kuchni.') }}
{{ order.getComment() }}
{{ order.getNonCollectionComment() }}
{% endif %}| {{ translations.product_name | default('Produkt') }} | {{ translations.product_quantity | default('Ilość') }} | {{ translations.product_unit_price | default('Cena jedn.') }} | {{ translations.product_tax | default('VAT') }} | {{ translations.product_discount | default('Rabat') }} | {{ translations.product_total | default('Razem brutto') }} |
|---|---|---|---|---|---|
|
{{ product.getName() ?? translations.not_available | default('—') }}
{% if product.getQuantityPerLabel() %}
{{ product.getQuantityPerLabel() }} {{ translations.unit_pcs_per_label|default('pcs/label') }}
{% endif %}
|
{{ product.getQuantity() }} {% if product.isPieceBased() %} {{ translations.unit_pcs|default('pcs.') }} {% else %} {{ translations.unit_kg|default('kg') }} {% endif %} | {% if product.getUnitGrossPrice() is not null %} {{ product.getUnitGrossPrice() | number_format(2, ',', ' ') }} {{ constant('APP_CURRENCY_SYMBOL') }} {% else %} {{ translations.not_available | default('—') }} {% endif %} | {% if product.getItemTaxPerc() is not null %} {{ product.getItemTaxPerc() }}% {% else %} {{ translations.not_available | default('—') }} {% endif %} | {% if product.getItemDiscountValue() is not null and product.getItemDiscountValue() > 0 %} -{{ product.getItemDiscountValue() | number_format(2, ',', ' ') }} {{ constant('APP_CURRENCY_SYMBOL') }} {% else %} {{ translations.not_available | default('—') }} {% endif %} | {% if product.getTotalGrossValueAfterDiscount() is not null %} {{ product.getTotalGrossValueAfterDiscount() | number_format(2, ',', ' ') }} {{ constant('APP_CURRENCY_SYMBOL') }} {% else %} {{ translations.not_available | default('—') }} {% endif %} |
| {{ translations.order_total_value | default('Wartość zamówienia') }} | {{ order.getTotalValue() | number_format(2, ',', ' ') }} {{ constant('APP_CURRENCY_SYMBOL') }} | ||||