Prevent Template Service from running over statements due to long data parsing

This commit is contained in:
David Bomba 2023-11-14 19:58:28 +11:00
parent 57a2a836f1
commit d254ff5336

View File

@ -100,13 +100,13 @@ class Statement
], \App\Services\PdfMaker\Design::STATEMENT),
'variables' => $variables,
'options' => [
'client' => $this->client,
'entity' => $this->entity,
'variables' => $variables,
'invoices' => $this->getInvoices()->cursor(),
'payments' => $this->getPayments()->cursor(),
'credits' => $this->getCredits()->cursor(),
'aging' => $this->getAging(),
// 'client' => $this->client,
// 'entity' => $this->entity,
// 'variables' => $variables,
// 'invoices' => $this->getInvoices()->cursor(),
// 'payments' => $this->getPayments()->cursor(),
// 'credits' => $this->getCredits()->cursor(),
// 'aging' => $this->getAging(),
],
'process_markdown' => $this->entity->client->company->markdown_enabled,
];