1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 16:31:33 +02:00

Fix for invitation resolution with PhantomJS

This commit is contained in:
David Bomba 2020-11-27 08:24:25 +11:00
parent f1e1fa0b82
commit 2c2d1b50f4

View File

@ -114,9 +114,9 @@ class Phantom
$state = [
'template' => $template->elements([
'client' => $this->entity->client,
'entity' => $this->entity,
'pdf_variables' => (array) $this->entity->company->settings->pdf_variables,
'client' => $entity_obj->client,
'entity' => $entity_obj,
'pdf_variables' => (array) $entity_obj->company->settings->pdf_variables,
'$product' => $design->design->product,
]),
'variables' => $html->generateLabelsAndValues(),