refactor: remove price column from category list table
This commit is contained in:
@@ -26,7 +26,6 @@
|
||||
<tr>
|
||||
<th>Название</th>
|
||||
<th>Артикул</th>
|
||||
<th>Цена</th>
|
||||
<th>Статус</th>
|
||||
<th>Действия</th>
|
||||
</tr>
|
||||
@@ -80,15 +79,6 @@
|
||||
{% endif %}
|
||||
</td>
|
||||
|
||||
<!-- Колонка "Цена" -->
|
||||
<td>
|
||||
{% if item.price %}
|
||||
{{ item.price|floatformat:0 }} руб.
|
||||
{% else %}
|
||||
<span class="text-muted">—</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
|
||||
<!-- Колонка "Статус" (только для категорий) -->
|
||||
<td>
|
||||
{% if item.item_type == 'category' %}
|
||||
|
||||
Reference in New Issue
Block a user