From: Moritz Bunkus Date: Mon, 23 Jan 2017 11:31:07 +0000 (+0100) Subject: Mahnungssuche: Kundensuche immer nur via Eingabefeld X-Git-Tag: release-3.5.4~1667^2~11 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=db1d60aa9a230d97b32d4b6cb78dd2257f51c88f;p=kivitendo-erp.git Mahnungssuche: Kundensuche immer nur via Eingabefeld --- diff --git a/bin/mozilla/dn.pl b/bin/mozilla/dn.pl index 8a10912cf..443b693e0 100644 --- a/bin/mozilla/dn.pl +++ b/bin/mozilla/dn.pl @@ -306,8 +306,6 @@ sub search { DN->get_config(\%myconfig, \%$form); - $form->{SHOW_CUSTOMER_DDBOX} = scalar @{ $form->{ALL_CUSTOMERS} } <= $myconfig{vclimit}; - $form->{SHOW_DEPARTMENT_DDBOX} = scalar @{ $form->{ALL_CUSTOMERS} }; $form->{SHOW_DUNNING_LEVELS} = scalar @{ $form->{DUNNING} }; $form->{title} = $locale->text('Dunnings'); diff --git a/templates/webpages/dunning/search.html b/templates/webpages/dunning/search.html index 83b59c6b3..c70809493 100644 --- a/templates/webpages/dunning/search.html +++ b/templates/webpages/dunning/search.html @@ -1,6 +1,6 @@ [%- USE T8 %] [%- USE HTML %] -[%- USE L %] +[%- USE L %][%- USE P -%]

[% title %]

[% PROCESS 'common/flash.html' %] @@ -13,17 +13,7 @@ - + [% IF SHOW_DUNNING_LEVELS %] @@ -39,7 +29,7 @@ [% END %] - [% IF SHOW_DEPARTMENT_DDBOX %] + [% IF ALL_DEPARTMENTS.as_list.size %]
[% 'Customer' | $T8 %] - [% IF SHOW_CUSTOMER_DDBOX %] - - [% ELSE %] - - [% END %] - [% P.input_tag("customer", "", size="35", class="initial_focus") %]
[% 'Department' | $T8 %]