{% extends "base.html" %} {% block title %}КС-2 №{{ document.number }} от {{ document.date.strftime('%d.%m.%Y') }}{% endblock %} {% block content %}
Статус: {{ 'Проведён' if document.status == 'issued' else 'Черновик' }}
{% 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 %}| Наименование | Ед. | Количество | Цена | Сумма |
|---|---|---|---|---|
| {{ line.work_item.name }} | {{ line.work_item.unit or '' }} | {{ line.quantity }} | {{ line.unit_price | money }} | {{ line.amount | money }} |
| Итого | {{ total | money }} | |||
| Наименование | Дата отчёта | Количество |
|---|---|---|
| {{ line.work_item.name }} | ||
| {{ source.daily_report_item.report.report_date.strftime('%d.%m.%Y') }} | {{ source.quantity }} | |