mirror of
https://github.com/grocy/grocy.git
synced 2025-08-17 11:06:36 +00:00
Split user setting stock_decimal_places_prices
into separate settings for input/display (closes #1893)
This commit is contained in:
@@ -98,7 +98,7 @@ $(".numberpicker.locale-number-input.locale-number-currency").on("blur", functio
|
||||
if (BoolVal(Grocy.UserSettings.stock_auto_decimal_separator_prices))
|
||||
{
|
||||
var value = this.value.toString();
|
||||
var decimalPlaces = parseInt(Grocy.UserSettings.stock_decimal_places_prices);
|
||||
var decimalPlaces = parseInt(Grocy.UserSettings.stock_decimal_places_prices_input);
|
||||
|
||||
if (value.length <= decimalPlaces)
|
||||
{
|
||||
|
Reference in New Issue
Block a user