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 { td, th {
padding: 16px 13px; padding: 16px 13px;
/*word-wrap: unset;*/
} }
td:first-child, th:first-child { td:first-child, th:first-child {
@@ -164,10 +166,15 @@
<tbody> <tbody>
{% for service in services %} {% for service in services %}
<tr> <tr>
<td>{{ service.name }}</td> <td
<td>{{ service.amount }} шт.</td> style=" white-space: normal; word-wrap: break-word;"
<td>{{ service.price }} ₽</td> >{{ service.name }}
<td>{{ '{:,}'.format(service.price * service.amount).replace(',', ' ') }} ₽</td> </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> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>