{% extends "base.html" %} {% block title %}КС-3 №{{ document.number }} от {{ document.date.strftime('%d.%m.%Y') }}{% endblock %} {% block content %}
Статус: {% if document.status == 'cancelled' %} Сторнирован {% elif document.status == 'issued' %} Проведён {% else %} Черновик {% endif %}
{% if document.reporting_period_from and document.reporting_period_to %}Период: {{ document.reporting_period_from.strftime('%d.%m.%Y') }} — {{ document.reporting_period_to.strftime('%d.%m.%Y') }}
{% endif %} {% if document.comment %}Комментарий: {{ document.comment }}
{% endif %}| № КС-2 | Дата | Период | Сумма |
|---|---|---|---|
| {{ row.ks2.number }} | {{ row.ks2.date.strftime('%d.%m.%Y') }} | {% if row.ks2.reporting_period_from and row.ks2.reporting_period_to %}{{ row.ks2.reporting_period_from.strftime('%d.%m.%Y') }} — {{ row.ks2.reporting_period_to.strftime('%d.%m.%Y') }}{% endif %} | {{ row.total | money }} |
| Нет включённых КС-2. | |||
| Итого | {{ total | money }} | ||