From: Sven Schöling Date: Mon, 19 Sep 2011 09:12:36 +0000 (+0200) Subject: chart of account suche in template ausgelagert X-Git-Tag: release-2.7.0beta1~281^2~1 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=82684e3dd8e779081a7d8af2c24a477f107fc4a5;p=kivitendo-erp.git chart of account suche in template ausgelagert --- diff --git a/bin/mozilla/ca.pl b/bin/mozilla/ca.pl index 27070bb3f..fcff5cf33 100644 --- a/bin/mozilla/ca.pl +++ b/bin/mozilla/ca.pl @@ -149,215 +149,23 @@ sub chart_of_accounts { } sub list { - $main::lxdebug->enter_sub(); + $::lxdebug->enter_sub; + $::auth->assert('report'); - my $form = $main::form; - my %myconfig = %main::myconfig; - my $locale = $main::locale; + $::form->{title} = $::locale->text('List Transactions') . " - " . $::locale->text('Account') . " $::form->{accno}"; - $main::auth->assert('report'); - - $form->{title} = $locale->text('List Transactions'); - $form->{title} .= " - " . $locale->text('Account') . " $form->{accno}"; - my $year = (localtime)[5] + 1900; - - # get departments - $form->all_departments(\%myconfig); - if (@{ $form->{all_departments} || [] }) { - $form->{selectdepartment} = "