Use default CORE-POS menu
This commit is contained in:
parent
d833efc31e
commit
b31fd8f3ad
|
@ -171,57 +171,8 @@ def simple_menus(request):
|
|||
}
|
||||
|
||||
if include_corepos:
|
||||
corepos_menu = {
|
||||
'title': "CORE-POS",
|
||||
'type': 'menu',
|
||||
'items': [
|
||||
{
|
||||
'title': "Departments",
|
||||
'url': url('corepos.departments'),
|
||||
'perm': 'corepos.departments.list',
|
||||
},
|
||||
{
|
||||
'title': "Subdepartments",
|
||||
'url': url('corepos.subdepartments'),
|
||||
'perm': 'corepos.subdepartments.list',
|
||||
},
|
||||
{
|
||||
'title': "Vendors",
|
||||
'url': url('corepos.vendors'),
|
||||
'perm': 'corepos.vendors.list',
|
||||
},
|
||||
{
|
||||
'title': "Products",
|
||||
'url': url('corepos.products'),
|
||||
'perm': 'corepos.products.list',
|
||||
},
|
||||
{
|
||||
'title': "Customers (Legacy)",
|
||||
'url': url('corepos.customers'),
|
||||
'perm': 'corepos.customers.list',
|
||||
},
|
||||
{
|
||||
'title': "Members (Legacy)",
|
||||
'url': url('corepos.members'),
|
||||
'perm': 'corepos.members.list',
|
||||
},
|
||||
{
|
||||
'title': "Member Types",
|
||||
'url': url('corepos.member_types'),
|
||||
'perm': 'corepos.member_types.list',
|
||||
},
|
||||
{
|
||||
'title': "Employees",
|
||||
'url': url('corepos.employees'),
|
||||
'perm': 'corepos.employees.list',
|
||||
},
|
||||
# {
|
||||
# 'title': "Transaction Details",
|
||||
# 'url': url('corepos.transaction_details'),
|
||||
# 'perm': 'corepos.transaction_details.list',
|
||||
# },
|
||||
],
|
||||
}
|
||||
from tailbone_corepos.menus import make_corepos_menu
|
||||
corepos_menu = make_corepos_menu(request)
|
||||
|
||||
admin_menu = {
|
||||
'title': "Admin",
|
||||
|
|
Loading…
Reference in a new issue