X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=bin%2Fmozilla%2Frp.pl;h=4461286330cda72c4555eef77e14a9951c9ddc6d;hb=ab1df08bfae3ef3361c7b5e4e16d91ae3cb34961;hp=a6294f26a7fe9837625811ac11034d74be508208;hpb=1d027d8883ed6b13cf6c78b95b3493acc1fb715f;p=kivitendo-erp.git diff --git a/bin/mozilla/rp.pl b/bin/mozilla/rp.pl index a6294f26a..446128633 100644 --- a/bin/mozilla/rp.pl +++ b/bin/mozilla/rp.pl @@ -1441,9 +1441,9 @@ sub aging { $report->add_data(create_aging_subtotal_row(\%totals, \@columns, \@periods, 'listtotal')); if ($form->{arap} eq 'ar') { - $raw_top_info_text = $form->parse_html_template2('rp/aging_ar_top'); - $raw_bottom_info_text = $form->parse_html_template2('rp/aging_ar_bottom', { 'row_idx' => $row_idx, - 'PRINT_OPTIONS' => print_options(inline => 1), }); + $raw_top_info_text = $form->parse_html_template('rp/aging_ar_top'); + $raw_bottom_info_text = $form->parse_html_template('rp/aging_ar_bottom', { 'row_idx' => $row_idx, + 'PRINT_OPTIONS' => print_options(inline => 1), }); $report->set_options('raw_top_info_text' => $raw_top_info_text, 'raw_bottom_info_text' => $raw_bottom_info_text); } @@ -1656,9 +1656,7 @@ sub print_form { } $form->{IN} = "$form->{type}.$suffix"; - $form->{OUT} = - $form->{media} eq 'email' ? $sendmail : - $form->{media} eq 'printer' ? "| $myconfig{printer}" : ""; + $form->{OUT} = $form->{media} eq 'printer' ? "| $myconfig{printer}" : ""; # Save $form->{email} because it will be overwritten. $form->{EMAIL_RECIPIENT} = $form->{email};