Изменение в запросе заготовок
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
SELECT
|
||||
work_id,
|
||||
name,
|
||||
material
|
||||
price
|
||||
FROM workpiece;
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<label>Выберите заготовку</label>
|
||||
<select class="form-select" name="workpiece">
|
||||
{% for item in workpiece %}
|
||||
<option value="{{ item["work_id"] }}">{{ item["name"] }}</option>
|
||||
<option value="{{ item["work_id"] }}">{{ item["name"] }} ({{ item["price"] }}руб/шт.)</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<button type="submit" class="btn btn-primary">Отправить</button>
|
||||
|
||||
Reference in New Issue
Block a user