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:
parent
20a494f0b5
commit
a1afb38514
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user