X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/9c8799530caff44dca79d0bdfd0ff5964c15194c..e20f3f0dac8c4b362af0e6594de9581d05d0f6c4:/bin/mozilla/ca.pl diff --git a/bin/mozilla/ca.pl b/bin/mozilla/ca.pl index 229e43004..eae613179 100644 --- a/bin/mozilla/ca.pl +++ b/bin/mozilla/ca.pl @@ -74,6 +74,8 @@ require "bin/mozilla/reportgenerator.pl"; sub chart_of_accounts { $lxdebug->enter_sub(); + $auth->assert('report'); + $form->{title} = $locale->text('Chart of Accounts'); CA->all_accounts(\%myconfig, \%$form); @@ -136,8 +138,11 @@ sub chart_of_accounts { sub list { $lxdebug->enter_sub(); + $auth->assert('report'); + $form->{title} = $locale->text('List Transactions'); $form->{title} .= " - " . $locale->text('Account') . " $form->{accno}"; + $year = (localtime)[5] + 1900; # get departments $form->all_departments(\%myconfig); @@ -156,13 +161,76 @@ sub list {