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']}}