From 1607fbe3febbd1974a9d66b283bf15bf33427767 Mon Sep 17 00:00:00 2001 From: Andrey Smakotin Date: Thu, 11 Dec 2025 00:19:09 +0300 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D1=84=D0=B8=D0=BA=D1=81=D0=B8?= =?UTF-8?q?=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D1=8B=20=D1=88=D0=B8=D1=80=D0=B8?= =?UTF-8?q?=D0=BD=D1=8B=20=D0=BA=D0=BE=D0=BB=D0=BE=D0=BD=D0=BE=D0=BA=20?= =?UTF-8?q?=D1=82=D0=B0=D0=B1=D0=BB=D0=B8=D1=86=D1=8B=20=D0=B4=D0=BB=D1=8F?= =?UTF-8?q?=20=D1=81=D1=82=D0=B0=D0=B1=D0=B8=D0=BB=D1=8C=D0=BD=D0=BE=D0=B3?= =?UTF-8?q?=D0=BE=20=D0=BE=D1=82=D0=BE=D0=B1=D1=80=D0=B0=D0=B6=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D1=8F=20=D0=BF=D1=80=D0=B8=20=D1=80=D0=B5=D0=B4=D0=B0?= =?UTF-8?q?=D0=BA=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Колонка 'Количество' фиксирована на 120px - Колонка 'Причина' фиксирована на 150px - Колонка 'Действия' фиксирована на 100px - Input поле количества с margin-left: auto для выравнивания справа - Таблица больше не 'прыгает' при переключении в режим редактирования - Улучшена визуальная стабильность интерфейса --- .../inventory/writeoff_document/detail.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/myproject/inventory/templates/inventory/writeoff_document/detail.html b/myproject/inventory/templates/inventory/writeoff_document/detail.html index 58549e4..eba43b1 100644 --- a/myproject/inventory/templates/inventory/writeoff_document/detail.html +++ b/myproject/inventory/templates/inventory/writeoff_document/detail.html @@ -180,11 +180,11 @@ Товар - Количество - Причина + Количество + Причина Примечания {% if document.can_edit %} - + {% endif %} @@ -194,15 +194,15 @@ {{ item.product.name }} - + {{ item.quantity|smart_quantity }} {% if document.can_edit %} + style="display: none; width: 100px; text-align: right; margin-left: auto;"> {% endif %} - + {{ item.get_reason_display }} {% if document.can_edit %}