{% if (clientContactPersonsBenefitByOrder is not empty) %}
{% set sumBenefitPoints = 0 %}
{% for clientContactPersonBenefitByOrder in clientContactPersonsBenefitByOrder %}
{% set sumBenefitPoints = sumBenefitPoints + clientContactPersonBenefitByOrder.pointsGross %}
{% endfor %}
{% for clientContactPersonBenefitByOrder in clientContactPersonsBenefitByOrder %}
{% if clientContactPersonBenefitByOrder.statusId == 2 %}
{{ sumBenefitPoints }}
{% else %}
{{ 'Brak informacji' }}
{% endif %}
{% endfor %}
{% else %}
{% set benefitPoints = 'Brak informacji' %}
{{ benefitPoints }}
{% endif %}
Klasyfikacja
{% if order.classification == null %}
{% set classification = 'Brak informacji' %}
{% else %}
{% set classification = order.classification %}
{% endif %}
{{ classification }}
Faktura VAT
{% if order.isCreatedInvoice == null %}
{% set isCreatedInvoice = 'Brak informacji' %}
{% else %}
{% set isCreatedInvoice = 'TAK' %}
{% endif %}
{{ isCreatedInvoice }}
Numer zlecenia Klienta
{% if order.clientIdNumber == null %}
{% set clientIdNumber = 'Brak informacji' %}
{% else %}
{% set clientIdNumber = order.clientIdNumber %}
{% endif %}
{{ clientIdNumber }}
Uwagi
{{ order.comments }}
Opis towaru
{{ order.description }}
Waga
{{ order.weight }} KG
Dane kierowcy
{% if order.driverContact == null %}
{% set driverContact = 'Brak informacji' %}
{% else %}
{% set driverContact = order.driverContact %}
{% endif %}
{{ driverContact }}