diff --git a/App/Requests/__init__.py b/App/Requests/__init__.py index 879897f..a639f30 100644 --- a/App/Requests/__init__.py +++ b/App/Requests/__init__.py @@ -20,8 +20,8 @@ def requests(): @check_auth def sklad_zapros(): if request.method == 'GET': - materials = ['Сталь', 'Алюминий', 'Медь', 'Пластик', 'Дерево'] - return render_template('zagotovki.html', materials=materials, header='Количество заготовок на складе') + # materials = ['Сталь', 'Алюминий', 'Медь', 'Пластик', 'Дерево'] + return render_template('zagotovki.html', header='Количество заготовок на складе') else: material = dict(request.form) zagotovki = sklad(material) @@ -54,8 +54,8 @@ def zagotovki_ship(): @check_auth def sellers_ship(): if request.method == 'GET': - sellers = ['Alpha Supplies', 'Beta Materials', 'Gamma Parts', 'Delta Components', 'Epsilon Goods'] - return render_template('sellers_ship.html', sellers=sellers) + # sellers = ['Alpha Supplies', 'Beta Materials', 'Gamma Parts', 'Delta Components', 'Epsilon Goods'] + return render_template('sellers_ship.html') else: seller = dict(request.form) zagotovki = materials_per_seller(seller) diff --git a/App/Requests/templates/sellers_ship.html b/App/Requests/templates/sellers_ship.html index 1a5a66a..c14c1a8 100644 --- a/App/Requests/templates/sellers_ship.html +++ b/App/Requests/templates/sellers_ship.html @@ -15,9 +15,11 @@

Выберите поставщика

diff --git a/App/Requests/templates/zagotovki.html b/App/Requests/templates/zagotovki.html index 41b860c..9d2de58 100644 --- a/App/Requests/templates/zagotovki.html +++ b/App/Requests/templates/zagotovki.html @@ -15,9 +15,11 @@

Выберите материал