X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Fca.pl;h=1d431916ad2fa3e2b36fc2af1b7d552572761e41;hb=dd88b40826189b57d3b816320d645f1517b020d2;hp=d2fab4888aad57ccdbddeab786005e908ee1118e;hpb=18da4a96827fd65559a6f64334c3d8a313884f84;p=kivitendo-erp.git diff --git a/bin/mozilla/ca.pl b/bin/mozilla/ca.pl index d2fab4888..1d431916a 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 {