mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for invoice attachment
This commit is contained in:
parent
20a494f0b5
commit
a1afb38514
@ -80,7 +80,7 @@ class InvoiceEmailEngine extends BaseEmailEngine
|
|||||||
->setViewText(ctrans('texts.view_invoice'));
|
->setViewText(ctrans('texts.view_invoice'));
|
||||||
|
|
||||||
if ($this->client->getSetting('pdf_email_attachment') !== false) {
|
if ($this->client->getSetting('pdf_email_attachment') !== false) {
|
||||||
$this->setAttachments($invitation->pdf_file_path());
|
$this->setAttachments($this->invoice->pdf_file_path());
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user