mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Properly show and handle that the new amount during inventory cannot equal the current stock amount (this now closes #224)
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
'min' => 0,
|
||||
'value' => 1,
|
||||
'invalidFeedback' => $__t('The amount cannot be lower than %s', '0'),
|
||||
'additionalAttributes' => 'data-notequal="notequal" not-equal="-1"',
|
||||
'additionalAttributes' => 'data-not-equal="-1"',
|
||||
'additionalHtmlElements' => '<div id="inventory-change-info" class="form-text text-muted small d-none"></div>',
|
||||
'additionalHtmlContextHelp' => '<div id="tare-weight-handling-info" class="text-small text-info font-italic d-none">' . $__t('Tare weight handling enabled - please weigh the whole container, the amount to be posted will be automatically calculcated') . '</div>'
|
||||
))
|
||||
|
Reference in New Issue
Block a user