{% if ($we.company && $we.company != "") %}

{$we.company|html}

{% /if %} {% if ($we.registration && $we.registration != "") %}

ЄДРПОУ або ІПН: {$we.registration|html}

{% /if %} {% if ($we.address && $we.address != "") %}

Адреса: {$we.address|html}

{% /if %} {% if ($we.billing && $we.billing != "") %}

Банківські реквізити: {$we.billing|html}

{% /if %}

Замовлення № {$doc.number|html}

Дата: {$doc.date_localized|html}

Клієнт: {$doc.customer_name|html}

{% if ($doc.has_discount == 1) %} {% /if %} {% loop in $table as $row %} {% if ($doc.has_discount == 1) %} {% /if %} {% onEmpty %} {% endloop %}
Код Товар Кількість Коефіцієнт Ціна, грнЗнижка, грнСума, грн
{$row.code|html} {$row.name|html} {$row.count|number} {$row.koef|number} {$row.price|decimal}{$row.discount|decimal}{$row.sum|decimal}
У документі немає товарів
{% if ($doc.has_discount == 1) %}

Сума без знижки: {$doc.sum_no_discount|decimal} грн

Знижка: {$doc.discount|decimal} грн

{% /if %}

Разом: {$doc.sum|decimal} грн

{% if ($doc.info && $doc.info != "") %}

Коментар: {$doc.info|html}

{% /if %} {% if ($we.comment && $we.comment != "") %}

{$we.comment|html}

{% /if %}