mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Related the price on /inventory to the selected QU instead of QU stock (closes #1346)
This commit is contained in:
@@ -85,11 +85,8 @@
|
||||
'min' => '0.' . str_repeat('0', $userSettings['stock_decimal_places_prices']),
|
||||
'decimals' => $userSettings['stock_decimal_places_prices'],
|
||||
'value' => '',
|
||||
'hint' => $__t('Per stock quantity unit', GROCY_CURRENCY),
|
||||
'additionalHtmlContextHelp' => '<i class="fa-solid fa-question-circle text-muted"
|
||||
data-toggle="tooltip"
|
||||
data-trigger="hover click"
|
||||
title="' . $__t('This will apply to added products') . '"></i>',
|
||||
'contextInfoId' => 'price-hint',
|
||||
'hint' => $__t('This will apply to added products'),
|
||||
'isRequired' => false,
|
||||
'additionalCssClasses' => 'locale-number-input locale-number-currency'
|
||||
))
|
||||
|
Reference in New Issue
Block a user