mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Minor fixes
This commit is contained in:
parent
5731763071
commit
9977f2c47e
@ -102,7 +102,6 @@ class CreateRawPdf
|
|||||||
*/
|
*/
|
||||||
public function handle()
|
public function handle()
|
||||||
{
|
{
|
||||||
/** Testing this override to improve PDF generation performance */
|
|
||||||
$ps = new PdfService($this->invitation, $this->resolveType(), [
|
$ps = new PdfService($this->invitation, $this->resolveType(), [
|
||||||
'client' => $this->entity->client ?? false,
|
'client' => $this->entity->client ?? false,
|
||||||
'vendor' => $this->entity->vendor ?? false,
|
'vendor' => $this->entity->vendor ?? false,
|
||||||
|
@ -343,6 +343,13 @@ class TemplateService
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function setEntity($entity): self
|
||||||
|
{
|
||||||
|
$this->entity = $entity;
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parses all variables in the document
|
* Parses all variables in the document
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user