X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Frp.pl;h=c23abeb59abe7d258a2832a350647f7699637c92;hb=6f2050063ffa5417ab4495af84625385c766bc2d;hp=7fef683c31ada2b453e54a27a45d3daf5c90d0d1;hpb=ddf6b21857f3b1cfbc9efe74004d5faa8e03d23c;p=kivitendo-erp.git diff --git a/bin/mozilla/rp.pl b/bin/mozilla/rp.pl index 7fef683c3..c23abeb59 100644 --- a/bin/mozilla/rp.pl +++ b/bin/mozilla/rp.pl @@ -91,6 +91,8 @@ require "bin/mozilla/reportgenerator.pl"; # $locale->text('Non-taxable Sales') # $locale->text('Non-taxable Purchases') +# $form->parse_html_template('rp/html_report_susa') + my $rp_access_map = { 'projects' => 'report', 'ar_aging' => 'general_ledger', @@ -1417,10 +1419,11 @@ sub generate_trial_balance { $report->set_options('output_format' => 'HTML', 'title' => $form->{title}, 'attachment_basename' => $attachment_basename . strftime('_%Y%m%d', localtime time), + 'html_template' => 'report_generator/html_report_susa', + 'pdf_template' => 'report_generator/html_report_susa', ); $report->set_options_from_form(); - # $form->parse_html_template('report_generator/html_report_susa', $variables)); - $form->{report_template} = 'report_generator/html_report_susa'; + # add sort and escape callback, this one we use for the add sub $form->{callback} = $href .= "&sort=$form->{sort}";