feat: deal products comments
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user