1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Fixes for stacked fields

This commit is contained in:
David Bomba 2023-11-06 12:56:43 +11:00
parent d5ba3bcf46
commit 5955544464

View File

@ -860,6 +860,7 @@ class TemplateService
private function companyDetails(): self
{
$company_details =
collect($this->company->settings->pdf_variables['company_details'])
->filter(function ($variable) {
return isset($this->variables['values'][$variable]) && !empty($this->variables['values'][$variable]);
@ -869,6 +870,7 @@ class TemplateService
})->toArray();
$this->parseStack()
return $this;
}