From 24bb9ded832e2ed1054973fd025cfa6c5fec021e Mon Sep 17 00:00:00 2001 From: "Martin Helmling martin.helmling@octosoft.eu" Date: Sat, 3 Jun 2017 18:28:22 +0200 Subject: [PATCH] =?utf8?q?Keine=20Mixins=20in=20Mixins:=20Helper=20nur=20i?= =?utf8?q?n=20Controller=20per=20"use"=20hinzuf=C3=BCgen:=20Probleme=20bei?= =?utf8?q?m=20Massendruck=20mit=20Dateimanagement?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Nun werden alle Helper in Controller per "use" hinzugefügt. behebt #249 --- SL/Controller/MassDeliveryOrderPrint.pm | 1 + SL/Controller/MassInvoiceCreatePrint.pm | 1 + SL/Helper/MassPrintCreatePDF.pm | 3 --- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/SL/Controller/MassDeliveryOrderPrint.pm b/SL/Controller/MassDeliveryOrderPrint.pm index ca3026b26..73d3607b6 100644 --- a/SL/Controller/MassDeliveryOrderPrint.pm +++ b/SL/Controller/MassDeliveryOrderPrint.pm @@ -18,6 +18,7 @@ use SL::DB::Part; use SL::DB::Printer; use SL::Helper::MassPrintCreatePDF qw(:all); use SL::Helper::CreatePDF qw(:all); +use SL::Helper::File qw(store_pdf append_general_pdf_attachments); use SL::Helper::PrintOptions; use SL::Helper::Flash; use SL::Locale::String; diff --git a/SL/Controller/MassInvoiceCreatePrint.pm b/SL/Controller/MassInvoiceCreatePrint.pm index 14fd1cc8e..014824583 100644 --- a/SL/Controller/MassInvoiceCreatePrint.pm +++ b/SL/Controller/MassInvoiceCreatePrint.pm @@ -15,6 +15,7 @@ use SL::DB::Order; use SL::DB::Printer; use SL::Helper::MassPrintCreatePDF qw(:all); use SL::Helper::CreatePDF qw(:all); +use SL::Helper::File qw(store_pdf append_general_pdf_attachments); use SL::Helper::Flash; use SL::Locale::String; use SL::SessionFile; diff --git a/SL/Helper/MassPrintCreatePDF.pm b/SL/Helper/MassPrintCreatePDF.pm index 454088e6d..e81419983 100644 --- a/SL/Helper/MassPrintCreatePDF.pm +++ b/SL/Helper/MassPrintCreatePDF.pm @@ -7,8 +7,6 @@ our @EXPORT_OK = qw(create_massprint_pdf merge_massprint_pdf create_pdfs print_p our %EXPORT_TAGS = ( all => \@EXPORT_OK, ); -use SL::Helper::CreatePDF qw(:all); -use SL::Helper::File qw(store_pdf append_general_pdf_attachments); sub create_pdfs { my ($self, %params) = @_; @@ -166,4 +164,3 @@ Martin Helmling Emartin.helmling@opendynamic.deE =cut - -- 2.20.1