From: Thomas Heck Date: Mon, 9 Dec 2013 14:13:09 +0000 (+0100) Subject: Kunden/Lieferanten-Suche: Erfassen-Button überarbeitet X-Git-Tag: release-3.1.0beta1~22^2~102^2^2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=96ca0b88b082cc24081889bcfc63cb2808049f68;p=kivitendo-erp.git Kunden/Lieferanten-Suche: Erfassen-Button überarbeitet --- diff --git a/bin/mozilla/ct.pl b/bin/mozilla/ct.pl index bdc89195c..845fc3ab4 100644 --- a/bin/mozilla/ct.pl +++ b/bin/mozilla/ct.pl @@ -65,20 +65,6 @@ use strict; # end of main -sub add { - $main::lxdebug->enter_sub(); - - my $url = 'controller.pl?action=CustomerVendor/add&db='. ($::form->{db} eq 'vendor' ? 'vendor' : 'customer'); - - if ( $::form->{callback} ) { - $url .= '&callback='. uri_encode($::form->{callback}); - } - - print $::form->redirect_header($url); - - $main::lxdebug->leave_sub(); -} - sub search { $main::lxdebug->enter_sub(); diff --git a/templates/webpages/ct/list_names_bottom.html b/templates/webpages/ct/list_names_bottom.html index 7faabc311..9546101fa 100644 --- a/templates/webpages/ct/list_names_bottom.html +++ b/templates/webpages/ct/list_names_bottom.html @@ -1,10 +1,10 @@ -[% USE T8 %][% USE HTML %]
+[% USE T8 %][% USE HTML %] - - + + + - [% IF IS_CUSTOMER %][% 'New customer' | $T8 %][% ELSE %][% 'New vendor' | $T8 %][% END %]
- - + [% IF IS_CUSTOMER %][% 'New customer' | $T8 %][% ELSE %][% 'New vendor' | $T8 %][% END %]
+