Add start date support for "future" pricing batch
This commit is contained in:
parent
cb6499522e
commit
6b466bb90f
3 changed files with 68 additions and 4 deletions
tailbone/templates/batch/pricing
22
tailbone/templates/batch/pricing/configure.mako
Normal file
22
tailbone/templates/batch/pricing/configure.mako
Normal file
|
@ -0,0 +1,22 @@
|
|||
## -*- coding: utf-8; -*-
|
||||
<%inherit file="/configure.mako" />
|
||||
|
||||
<%def name="form_content()">
|
||||
|
||||
<h3 class="block is-size-3">Options</h3>
|
||||
<div class="block" style="padding-left: 2rem;">
|
||||
|
||||
<b-field>
|
||||
<b-checkbox name="rattail.batch.pricing.allow_future"
|
||||
v-model="simpleSettings['rattail.batch.pricing.allow_future']"
|
||||
native-value="true"
|
||||
@input="settingsNeedSaved = true">
|
||||
Allow "future" pricing
|
||||
</b-checkbox>
|
||||
</b-field>
|
||||
|
||||
</div>
|
||||
</%def>
|
||||
|
||||
|
||||
${parent.body()}
|
Loading…
Add table
Add a link
Reference in a new issue