{% extends "base.html" %} {% block title %}КС-6а — {{ project.name }}{% endblock %} {% block content %}

КС-6а — Журнал выполненных работ

{{ project.name }}

{% if error %} {% endif %} {% if date_from and date_to and not error %}
Период: {{ date_from }} — {{ date_to }} {% if system_id and system_id != 'all' %} {% for system in systems %}{% if system_id|string == system.id|string %} · Система: {{ system.name }}{% endif %}{% endfor %} {% else %} · Все системы{% endif %} · Строк: {{ total_count }}
{% if rows %}
{% for row in rows %} {% endfor %}
Дата Система Раздел № поз. Наименование Ед. Кол-во
{{ row.report.report_date.strftime('%d.%m.%Y') }} {{ row.work_item.system.name if row.work_item.system else '—' }} {{ row.work_item.section.name if row.work_item.section else '—' }} {{ row.work_item.source_number or '' }} {{ row.work_item.name }} {{ row.work_item.unit or '' }} {{ row.completed_quantity|quantity2 }}
{% else %}
За выбранный период работ не найдено.
{% endif %} {% endif %}
{% endblock %}