From db3288b8e7ad5f00953e5696f6b49afaede423cf Mon Sep 17 00:00:00 2001 From: Tamino Steinert Date: Fri, 29 Nov 2024 14:53:52 +0100 Subject: [PATCH] =?UTF-8?q?Varianten:=20Hinweis=20f=C3=BCr=20'Neue=20Varia?= =?UTF-8?q?nten=20erstellen'=20ohne=20Eigenschaften?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locale/de/all | 1 + locale/en/all | 1 + templates/design40_webpages/part/_parent_variant.html | 3 +++ 3 files changed, 5 insertions(+) diff --git a/locale/de/all b/locale/de/all index d592597130..420635c8ea 100644 --- a/locale/de/all +++ b/locale/de/all @@ -2928,6 +2928,7 @@ $ ./scripts/installation_check.pl', 'Pictures for search parts' => 'Bilder für Warensuche', 'Please Check the bank information for each customer:' => 'Bitte überprüfen Sie die Bankinformationen der Kunden:', 'Please Check the bank information for each vendor:' => 'Bitte überprüfen Sie die Kontoinformationen der Lieferanten:', + 'Please add variant properties first.' => 'Bitte fügen Sie zuerst Eigenschaften hinzu.', 'Please ask your administrator to create warehouses and bins.' => 'Bitten Sie Ihren Administrator, dass er Lager und Lagerplätze anlegt.', 'Please change the partnumber of the following parts and run the update again:' => 'Bitte ändern Sie daher die Artikelnummer folgender Artikel:', 'Please choose a part.' => 'Bitte wählen Sie einen Artikel aus.', diff --git a/locale/en/all b/locale/en/all index f3624ca801..6124c37e4f 100644 --- a/locale/en/all +++ b/locale/en/all @@ -2927,6 +2927,7 @@ $self->{texts} = { 'Pictures for search parts' => '', 'Please Check the bank information for each customer:' => '', 'Please Check the bank information for each vendor:' => '', + 'Please add variant properties first.' => '', 'Please ask your administrator to create warehouses and bins.' => '', 'Please change the partnumber of the following parts and run the update again:' => '', 'Please choose a part.' => '', diff --git a/templates/design40_webpages/part/_parent_variant.html b/templates/design40_webpages/part/_parent_variant.html index b7e031f239..26e26faece 100644 --- a/templates/design40_webpages/part/_parent_variant.html +++ b/templates/design40_webpages/part/_parent_variant.html @@ -357,6 +357,9 @@

[% LxERP.t8("Edit Properties") %]

[% BLOCK panel_2 %]

[% LxERP.t8("Create new Variants") %]

+ [% IF !SELF.part.variant_properties %] +

[% 'Please add variant properties first.' | $T8 %]

+ [% END %] [% FOREACH variant_property = SELF.part.variant_properties %]

[% variant_property.displayable_name | html %]