From 95690f98a801314e53642e827f4701deec2669cb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Wed, 23 Feb 2022 14:47:46 +0100 Subject: [PATCH] =?utf8?q?Auftrags-Controller:=20Media=20beim=20Drucken=20?= =?utf8?q?ber=C3=BCcksichtigen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Controller/Order.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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, }); -- 2.20.1