From 16f033afc5ed50387d01bbcb98925cefd8fa4316 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Mon, 18 Apr 2022 17:29:00 +0200 Subject: [PATCH] Clarify help text (it's not always about one unit, but about the corresponding amount opened) --- localization/strings.pot | 2 +- views/productform.blade.php | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/localization/strings.pot b/localization/strings.pot index c1c1fdfc..7585b951 100644 --- a/localization/strings.pot +++ b/localization/strings.pot @@ -2330,5 +2330,5 @@ msgstr "" msgid "Move on open" msgstr "" -msgid "When checked, opening the product will move one unit to the default consume location" +msgid "When enabled, on marking this product as opened, the corresponding amount will be moved to the default consume location" msgstr "" diff --git a/views/productform.blade.php b/views/productform.blade.php index 7fec58f1..dd3e9c85 100644 --- a/views/productform.blade.php +++ b/views/productform.blade.php @@ -146,6 +146,7 @@ $location->id == $product->default_consume_location_id) selected="selected" @endif value="{{ $location->id }}">{{ $location->name }} @endforeach + @if(GROCY_FEATURE_FLAG_STOCK_PRODUCT_OPENED_TRACKING)
{{ $__t('Move on open') }}  + title="{{ $__t("When enabled, on marking this product as opened, the corresponding amount will be moved to the default consume location") + }}">
@endif + @else