feat: deal products comments

This commit is contained in:
2024-11-07 21:33:56 +04:00
parent fced9b8101
commit 151c7767b1
4 changed files with 30 additions and 2 deletions

View File

@@ -79,6 +79,22 @@
{% endif %}
</div>
<!--#endregion -->
<!--#region Product comment -->
{% if product_data.deal_products|length == 1 and common_deal_product.comment %}
<table>
<thead>
<tr>
<th>Комментарий</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{ common_deal_product.comment }}</td>
</tr>
</tbody>
</table>
{% endif %}
<!--#endregion -->
<!--#region Product services -->
{% if common_deal_product.services|length > 0 %}
<table>
@@ -144,6 +160,14 @@
<td style="text-align: center">{{ deal_product.quantity }}</td>
<td></td>
</tr>
{% if deal_product.comment %}
<tr></tr>
<tr>
<td colspan="4">
<b>Комментарий</b>: {{ deal_product.comment }}
</td>
</tr>
{% endif %}
{% endfor %}
</tbody>
</table>