Price step to .01

This commit is contained in:
Kurt Riddlesperger 2019-12-18 20:40:13 -06:00
parent 0ccb1989eb
commit 955b34e524
3 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@
'id' => 'price',
'label' => 'Price',
'min' => 0,
'step' => 0.0001,
'step' => 0.01,
'value' => '',
'hint' => $__t('in %s per purchase quantity unit', GROCY_CURRENCY),
'additionalHtmlContextHelp' => '<br><span class="small text-muted">' . $__t('This will apply to added products') . '</span>',

View File

@ -55,7 +55,7 @@
'id' => 'price',
'label' => 'Price',
'min' => 0,
'step' => 0.0001,
'step' => 0.01,
'value' => '',
'hint' => $__t('in %s and based on the purchase quantity unit', GROCY_CURRENCY),
'invalidFeedback' => $__t('The price cannot be lower than %s', '0'),

View File

@ -80,7 +80,7 @@
'id' => 'price_factor',
'label' => 'Price factor',
'min' => 0,
'step' => 0.0001,
'step' => 0.01,
'value' => '',
'hint' => $__t('The resulting price of this ingredient will be multiplied by this factor'),
'invalidFeedback' => $__t('This cannot be lower than %s', '0'),