From 99e05cbe6374681eeff09f54653c38ecb2b629e1 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 9 Jun 2024 10:53:53 +1000 Subject: [PATCH] Fixes for html variable replacements in mobile html view --- app/Livewire/PdfSlot.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Livewire/PdfSlot.php b/app/Livewire/PdfSlot.php index 089c9797e51a..f3558d905ce6 100644 --- a/app/Livewire/PdfSlot.php +++ b/app/Livewire/PdfSlot.php @@ -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,