Set reasonable decimal step for currency

This commit is contained in:
Andrew Sanjanwala 2019-10-29 00:36:39 -04:00 committed by GitHub
parent da2c8d48ac
commit b8d5e6e854
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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>',