Merge pull request #4339 from beganovich/v5-fix-issue-with-invitation

(v5) Fix refernece to $invitation in QuoteEmailEngine
This commit is contained in:
Benjamin Beganović 2020-11-20 11:38:09 +01:00 committed by GitHub
commit 952899c8ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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