Fixes for ubl
This commit is contained in:
parent
56af0f5721
commit
1d4e36d2f1
1 changed files with 1 additions and 2 deletions
|
|
@ -127,8 +127,7 @@ class TemplateEmail extends Mailable
|
|||
|
||||
$ubl_string = CreateUbl::dispatchNow($this->invitation->invoice);
|
||||
|
||||
if($ubl_string)
|
||||
$this->attachData($ubl_string, $this->invitation->invoice->getFileName('xml'));
|
||||
$this->attachData($ubl_string, $this->invitation->invoice->getFileName('xml'));
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue