fix: removed all prices from deal document

This commit is contained in:
2024-10-29 02:45:23 +04:00
parent 750913d3a6
commit cbe3697f1b
4 changed files with 11 additions and 29 deletions

View File

@@ -32,12 +32,11 @@
<div class="medium-text bold">Склад отгрузки: {{ data.deal.shipping_warehouse.name }}</div>
{% endif %}
{% if data.deal.services|length > 0 %}
<table>
<table style="margin-bottom: 40px">
<thead>
<tr>
<th>Общие услуги</th>
<th>Количество</th>
<th>Сумма</th>
</tr>
<tfoot>
</tfoot>
@@ -47,16 +46,11 @@
<tr>
<td>{{ service.service.name }}</td>
<td>{{ '{:,}'.format(service.quantity) }} шт.</td>
<td>{{ '{:,}'.format(service.price * service.quantity).replace(',', ' ') }} Р</td>
</tr>
{% endfor %}
</tbody>
</table>
<div class="medium-text total align-right bold">
Итого: {{ data.general_services_total }} Р
</div>
{% else %}
<div class="medium-text total align-right bold">
</div>
<div style="margin-bottom: 40px"></div>
{% endif %}
<!--#endregion -->