Fix for invoice attachment
This commit is contained in:
parent
20a494f0b5
commit
a1afb38514
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue