Revision 52352135
Von Moritz Bunkus vor etwa 17 Jahren hinzugefügt
bin/mozilla/dn.pl | ||
---|---|---|
124 | 124 |
$form->{jsscript} = 1; |
125 | 125 |
$form->{callback} ||= build_std_url("action=show_invoices", qw(login password customer invnumber ordnumber groupinvoices minamount dunning_level notes)); |
126 | 126 |
|
127 |
$form->{PRINT_OPTIONS} = print_options({ 'inline' => 1,
|
|
128 |
'no_queue' => 1,
|
|
129 |
'no_postscript' => 1,
|
|
130 |
'no_html' => 1,
|
|
131 |
'no_opendocument' => 1, });
|
|
127 |
$form->{PRINT_OPTIONS} = print_options('inline' => 1, |
|
128 |
'no_queue' => 1, |
|
129 |
'no_postscript' => 1, |
|
130 |
'no_html' => 1, |
|
131 |
'no_opendocument' => 1,);
|
|
132 | 132 |
|
133 | 133 |
$form->header(); |
134 | 134 |
print $form->parse_html_template("dunning/show_invoices"); |
... | ... | |
282 | 282 |
'languages' => 'languages'); |
283 | 283 |
|
284 | 284 |
$form->{type} = 'dunning'; |
285 |
$form->{PRINT_OPTIONS} = print_options({ 'inline' => 1,
|
|
286 |
'no_queue' => 1,
|
|
287 |
'no_postscript' => 1,
|
|
288 |
'no_html' => 1,
|
|
289 |
'no_opendocument' => 1, });
|
|
285 |
$form->{PRINT_OPTIONS} = print_options('inline' => 1, |
|
286 |
'no_queue' => 1, |
|
287 |
'no_postscript' => 1, |
|
288 |
'no_html' => 1, |
|
289 |
'no_opendocument' => 1,);
|
|
290 | 290 |
$form->{title} = $locale->text('Dunning overview'); |
291 | 291 |
|
292 | 292 |
my $report = SL::ReportGenerator->new(\%myconfig, $form); |
Auch abrufbar als: Unified diff
Die Argumente für print_options() als Hash und nicht als Hash-Referenz übergeben. Weitere Optionen zum Verstecken bestimmter Drop-Down-Boxen eingebaut.