Add setting to expose/hide "active in POS" customer flag

This commit is contained in:
Lance Edgar 2022-07-23 22:06:18 -05:00
parent e77ca93d80
commit 28238c6fb5
2 changed files with 51 additions and 4 deletions

View file

@ -0,0 +1,23 @@
## -*- coding: utf-8; -*-
<%inherit file="/configure.mako" />
<%def name="form_content()">
<h3 class="block is-size-3">POS</h3>
<div class="block" style="padding-left: 2rem;">
<b-field>
<b-checkbox name="rattail.customers.active_in_pos"
v-model="simpleSettings['rattail.customers.active_in_pos']"
native-value="true"
@input="settingsNeedSaved = true">
Expose/track the "Active in POS" flag for customers.
</b-checkbox>
</b-field>
</div>
</%def>
${parent.body()}