Revision 6f205006
Von Moritz Bunkus vor fast 17 Jahren hinzugefügt
bin/mozilla/rp.pl | ||
---|---|---|
91 | 91 |
# $locale->text('Non-taxable Sales') |
92 | 92 |
# $locale->text('Non-taxable Purchases') |
93 | 93 |
|
94 |
# $form->parse_html_template('rp/html_report_susa') |
|
95 |
|
|
94 | 96 |
my $rp_access_map = { |
95 | 97 |
'projects' => 'report', |
96 | 98 |
'ar_aging' => 'general_ledger', |
... | ... | |
1417 | 1419 |
$report->set_options('output_format' => 'HTML', |
1418 | 1420 |
'title' => $form->{title}, |
1419 | 1421 |
'attachment_basename' => $attachment_basename . strftime('_%Y%m%d', localtime time), |
1422 |
'html_template' => 'report_generator/html_report_susa', |
|
1423 |
'pdf_template' => 'report_generator/html_report_susa', |
|
1420 | 1424 |
); |
1421 | 1425 |
$report->set_options_from_form(); |
1422 |
# $form->parse_html_template('report_generator/html_report_susa', $variables)); |
|
1423 |
$form->{report_template} = 'report_generator/html_report_susa'; |
|
1426 |
|
|
1424 | 1427 |
# add sort and escape callback, this one we use for the add sub |
1425 | 1428 |
$form->{callback} = $href .= "&sort=$form->{sort}"; |
1426 | 1429 |
|
Auch abrufbar als: Unified diff
Übergabe des Templates an den ReportGenerator nicht über $form, sondern über ReportGenerator::set_options().