Add config for supported vendor catalog parsers

also explicitly set "native value" for all configuration checkbox
fields, since apparently it will send `'false'` by default...
This commit is contained in:
Lance Edgar 2022-01-08 13:35:59 -06:00
parent 2ce7c93aeb
commit dc28b1337d
8 changed files with 92 additions and 0 deletions

View file

@ -9,6 +9,7 @@
<b-field message="If not set, only a Person is required.">
<b-checkbox name="rattail.custorders.new_order_requires_customer"
v-model="simpleSettings['rattail.custorders.new_order_requires_customer']"
native-value="true"
@input="settingsNeedSaved = true">
Require a Customer account
</b-checkbox>
@ -17,6 +18,7 @@
<b-field message="If not set, default contact info is always assumed.">
<b-checkbox name="rattail.custorders.new_orders.allow_contact_info_choice"
v-model="simpleSettings['rattail.custorders.new_orders.allow_contact_info_choice']"
native-value="true"
@input="settingsNeedSaved = true">
Allow user to choose contact info
</b-checkbox>
@ -25,6 +27,7 @@
<b-field message="Only applies if user is allowed to choose contact info.">
<b-checkbox name="rattail.custorders.new_orders.allow_contact_info_create"
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>
@ -52,6 +55,7 @@
<b-field message="If set, user can enter details of an arbitrary new &quot;pending&quot; product.">
<b-checkbox name="rattail.custorders.allow_unknown_product"
v-model="simpleSettings['rattail.custorders.allow_unknown_product']"
native-value="true"
@input="settingsNeedSaved = true">
Allow creating orders for "unknown" products
</b-checkbox>
@ -60,6 +64,7 @@
<b-field>
<b-checkbox name="rattail.custorders.product_price_may_be_questionable"
v-model="simpleSettings['rattail.custorders.product_price_may_be_questionable']"
native-value="true"
@input="settingsNeedSaved = true">
Allow prices to be flagged as "questionable"
</b-checkbox>