{% if ($we.company && $we.company != "") %}
{$we.company}
{% endif %}
{% if ($we.registration && $we.registration != "") %}
ЄДРПОУ/ІПН: {$we.registration}
{% endif %}
{% if ($we.address && $we.address != "") %}
{$we.address}
{% endif %}
Замовлення № {$doc.number}
Дата: {$doc.date_localized}
Клієнт: {$doc.customer_name}
--------------------------------
    К-ть       Ціна         Сума
{% loop in $table as $row %}
{$row.name|sprintf(%-32.32s)}
{$row.count|number|sprintf(%8s)} {$row.price|decimal|sprintf(%10s)} {$row.sum|decimal|sprintf(%12s)}
Коеф. фасовки: {$row.koef|number}
--------------------------------
{% onEmpty %}
У документі немає товарів
--------------------------------
{% endloop %}
{% if ($doc.has_discount == 1) %}
Без знижки: {$doc.sum_no_discount|decimal} грн
Знижка: {$doc.discount|decimal} грн
{% endif %}
Разом: {$doc.sum|decimal} грн
{% if ($doc.info && $doc.info != "") %}
Примітка: {$doc.info}
{% endif %}
{% if ($we.comment && $we.comment != "") %}
{$we.comment}
{% endif %}


