From: Moritz Bunkus Date: Mon, 23 Jan 2017 11:59:59 +0000 (+0100) Subject: Lieferscheinsuche: Kunden-/Lieferanten nicht mehr als Drop-Down X-Git-Tag: release-3.5.4~1667^2~8 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=ad5f1dc8d6f01309c09ba0ea74ec883ad0b86afc;p=kivitendo-erp.git Lieferscheinsuche: Kunden-/Lieferanten nicht mehr als Drop-Down --- diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index f69da647b..209d37558 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -501,11 +501,9 @@ sub search { $form->get_lists("projects" => { "key" => "ALL_PROJECTS", "all" => 1 }, - "$form->{vc}s" => "ALL_VC", "business_types" => "ALL_BUSINESS_TYPES"); $form->{ALL_EMPLOYEES} = SL::DB::Manager::Employee->get_all_sorted(query => [ deleted => 0 ]); $form->{ALL_DEPARTMENTS} = SL::DB::Manager::Department->get_all; - $form->{SHOW_VC_DROP_DOWN} = $myconfig{vclimit} > scalar @{ $form->{ALL_VC} }; $form->{title} = $locale->text('Delivery Orders'); $form->header(); diff --git a/templates/webpages/do/search.html b/templates/webpages/do/search.html index ae2798dbf..e46a942ce 100644 --- a/templates/webpages/do/search.html +++ b/templates/webpages/do/search.html @@ -1,6 +1,6 @@ [%- USE T8 %] [%- USE L %] -[%- USE HTML %][%- USE LxERP %] +[%- USE HTML %][%- USE LxERP %][%- USE P -%]

[% title %]

[%- IF vc == 'customer' %] @@ -23,19 +23,7 @@ - +
[% IF is_customer %][% 'Customer' | $T8 %][% ELSE %][% 'Vendor' | $T8 %][% END %] - [%- UNLESS SHOW_VC_DROP_DOWN %] - - [%- ELSE %] - - - [%- END %] - [% P.input_tag(vc, "", class="fixed_width initial_focus") %]