feat: kal

This commit is contained in:
2024-09-11 23:31:49 +03:00
parent a6476173ea
commit a1dc08d69c

View File

@@ -80,6 +80,8 @@
td, th {
padding: 16px 13px;
/*word-wrap: unset;*/
}
td:first-child, th:first-child {
@@ -164,10 +166,15 @@
<tbody>
{% for service in services %}
<tr>
<td>{{ service.name }}</td>
<td>{{ service.amount }} шт.</td>
<td>{{ service.price }} ₽</td>
<td>{{ '{:,}'.format(service.price * service.amount).replace(',', ' ') }} ₽</td>
<td
style=" white-space: normal; word-wrap: break-word;"
>{{ service.name }}
</td>
<td style=" white-space: normal; word-wrap: break-word;">{{ service.amount }} шт.</td>
<td style=" white-space: normal; word-wrap: break-word;">{{ service.price }} ₽</td>
<td style=" white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis; ">{{ '{:,}'.format(service.price * service.amount).replace(',', ' ') }}dshfghfghfghfg ₽</td>
</tr>
{% endfor %}
</tbody>