From: Martin Helmling martin.helmling@octosoft.eu Date: Sat, 3 Jun 2017 16:28:22 +0000 (+0200) Subject: Keine Mixins in Mixins: Helper nur in Controller per "use" hinzufügen: Probleme beim... X-Git-Tag: release-3.5.4~1049 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=24bb9ded832e2ed1054973fd025cfa6c5fec021e;p=kivitendo-erp.git Keine Mixins in Mixins: Helper nur in Controller per "use" hinzufügen: Probleme beim Massendruck mit Dateimanagement Nun werden alle Helper in Controller per "use" hinzugefügt. behebt #249 --- 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 -