1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Fixes for html variable replacements in mobile html view

This commit is contained in:
David Bomba 2024-06-09 10:53:53 +10:00
parent e8c578eea8
commit 99e05cbe63

View File

@ -146,6 +146,9 @@ class PdfSlot extends Component
(new VendorHtmlEngine($this->invitation))->generateLabelsAndValues() :
(new HtmlEngine($this->invitation))->generateLabelsAndValues();
$this->entity->terms = $this->entity->parseHtmlVariables('terms', $this->html_variables);
$this->entity->public_notes = $this->entity->parseHtmlVariables('public_notes', $this->html_variables);
return render('components.livewire.pdf-slot', [
'invitation' => $this->invitation,
'entity' => $this->entity,