From: Sven Schöling Date: Fri, 6 Nov 2009 12:17:03 +0000 (+0100) Subject: is_templates: Kundenauswahl ohne dropdown fix. X-Git-Tag: release-2.6.1beta1~112 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=a818dbfa04276f3adb49e8f47cd4521a25e8e510;p=kivitendo-erp.git is_templates: Kundenauswahl ohne dropdown fix. --- diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index d6c5d8b1b..797c26002 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -168,8 +168,15 @@ sub invoice_links { $form->{customer} = qq|$form->{customer}--$form->{"customer_id"}|; } - $form->{oldcustomer} = "$form->{customer}--$form->{customer_id}"; - $form->{selectcustomer} = 1; + $form->{"oldcustomer"} = $form->{customer}; + + if ($form->{"oldcustomer"} !~ m/--\d+$/ && $form->{"customer_id"}) { + $form->{"oldcustomer"} .= qq|--$form->{"customer_id"}| + } + + +# $form->{oldcustomer} = "$form->{customer}--$form->{customer_id}"; +# $form->{selectcustomer} = 1; $form->{employee} = "$form->{employee}--$form->{employee_id}"; diff --git a/locale/de/dn b/locale/de/dn index 45e3c04be..beedc7dbd 100644 --- a/locale/de/dn +++ b/locale/de/dn @@ -218,9 +218,9 @@ $self->{texts} = { 'SAVED FOR DUNNING' => 'Gespeichert', 'SCREENED' => 'Angezeigt', 'Sales Invoice' => 'Rechnung', - 'Salesperson' => 'Verkäufer/in', 'Sales Order' => 'Kundenauftrag', 'Sales quotation' => 'Angebot', + 'Salesperson' => 'Verkäufer', 'Screen' => 'Bildschirm', 'Select a Customer' => 'Endkunde auswählen', 'Select a customer' => 'Einen Kunden auswählen', diff --git a/templates/webpages/dunning/search_de.html b/templates/webpages/dunning/search_de.html index 5bd1b9d0d..d9b10b0e4 100644 --- a/templates/webpages/dunning/search_de.html +++ b/templates/webpages/dunning/search_de.html @@ -105,8 +105,6 @@ Alte Mahnungen anzeigen - Verkäufer anzeigen - diff --git a/templates/webpages/is/form_header_de.html b/templates/webpages/is/form_header_de.html index 6cab7ad6b..f519ce2d0 100644 --- a/templates/webpages/is/form_header_de.html +++ b/templates/webpages/is/form_header_de.html @@ -7,6 +7,7 @@ +
diff --git a/templates/webpages/is/form_header_master.html b/templates/webpages/is/form_header_master.html index 3b9d87ca5..1c016cdf2 100644 --- a/templates/webpages/is/form_header_master.html +++ b/templates/webpages/is/form_header_master.html @@ -7,6 +7,7 @@ +