Запрос №3

This commit is contained in:
Anton Kamalov
2024-10-24 23:30:57 +03:00
parent 42720af4e2
commit 341c41489c
5 changed files with 38 additions and 10 deletions

View File

@@ -0,0 +1,32 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Поставки поставщиком за год</title>
<link href="/static/css/main.css" type="text/css" rel="stylesheet">
</head>
<body>
<div class="logout">
<a href="{{ url_for('logout') }}"><button>Выход</button></a>
</div>
<!-- Input -->
<h1>Поставки поставщиком за год</h1>
<div class="form">
<p>Выберите поставщика</p>
<form action="" method="post">
<select name="seller">
{% for item in sellers %}
<option value="{{ item['name'] }}">{{ item['name'] }}</option>
{% endfor %}
</select>
<p>Выберите год:</p>
<p><input type="number" name="date" required min={{ year_from }} max={{ year_to }} value="2024"></p>
<input type="submit" value="Отправить">
</form>
<div class="return">
<a href="{{ url_for('requests_bp.requests') }}"><button>Обратно в меню запросов</button></a>
</div>
</div>
</body>
</html>