fix: hide certain custorder settings if not applicable
This commit is contained in:
parent
da4450b574
commit
0212e52b66
|
@ -24,29 +24,38 @@
|
||||||
</b-checkbox>
|
</b-checkbox>
|
||||||
</b-field>
|
</b-field>
|
||||||
|
|
||||||
<b-field message="Only applies if user is allowed to choose contact info.">
|
<div v-show="simpleSettings['rattail.custorders.new_orders.allow_contact_info_choice']"
|
||||||
<b-checkbox name="rattail.custorders.new_orders.allow_contact_info_create"
|
style="padding-left: 2rem;">
|
||||||
v-model="simpleSettings['rattail.custorders.new_orders.allow_contact_info_create']"
|
|
||||||
native-value="true"
|
|
||||||
@input="settingsNeedSaved = true">
|
|
||||||
Allow user to enter new contact info
|
|
||||||
</b-checkbox>
|
|
||||||
</b-field>
|
|
||||||
|
|
||||||
<p class="block">
|
<b-field message="Only applies if user is allowed to choose contact info.">
|
||||||
If you allow users to enter new contact info, the default action
|
<b-checkbox name="rattail.custorders.new_orders.allow_contact_info_create"
|
||||||
when the order is submitted, is to send email with details of
|
v-model="simpleSettings['rattail.custorders.new_orders.allow_contact_info_create']"
|
||||||
the new contact info. Settings for these are at:
|
native-value="true"
|
||||||
</p>
|
@input="settingsNeedSaved = true">
|
||||||
|
Allow user to enter new contact info
|
||||||
|
</b-checkbox>
|
||||||
|
</b-field>
|
||||||
|
|
||||||
<ul class="list">
|
<div v-show="simpleSettings['rattail.custorders.new_orders.allow_contact_info_create']"
|
||||||
<li class="list-item">
|
style="padding-left: 2rem;">
|
||||||
${h.link_to("New Phone Request", url('emailprofiles.view', key='new_phone_requested'))}
|
|
||||||
</li>
|
<p class="block">
|
||||||
<li class="list-item">
|
If you allow users to enter new contact info, the default action
|
||||||
${h.link_to("New Email Request", url('emailprofiles.view', key='new_email_requested'))}
|
when the order is submitted, is to send email with details of
|
||||||
</li>
|
the new contact info. Settings for these are at:
|
||||||
</ul>
|
</p>
|
||||||
|
|
||||||
|
<ul class="list">
|
||||||
|
<li class="list-item">
|
||||||
|
${h.link_to("New Phone Request", url('emailprofiles.view', key='new_phone_requested'))}
|
||||||
|
</li>
|
||||||
|
<li class="list-item">
|
||||||
|
${h.link_to("New Email Request", url('emailprofiles.view', key='new_email_requested'))}
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h3 class="block is-size-3">Product Handling</h3>
|
<h3 class="block is-size-3">Product Handling</h3>
|
||||||
|
|
Loading…
Reference in a new issue