From db1d60aa9a230d97b32d4b6cb78dd2257f51c88f Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 23 Jan 2017 12:31:07 +0100 Subject: [PATCH] Mahnungssuche: Kundensuche immer nur via Eingabefeld --- bin/mozilla/dn.pl | 2 -- templates/webpages/dunning/search.html | 16 +++------------- 2 files changed, 3 insertions(+), 15 deletions(-) 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 %] -- 2.20.1