Add setting to allow decimal quantities for receiving
This commit is contained in:
parent
0d8928bdf5
commit
49cd050272
|
@ -115,6 +115,15 @@
|
|||
</b-checkbox>
|
||||
</b-field>
|
||||
|
||||
<b-field message="NB. Allow Decimal Quantities setting also affects Ordering behavior.">
|
||||
<b-checkbox name="rattail.batch.purchase.allow_decimal_quantities"
|
||||
v-model="simpleSettings['rattail.batch.purchase.allow_decimal_quantities']"
|
||||
native-value="true"
|
||||
@input="settingsNeedSaved = true">
|
||||
Allow Decimal Quantities
|
||||
</b-checkbox>
|
||||
</b-field>
|
||||
|
||||
<b-field>
|
||||
<b-checkbox name="rattail.batch.purchase.allow_expired_credits"
|
||||
v-model="simpleSettings['rattail.batch.purchase.allow_expired_credits']"
|
||||
|
|
|
@ -1998,6 +1998,9 @@ class ReceivingBatchView(PurchasingBatchView):
|
|||
{'section': 'rattail.batch',
|
||||
'option': 'purchase.allow_cases',
|
||||
'type': bool},
|
||||
{'section': 'rattail.batch',
|
||||
'option': 'purchase.allow_decimal_quantities',
|
||||
'type': bool},
|
||||
{'section': 'rattail.batch',
|
||||
'option': 'purchase.allow_expired_credits',
|
||||
'type': bool},
|
||||
|
|
Loading…
Reference in a new issue