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:
parent
d5ba3bcf46
commit
5955544464
@ -860,6 +860,7 @@ class TemplateService
|
|||||||
private function companyDetails(): self
|
private function companyDetails(): self
|
||||||
{
|
{
|
||||||
|
|
||||||
|
$company_details =
|
||||||
collect($this->company->settings->pdf_variables['company_details'])
|
collect($this->company->settings->pdf_variables['company_details'])
|
||||||
->filter(function ($variable) {
|
->filter(function ($variable) {
|
||||||
return isset($this->variables['values'][$variable]) && !empty($this->variables['values'][$variable]);
|
return isset($this->variables['values'][$variable]) && !empty($this->variables['values'][$variable]);
|
||||||
@ -869,6 +870,7 @@ class TemplateService
|
|||||||
})->toArray();
|
})->toArray();
|
||||||
|
|
||||||
|
|
||||||
|
$this->parseStack()
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user