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