Related the price on /inventory to the selected QU instead of QU stock (closes #1346)

This commit is contained in:
Bernd Bestel
2022-04-06 21:27:47 +02:00
parent e91fa02974
commit cab34df2d6
3 changed files with 51 additions and 8 deletions

View File

@@ -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'
))