Move the Trainwreck (Transactions) menu entry under Reporting

This commit is contained in:
Lance Edgar 2021-12-13 21:53:30 -06:00
parent cb00ded72d
commit 70c4b6e3b2

View file

@ -217,6 +217,13 @@ def simple_menus(request):
'url': url('report_output'),
'perm': 'report_output.list',
},
{'type': 'sep'},
{
'title': "Trainwreck",
'url': url('trainwreck.transactions'),
'perm': 'trainwreck.transactions.list',
},
{'type': 'sep'},
{
'title': "Problem Reports",
'url': url('problem_reports'),
@ -225,18 +232,6 @@ def simple_menus(request):
],
}
trainwreck_menu = {
'title': "Trainwreck",
'type': 'menu',
'items': [
{
'title': "Transactions",
'url': url('trainwreck.transactions'),
'perm': 'trainwreck.transactions.list',
},
],
}
admin_menu = {
'title': "Admin",
'type': 'menu',
@ -330,9 +325,6 @@ def simple_menus(request):
if include_locsms:
menus.append(locsms_menu)
if rattail_config.trainwreck_engine:
menus.append(trainwreck_menu)
menus.extend([
reporting_menu,
admin_menu,