From: Sven Schöling Date: Thu, 22 Sep 2011 13:56:21 +0000 (+0200) Subject: bp/search in templates umgebaut X-Git-Tag: release-2.7.0beta1~267 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=e6f4310417ed916979a24a8699c549f38609d34a;p=kivitendo-erp.git bp/search in templates umgebaut --- diff --git a/bin/mozilla/bp.pl b/bin/mozilla/bp.pl index 9ce49155a..87afc3293 100644 --- a/bin/mozilla/bp.pl +++ b/bin/mozilla/bp.pl @@ -65,212 +65,35 @@ sub assert_bp_access { } sub search { - $main::lxdebug->enter_sub(); - - my $form = $main::form; - my %myconfig = %main::myconfig; - my $locale = $main::locale; - - my ($name, $account, $onload); + $::lxdebug->enter_sub; assert_bp_access(); - # $locale->text('Sales Invoices') - # $locale->text('Sales Orders') - # $locale->text('Purchase Orders') - # $locale->text('Quotations') - # $locale->text('RFQs') - # $locale->text('Checks') - # $locale->text('Receipts') - # setup customer/vendor selection - BP->get_vc(\%myconfig, \%$form); - - if (@{ $form->{"all_$form->{vc}"} || [] }) { - map { $name .= "