mirror of
https://github.com/grocy/grocy.git
synced 2026-04-07 05:16:15 +02:00
Set reasonable decimal step for currency
This commit is contained in:
parent
da2c8d48ac
commit
b8d5e6e854
|
|
@ -59,7 +59,7 @@
|
||||||
'id' => 'price',
|
'id' => 'price',
|
||||||
'label' => 'Price',
|
'label' => 'Price',
|
||||||
'min' => 0,
|
'min' => 0,
|
||||||
'step' => 0.0001,
|
'step' => 0.01,
|
||||||
'value' => '',
|
'value' => '',
|
||||||
'hint' => $__t('in %s per purchase quantity unit', GROCY_CURRENCY),
|
'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>',
|
'additionalHtmlContextHelp' => '<br><span class="small text-muted">' . $__t('This will apply to added products') . '</span>',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user