extended hints for default best before days after freezing

This commit is contained in:
Pascal 2025-01-05 20:04:55 +01:00 committed by chilluniverse
parent bed18b1981
commit e0f88d13e7
3 changed files with 7 additions and 1 deletions

View File

@ -2045,6 +2045,9 @@ msgstr ""
msgid "-1 means that this product will be never overdue"
msgstr "-1 bedeutet, dass dieses Produkt niemals überfällig ist"
msgid "0 means that the due date will not be replaced"
msgstr "0 bedeutet, dass das Fälligkeitsdatum beibehalten wird"
msgid "Default due days"
msgstr "Standardfälligkeitstage"

View File

@ -1823,6 +1823,9 @@ msgstr ""
msgid "-1 means that this product will be never overdue"
msgstr ""
msgid "0 means that the due date will not be replaced"
msgstr ""
msgid "Default due days"
msgstr ""

View File

@ -317,7 +317,7 @@
'label' => 'Default due days after freezing',
'min' => -1,
'value' => $value,
'hint' => $__t('On moving this product to a freezer location (so when freezing it), the due date will be replaced by today + this amount of days') . ' (' . $__t('-1 means that this product will be never overdue') . ')'
'hint' => $__t('On moving this product to a freezer location (so when freezing it), the due date will be replaced by today + this amount of days') . ' (' . $__t('-1 means that this product will be never overdue') . '; ' . $__t('0 means that the due date will not be replaced') . ')'
))
@php if($mode == 'edit') { $value = $product->default_best_before_days_after_thawing; } else { $value = 0; } @endphp