Never extend the original due date on when opening a product which has default_best_before_days (closes #1342)

This commit is contained in:
Bernd Bestel
2021-07-12 17:56:09 +02:00
parent 866d6647d2
commit 247221950d
4 changed files with 9 additions and 2 deletions

View File

@@ -212,7 +212,7 @@
'label' => 'Default due days after opened',
'min' => 0,
'value' => $value,
'hint' => $__t('When this product was marked as opened, the due date will be replaced by today + this amount of days (a value of 0 disables this)')
'hint' => $__t('When this product was marked as opened, the due date will be replaced by today + this amount of days, but only if the resulting date is not after the original due date (a value of 0 disables this)')
))
@else
<input type="hidden"