From e5e35e662bcd30c06474c71121ac5bfd3918d0ab Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 3 Mar 2011 13:10:36 +0100 Subject: [PATCH] =?utf8?q?Hilfstext=20f=C3=BCr=20Spalte=20'type'=20bei=20A?= =?utf8?q?rtikelstammdaten?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Controller/CsvImport/Part.pm | 1 + locale/de/all | 3 +++ templates/webpages/csv_import/form.html | 8 ++++++++ 3 files changed, 12 insertions(+) diff --git a/SL/Controller/CsvImport/Part.pm b/SL/Controller/CsvImport/Part.pm index 76f9ecd0c..1181c73d4 100644 --- a/SL/Controller/CsvImport/Part.pm +++ b/SL/Controller/CsvImport/Part.pm @@ -479,6 +479,7 @@ sub setup_displayable_columns { { name => 'rop', description => $::locale->text('ROP') }, { name => 'sellprice', description => $::locale->text('Sellprice') }, { name => 'shop', description => $::locale->text('Shopartikel') }, + { name => 'type', description => $::locale->text('Article type (see below)') }, { name => 'unit', description => $::locale->text('Unit') }, { name => 've', description => $::locale->text('Verrechnungseinheit') }, { name => 'weight', description => $::locale->text('Weight') }, diff --git a/locale/de/all b/locale/de/all index d46ec2c67..0c238bfd5 100644 --- a/locale/de/all +++ b/locale/de/all @@ -201,6 +201,7 @@ $self->{texts} = { 'Are you sure you want to update the prices' => 'Sind Sie sicher, dass Sie die Preise aktualisieren wollen?', 'Article Code' => 'Artikelkürzel', 'Article Code missing!' => 'Artikelkürzel fehlt', + 'Article type (see below)' => 'Artikeltyp (siehe unten)', 'As a result, the saved onhand values of the present goods can be stored into a warehouse designated by you, or will be reset for a proper warehouse tracking' => 'Als Konsequenz können die gespeicherten Mengen entweder in ein Lager überführt werden, oder für eine frische Lagerverwaltung resettet werden.', 'Assemblies' => 'Erzeugnisse', 'Assembly Description' => 'Erzeugnis-Beschreibung', @@ -890,6 +891,7 @@ $self->{texts} = { 'II' => 'II', 'III' => 'III', 'IV' => 'IV', + 'If the article type is set to \'mixed\' then a column called \'type\' must be present.' => 'Falls der Artikeltyp auf \'gemischt\' gestellt wird, muss eine Spalte namens \'type\' vorhanden sein.', 'If the automatic creation of invoices for fees and interest is switched on for a dunning level then the following accounts will be used for the invoice.' => 'Wenn das automatische Erstellen einer Rechnung über Mahngebühren und Zinsen für ein Mahnlevel aktiviert ist, so werden die folgenden Konten für die Rechnung benutzt.', 'If the database user listed above does not have the right to create a database then enter the name and password of the superuser below:' => 'Falls der oben genannte Datenbankbenutzer nicht die Berechtigung zum Anlegen neuer Datenbanken hat, so können Sie hier den Namen und das Passwort des Datenbankadministratoraccounts angeben:', 'If you chose to let Lx-Office do the migration then Lx-Office will also remove the old member file after creating a backup copy of it in the directory "#1".' => 'Falls Sie sich entscheiden, Lx-Office die Migration durchführen zu lassen, so wird Lx-Office ein Backup der alten Dateien im Verzeichnis "#1" erstellen und die Dateien anschließend löschen.', @@ -1932,6 +1934,7 @@ $self->{texts} = { 'Trial balance between %s and %s' => 'Summen- und Saldenlisten vom %s bis zum %s', 'Trying to call a sub without a name' => 'Es wurde versucht, eine Unterfunktion ohne Namen aufzurufen.', 'Type' => 'Typ', + 'Type can be either \'part\' or \'service\'.' => 'Der Typ kann entweder \'part\' (für Waren) oder \'service\' (für Dienstleistungen) enthalten.', 'Type of Business' => 'Kunden-/Lieferantentyp', 'Type of Customer' => 'Kundentyp', 'Type of Vendor' => 'Lieferantentyp', diff --git a/templates/webpages/csv_import/form.html b/templates/webpages/csv_import/form.html index 7157dda9b..c9c9133c9 100644 --- a/templates/webpages/csv_import/form.html +++ b/templates/webpages/csv_import/form.html @@ -72,11 +72,19 @@

[%- LxERP.t8('At least one of the columns #1, customer, customernumber, vendor, vendornumber (depending on the target table) is required for matching the entry to an existing customer or vendor.', 'cp_cv_id') %]

+ [%- ELSIF SELF.type == 'addresses' %]

[%- LxERP.t8('At least one of the columns #1, customer, customernumber, vendor, vendornumber (depending on the target table) is required for matching the entry to an existing customer or vendor.', 'trans_id') %]

+ +[%- ELSIF SELF.type == 'parts' %] +

+ [%- LxERP.t8("If the article type is set to 'mixed' then a column called 'type' must be present.") %] + [% LxERP.t8("Type can be either 'part' or 'service'.") %] +

[%- END %] +
-- 2.20.1