From f265553cfc9e5dd3738cc178d72bc8cbdae042ad Mon Sep 17 00:00:00 2001 From: Anton Kamalov Date: Wed, 4 Dec 2024 23:10:17 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=BE=D0=B2=D1=8B=D0=B5=20=D0=B4=D0=B5?= =?UTF-8?q?=D1=82=D0=B0=D0=BB=D0=B8=20=D0=BE=20=D0=B7=D0=B0=D0=B3=D0=BE?= =?UTF-8?q?=D1=82=D0=BE=D0=B2=D0=BA=D0=B0=D1=85=20=D0=B2=20=D0=BA=D0=B0?= =?UTF-8?q?=D1=80=D1=82=D0=BE=D1=87=D0=BA=D0=B0=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App/Waybill/sql/goods.sql | 2 +- App/Waybill/templates/card.html | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/App/Waybill/sql/goods.sql b/App/Waybill/sql/goods.sql index 9a18e9b..ad8e437 100644 --- a/App/Waybill/sql/goods.sql +++ b/App/Waybill/sql/goods.sql @@ -1 +1 @@ -SELECT work_id, name, price, material, count FROM workpiece \ No newline at end of file +SELECT work_id, name, price, material, count, weight FROM workpiece \ No newline at end of file diff --git a/App/Waybill/templates/card.html b/App/Waybill/templates/card.html index b6248d6..b5dd9e5 100644 --- a/App/Waybill/templates/card.html +++ b/App/Waybill/templates/card.html @@ -4,6 +4,8 @@
{{ item['name'] }}

Цена: {{ item['price'] }} ₽

+

Материал: {{ item['material'] }}

+

Вес: {{ item['weight'] }} г

{% if show_amount %} Количество: {{item['amount']}}