Подгонка под РПЗ

This commit is contained in:
2024-11-22 00:40:16 +03:00
parent 3284c18922
commit 32f3397f26
2 changed files with 8 additions and 8 deletions

View File

@@ -20,9 +20,9 @@ def menu():
def create():
if request.method == 'GET':
return render_template('report_basic.html',
write=True,
title='Создание отчета',
items = report_list)
is_write=True,
title='Создание отчетов',
items=report_list)
else:
data = dict(id=request.form.get('category'),
month=request.form.get('month'),
@@ -46,9 +46,9 @@ def create():
def view():
if request.method == 'GET':
return render_template('report_basic.html',
write=False,
title='Просмотр отчета',
items = report_list)
is_write=False,
title='Просмотр отчетов',
items=report_list)
else:
data = dict(id=request.form.get('category'),
month=request.form.get('month'),