Expose views for reports, problem reports
This commit is contained in:
		
							parent
							
								
									1f37a4bd37
								
							
						
					
					
						commit
						e23e65155f
					
				
					 2 changed files with 24 additions and 0 deletions
				
			
		|  | @ -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 = { | ||||
|         'title': "Batches", | ||||
|         'type': 'menu', | ||||
|  | @ -297,6 +319,7 @@ def simple_menus(request): | |||
|         vendors_menu, | ||||
|         corepos_menu, | ||||
|         shopfoo_menu, | ||||
|         reporting_menu, | ||||
|         batch_menu, | ||||
|     ] | ||||
| 
 | ||||
|  |  | |||
|  | @ -25,6 +25,7 @@ def includeme(config): | |||
|     config.include('tailbone_corepos.views.people') | ||||
|     config.include('rattail_demo.web.views.products') | ||||
|     config.include('tailbone.views.reportcodes') | ||||
|     config.include('tailbone.views.reports') | ||||
|     config.include('tailbone.views.roles') | ||||
|     config.include('tailbone.views.settings') | ||||
|     config.include('tailbone_corepos.views.stores') | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar