From: Bernd Bleßmann Date: Wed, 23 Feb 2022 13:47:46 +0000 (+0100) Subject: Auftrags-Controller: Media beim Drucken berücksichtigen X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~171 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=95690f98a801314e53642e827f4701deec2669cb;p=kivitendo-erp.git Auftrags-Controller: Media beim Drucken berücksichtigen --- diff --git a/SL/Controller/Order.pm b/SL/Controller/Order.pm index d605f666e..6571eecf8 100644 --- a/SL/Controller/Order.pm +++ b/SL/Controller/Order.pm @@ -301,7 +301,8 @@ sub action_print { my $doc_filename = $form->generate_attachment_filename(); my $doc; - my @errors = $self->generate_doc(\$doc, { format => $format, + my @errors = $self->generate_doc(\$doc, { media => $media, + format => $format, formname => $formname, language => $self->order->language, printer_id => $printer_id, @@ -368,7 +369,8 @@ sub action_preview_pdf { my $pdf_filename = $form->generate_attachment_filename(); my $pdf; - my @errors = $self->generate_doc(\$pdf, { format => $format, + my @errors = $self->generate_doc(\$pdf, { media => $media, + format => $format, formname => $formname, language => $self->order->language, });