]> wagnertech.de Git - mfinanz.git/blobdiff - SL/BackgroundJob/CreatePeriodicInvoices.pm
Anpassugen dokumentation.xml für neues Modul
[mfinanz.git] / SL / BackgroundJob / CreatePeriodicInvoices.pm
index c8b16ab4bdb25111a1f493a447997b3709315532..055dd16f40bf13cfca550256fbe524988a7f2d32 100644 (file)
@@ -404,7 +404,7 @@ sub _email_invoice {
       $mail->{subject}     = $data->{config}->email_subject;
       $mail->{message}     = $data->{config}->email_body;
       $mail->{attachments} = [{
-        filename => $pdf_file_name,
+        path     => $pdf_file_name,
         name     => sprintf('%s %s.pdf', $::locale->text('Invoice'), $data->{invoice}->invnumber),
       }];