mirror of
https://github.com/grocy/grocy.git
synced 2025-10-12 08:34:48 +00:00
Split user setting stock_decimal_places_prices
into separate settings for input/display (closes #1893)
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
if (!jsonForm.price.toString().isEmpty())
|
||||
{
|
||||
price = parseFloat(jsonForm.price).toFixed(Grocy.UserSettings.stock_decimal_places_prices);
|
||||
price = parseFloat(jsonForm.price).toFixed(Grocy.UserSettings.stock_decimal_places_prices_input);
|
||||
}
|
||||
|
||||
var jsonData = {};
|
||||
|
Reference in New Issue
Block a user