feat: add project requisites and agreement cancellation

This commit is contained in:
Александр Арсентьев
2026-09-30 16:42:02 +03:00
parent 3c8bbe8b4b
commit a2a01e24e6
21 changed files with 1828 additions and 12 deletions
+20 -2
View File
@@ -61,12 +61,30 @@
<div class="row g-3 g-md-4 align-items-start mb-2">
<div class="col-6 col-sm-4 col-md-auto">
<div class="text-muted small mb-1">Договор</div>
<div class="fw-semibold text-dark">{{ project.contract_number or 'не указан' }}</div>
<div class="fw-semibold text-dark">{{ project.contract_number or '—' }}{% if project.contract_date %} от {{ project.contract_date.strftime('%d.%m.%Y') }}{% endif %}</div>
</div>
{% if project.contract_amount is not none %}
<div class="col-6 col-sm-4 col-md-auto">
<div class="text-muted small mb-1">Сумма</div>
<div class="fw-semibold text-dark money-value">{{ project.contract_amount|money(project.currency) }}</div>
</div>
{% endif %}
<div class="col-6 col-sm-4 col-md-auto">
<div class="text-muted small mb-1">Заказчик</div>
<div class="fw-semibold text-dark">{{ project.customer or 'не указан' }}</div>
<div class="fw-semibold text-dark">{{ project.effective_customer_name or '—' }}</div>
</div>
{% if project.contractor_name %}
<div class="col-6 col-sm-4 col-md-auto">
<div class="text-muted small mb-1">Подрядчик</div>
<div class="fw-semibold text-dark">{{ project.contractor_name }}</div>
</div>
{% endif %}
{% if project.object_name %}
<div class="col-6 col-sm-4 col-md-auto">
<div class="text-muted small mb-1">Объект</div>
<div class="fw-semibold text-dark">{{ project.object_name }}</div>
</div>
{% endif %}
<div class="col-6 col-sm-4 col-md-auto">
<div class="text-muted small mb-1">Валюта</div>
<div class="fw-semibold text-dark">{{ project.currency or 'RUB' }}</div>