Expose views for reports, problem reports
This commit is contained in:
parent
1f37a4bd37
commit
e23e65155f
|
@ -138,6 +138,28 @@ def simple_menus(request):
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
reporting_menu = {
|
||||||
|
'title': "Reporting",
|
||||||
|
'type': 'menu',
|
||||||
|
'items': [
|
||||||
|
{
|
||||||
|
'title': "New Report",
|
||||||
|
'url': url('generate_report'),
|
||||||
|
'perm': 'report_output.generate',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'title': "Generated Reports",
|
||||||
|
'url': url('report_output'),
|
||||||
|
'perm': 'report_output.list',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'title': "Problem Reports",
|
||||||
|
'url': url('problem_reports'),
|
||||||
|
'perm': 'problem_reports.list',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|
||||||
batch_menu = {
|
batch_menu = {
|
||||||
'title': "Batches",
|
'title': "Batches",
|
||||||
'type': 'menu',
|
'type': 'menu',
|
||||||
|
@ -297,6 +319,7 @@ def simple_menus(request):
|
||||||
vendors_menu,
|
vendors_menu,
|
||||||
corepos_menu,
|
corepos_menu,
|
||||||
shopfoo_menu,
|
shopfoo_menu,
|
||||||
|
reporting_menu,
|
||||||
batch_menu,
|
batch_menu,
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,7 @@ def includeme(config):
|
||||||
config.include('tailbone_corepos.views.people')
|
config.include('tailbone_corepos.views.people')
|
||||||
config.include('rattail_demo.web.views.products')
|
config.include('rattail_demo.web.views.products')
|
||||||
config.include('tailbone.views.reportcodes')
|
config.include('tailbone.views.reportcodes')
|
||||||
|
config.include('tailbone.views.reports')
|
||||||
config.include('tailbone.views.roles')
|
config.include('tailbone.views.roles')
|
||||||
config.include('tailbone.views.settings')
|
config.include('tailbone.views.settings')
|
||||||
config.include('tailbone_corepos.views.stores')
|
config.include('tailbone_corepos.views.stores')
|
||||||
|
|
Loading…
Reference in a new issue