Expose CORE vendorItems
data
This commit is contained in:
parent
338cdd578a
commit
aca23ffe6d
6 changed files with 269 additions and 0 deletions
|
@ -1,3 +1,13 @@
|
|||
## -*- coding: utf-8; -*-
|
||||
<%inherit file="/core-pos/master/view.mako" />
|
||||
|
||||
<%def name="modify_this_page_vars()">
|
||||
${parent.modify_this_page_vars()}
|
||||
<script type="text/javascript">
|
||||
|
||||
${form.component_studly}Data.vendorItemsData = ${json.dumps(vendor_items_data)|n}
|
||||
|
||||
</script>
|
||||
</%def>
|
||||
|
||||
${parent.body()}
|
||||
|
|
12
tailbone_corepos/templates/core-pos/vendor-items/index.mako
Normal file
12
tailbone_corepos/templates/core-pos/vendor-items/index.mako
Normal file
|
@ -0,0 +1,12 @@
|
|||
## -*- coding: utf-8; -*-
|
||||
<%inherit file="/master/index.mako" />
|
||||
|
||||
<%def name="context_menu_items()">
|
||||
${parent.context_menu_items()}
|
||||
% if request.has_perm('corepos.vendors.list'):
|
||||
<li>${h.link_to("View CORE-POS Vendors", url('corepos.vendors'))}</li>
|
||||
% endif
|
||||
</%def>
|
||||
|
||||
|
||||
${parent.body()}
|
12
tailbone_corepos/templates/core-pos/vendors/index.mako
vendored
Normal file
12
tailbone_corepos/templates/core-pos/vendors/index.mako
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
## -*- coding: utf-8; -*-
|
||||
<%inherit file="/master/index.mako" />
|
||||
|
||||
<%def name="context_menu_items()">
|
||||
${parent.context_menu_items()}
|
||||
% if request.has_perm('corepos.vendor_items.list'):
|
||||
<li>${h.link_to("View CORE-POS Vendor Items", url('corepos.vendor_items'))}</li>
|
||||
% endif
|
||||
</%def>
|
||||
|
||||
|
||||
${parent.body()}
|
Loading…
Add table
Add a link
Reference in a new issue