Fix inventory worksheet generator, per butterball
This commit is contained in:
parent
2498da3909
commit
30a8b8e5e4
|
@ -1,4 +1,4 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
## -*- coding: utf-8; -*-
|
||||
<%inherit file="/page.mako" />
|
||||
|
||||
<%def name="title()">Inventory Worksheet</%def>
|
||||
|
@ -29,7 +29,8 @@
|
|||
</b-field>
|
||||
|
||||
<b-field>
|
||||
<b-checkbox name="exclude-not-for-sale" :value="true"
|
||||
<b-checkbox name="exclude-not-for-sale"
|
||||
v-model="excludeNotForSale"
|
||||
native-value="1">
|
||||
Exclude items marked "not for sale".
|
||||
</b-checkbox>
|
||||
|
@ -52,6 +53,7 @@
|
|||
<script type="text/javascript">
|
||||
|
||||
ThisPageData.departments = ${json.dumps([{'uuid': d.uuid, 'name': d.name} for d in departments])|n}
|
||||
ThisPageData.excludeNotForSale = true
|
||||
|
||||
</script>
|
||||
</%def>
|
||||
|
|
Loading…
Reference in a new issue