X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fdn.pl;h=e8e242a61716c2e83a440e336f1bd7725d4f6541;hb=09335d0f463d5fff5b1b620ffc61f3ad48ab793a;hp=52f6cd55d058c3c8864ff03819c76738167e6a58;hpb=fa654209d149de56340fa28d3f57678bb81562c9;p=kivitendo-erp.git diff --git a/bin/mozilla/dn.pl b/bin/mozilla/dn.pl index 52f6cd55d..e8e242a61 100644 --- a/bin/mozilla/dn.pl +++ b/bin/mozilla/dn.pl @@ -216,178 +216,27 @@ sub set_email { sub search { $lxdebug->enter_sub(); - # setup customer selection - $form->all_vc(\%myconfig, "customer", "AR"); + + $form->get_lists("customers" => "ALL_CUSTOMERS", + "departments" => "ALL_DEPARTMENTS"); DN->get_config(\%myconfig, \%$form); - if (@{ $form->{all_customer} }) { - map { $customer .= "\n" - } (@{ $form->{DUNNING} }); - } - $dunning_level = qq| - - | . $locale->text('Next Dunning Level') . qq| - - - | if $form->{selectdunning_level}; - - # departments - if (@{ $form->{all_departments} }) { - $form->{selectdepartment} = "