1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Fix for invoice attachment

This commit is contained in:
David Bomba 2020-11-05 08:19:44 +11:00
parent 20a494f0b5
commit a1afb38514

View File

@ -80,7 +80,7 @@ class InvoiceEmailEngine extends BaseEmailEngine
->setViewText(ctrans('texts.view_invoice'));
if ($this->client->getSetting('pdf_email_attachment') !== false) {
$this->setAttachments($invitation->pdf_file_path());
$this->setAttachments($this->invoice->pdf_file_path());
}
return $this;