From 220ccac9cc13afd496050420c635c50d4a65c2c5 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 2 Mar 2011 18:06:01 +0100 Subject: [PATCH] =?utf8?q?Hilfetexte=20f=C3=BCr=20Kunden-/Lieferantenstamm?= =?utf8?q?datenimport?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Controller/CsvImport/CustomerVendor.pm | 44 ++++++++++++++++++++++- locale/de/all | 9 ++++- 2 files changed, 51 insertions(+), 2 deletions(-) diff --git a/SL/Controller/CsvImport/CustomerVendor.pm b/SL/Controller/CsvImport/CustomerVendor.pm index df36d1d9d..e8cfc367d 100644 --- a/SL/Controller/CsvImport/CustomerVendor.pm +++ b/SL/Controller/CsvImport/CustomerVendor.pm @@ -196,7 +196,7 @@ sub init_profile { my ($self) = @_; my $profile = $self->SUPER::init_profile; - delete @{$profile}{qw(language business salesman payment)}; + delete @{$profile}{qw(business datevexport language payment salesman salesman_id taxincluded terms)}; return $profile; } @@ -206,6 +206,48 @@ sub setup_displayable_columns { $self->SUPER::setup_displayable_columns; $self->add_cvar_columns_to_displayable_columns; + + $self->add_displayable_columns({ name => 'account_number', description => $::locale->text('Account Number') }, + { name => 'bank', description => $::locale->text('Bank') }, + { name => 'bank_code', description => $::locale->text('Bank Code') }, + { name => 'bcc', description => $::locale->text('Bcc') }, + { name => 'bic', description => $::locale->text('BIC') }, + { name => 'business_id', description => $::locale->text('Business type (database ID)') }, + { name => 'business', description => $::locale->text('Business type (name)') }, + { name => 'c_vendor_id', description => $::locale->text('our vendor number at customer') }, + { name => 'cc', description => $::locale->text('Cc') }, + { name => 'city', description => $::locale->text('City') }, + { name => 'contact', description => $::locale->text('Contact') }, + { name => 'country', description => $::locale->text('Country') }, + { name => 'creditlimit', description => $::locale->text('Credit Limit') }, + { name => 'customernumber', description => $::locale->text('Customer Number') }, + { name => 'department_1', description => $::locale->text('Department 1') }, + { name => 'department_2', description => $::locale->text('Department 2') }, + { name => 'direct_debit', description => $::locale->text('direct debit') }, + { name => 'discount', description => $::locale->text('Discount') }, + { name => 'email', description => $::locale->text('E-mail') }, + { name => 'fax', description => $::locale->text('Fax') }, + { name => 'greeting', description => $::locale->text('Greeting') }, + { name => 'homepage', description => $::locale->text('Homepage') }, + { name => 'iban', description => $::locale->text('IBAN') }, + { name => 'klass', description => $::locale->text('Preisklasse') }, + { name => 'language_id', description => $::locale->text('Language (database ID)') }, + { name => 'language', description => $::locale->text('Language (name)') }, + { name => 'name', description => $::locale->text('Name') }, + { name => 'notes', description => $::locale->text('Notes') }, + { name => 'obsolete', description => $::locale->text('Obsolete') }, + { name => 'payment_id', description => $::locale->text('Payment terms (database ID)') }, + { name => 'payment', description => $::locale->text('Payment terms (name)') }, + { name => 'phone', description => $::locale->text('Phone') }, + { name => 'pricing_agreement', description => $::locale->text('Pricing agreement') }, + { name => 'street', description => $::locale->text('Street') }, + { name => 'taxnumber', description => $::locale->text('Tax Number / SSN') }, + { name => 'taxzone_id', description => $::locale->text('Steuersatz') }, + { name => 'user_password', description => $::locale->text('Password') }, + { name => 'username', description => $::locale->text('Username') }, + { name => 'ustid', description => $::locale->text('sales tax identification number') }, + { name => 'zipcode', description => $::locale->text('Zipcode') }, + ); } # TODO: diff --git a/locale/de/all b/locale/de/all index 920755932..1dfc3c064 100644 --- a/locale/de/all +++ b/locale/de/all @@ -303,6 +303,8 @@ $self->{texts} = { 'Business deleted!' => 'Firma gelöscht.', 'Business evaluation' => 'Betriebswirtschaftliche Auswertung', 'Business saved!' => 'Firma gespeichert.', + 'Business type (database ID)' => 'Kunden-/Lieferantentyp (Datenbank-ID)', + 'Business type (name)' => 'Kunden-/Lieferantentyp (Name)', 'CANCELED' => 'Storniert', 'CB Transaction' => 'SB-Buchung', 'CR' => 'H', @@ -561,7 +563,9 @@ $self->{texts} = { 'Delivery Order deleted!' => 'Lieferschein gelöscht!', 'Delivery Orders' => 'Lieferscheine', 'Department' => 'Abteilung', - 'Department Id' => 'Abteilungsnummer', + 'Department 1' => 'Abteilung (1)', + 'Department 2' => 'Abteilung (2)', + 'Department Id' => 'Reservierung', 'Department deleted!' => 'Abteilung gelöscht.', 'Department saved!' => 'Abteilung gespeichert.', 'Departments' => 'Abteilungen', @@ -986,6 +990,8 @@ $self->{texts} = { 'LaTeX Templates' => 'LaTeX-Vorlagen', 'Landscape' => 'Querformat', 'Language' => 'Sprache', + 'Language (database ID)' => 'Sprache (Datenbank-ID)', + 'Language (name)' => 'Sprache (Name)', 'Language Values' => 'Sprachübersetzungen', 'Language deleted!' => 'Sprache gelöscht!', 'Language missing!' => 'Sprache fehlt!', @@ -1361,6 +1367,7 @@ $self->{texts} = { 'Pricegroup missing!' => 'Preisgruppe fehlt!', 'Pricegroup saved!' => 'Preisgruppe gespeichert!', 'Pricegroups' => 'Preisgruppen', + 'Pricing agreement' => '', 'Print' => 'Drucken', 'Print and Post' => 'Drucken und Buchen', 'Print automatically' => 'Automatisch ausdrucken', -- 2.20.1