From d254ff533618e724d4b899e7b5a037c6f1daea96 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 14 Nov 2023 19:58:28 +1100 Subject: [PATCH] Prevent Template Service from running over statements due to long data parsing --- app/Services/Client/Statement.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/Services/Client/Statement.php b/app/Services/Client/Statement.php index ded85ac4b47f..556baf76f84f 100644 --- a/app/Services/Client/Statement.php +++ b/app/Services/Client/Statement.php @@ -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, ];