Skip to content

Commit

Permalink
Varianten: Hinweis für 'Neue Varianten erstellen' ohne Eigenschaften
Browse files Browse the repository at this point in the history
  • Loading branch information
z4m1n0 committed Nov 29, 2024
1 parent d4e1e28 commit db3288b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions locale/de/all
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
Expand Down
1 change: 1 addition & 0 deletions locale/en/all
Original file line number Diff line number Diff line change
Expand Up @@ -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.' => '',
Expand Down
3 changes: 3 additions & 0 deletions templates/design40_webpages/part/_parent_variant.html
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,9 @@ <h3> [% LxERP.t8("Edit Properties") %] </h3>
[% BLOCK panel_2 %]
<h3> [% LxERP.t8("Create new Variants") %] </h3>
<div class="wrapper">
[% IF !SELF.part.variant_properties %]
<h4>[% 'Please add variant properties first.' | $T8 %]</h4>
[% END %]
[% FOREACH variant_property = SELF.part.variant_properties %]
<div class="col input-panel" style="min-width:fit-content;">
<h4>[% variant_property.displayable_name | html %]</h4>
Expand Down

0 comments on commit db3288b

Please sign in to comment.