mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add Xinvoice to E-Mail
This commit is contained in:
parent
073fee4c5b
commit
e8a12816a9
@ -291,7 +291,6 @@ class EmailDefaults
|
||||
$this->email->email_object->entity instanceof Quote ||
|
||||
$this->email->email_object->entity instanceof Credit)) {
|
||||
|
||||
// TODO: Alter this to include XInvoice
|
||||
$pdf = ((new CreateRawPdf($this->email->email_object->invitation, $this->email->company->db))->handle());
|
||||
if ($this->email->email_object->company->use_xinvoice && $this->email->email_object->entity instanceof Invoice) {
|
||||
$tempfile = tmpfile();
|
||||
|
Loading…
x
Reference in New Issue
Block a user