mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Split user setting stock_decimal_places_prices
into separate settings for input/display (closes #1893)
This commit is contained in:
@@ -102,8 +102,8 @@
|
||||
@include('components.numberpicker', array(
|
||||
'id' => 'price',
|
||||
'label' => 'Price',
|
||||
'min' => '0.' . str_repeat('0', $userSettings['stock_decimal_places_prices']),
|
||||
'decimals' => $userSettings['stock_decimal_places_prices'],
|
||||
'min' => '0.' . str_repeat('0', $userSettings['stock_decimal_places_prices_input']),
|
||||
'decimals' => $userSettings['stock_decimal_places_prices_input'],
|
||||
'value' => '',
|
||||
'contextInfoId' => 'price-hint',
|
||||
'isRequired' => false,
|
||||
|
Reference in New Issue
Block a user