From 955b34e5241a6c9fdae96021da223d24adb4394a Mon Sep 17 00:00:00 2001 From: Kurt Riddlesperger Date: Wed, 18 Dec 2019 20:40:13 -0600 Subject: [PATCH] Price step to .01 --- views/inventory.blade.php | 2 +- views/purchase.blade.php | 2 +- views/recipeposform.blade.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/views/inventory.blade.php b/views/inventory.blade.php index 312a7bc9..85e6d68c 100644 --- a/views/inventory.blade.php +++ b/views/inventory.blade.php @@ -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' => '
' . $__t('This will apply to added products') . '', diff --git a/views/purchase.blade.php b/views/purchase.blade.php index c493ff97..0339015d 100644 --- a/views/purchase.blade.php +++ b/views/purchase.blade.php @@ -55,7 +55,7 @@ 'id' => 'price', 'label' => 'Price', 'min' => 0, - 'step' => 0.0001, + 'step' => 0.01, 'value' => '', 'hint' => $__t('in %s and based on the purchase quantity unit', GROCY_CURRENCY), 'invalidFeedback' => $__t('The price cannot be lower than %s', '0'), diff --git a/views/recipeposform.blade.php b/views/recipeposform.blade.php index f5af0792..7534b577 100644 --- a/views/recipeposform.blade.php +++ b/views/recipeposform.blade.php @@ -80,7 +80,7 @@ 'id' => 'price_factor', 'label' => 'Price factor', 'min' => 0, - 'step' => 0.0001, + 'step' => 0.01, 'value' => '', 'hint' => $__t('The resulting price of this ingredient will be multiplied by this factor'), 'invalidFeedback' => $__t('This cannot be lower than %s', '0'),