diff --git a/app/Utils/HtmlEngine.php b/app/Utils/HtmlEngine.php index aa3c733389ee..033c8a1ae8dd 100644 --- a/app/Utils/HtmlEngine.php +++ b/app/Utils/HtmlEngine.php @@ -317,7 +317,7 @@ class HtmlEngine $data['_rate2'] = ['value' => '', 'label' => ctrans('texts.tax')]; $data['_rate3'] = ['value' => '', 'label' => ctrans('texts.tax')]; - $data['$font-size'] = ['value' => $this->settings->font_size . 'px', 'label' => '']; + $data['$font_size'] = ['value' => $this->settings->font_size . 'px', 'label' => '']; $data['$invoiceninja.whitelabel'] = ['value' => asset('images/created-by-invoiceninja-new.png'), 'label' => '']; diff --git a/resources/views/pdf-designs/bold.html b/resources/views/pdf-designs/bold.html index 22bc3de01c6e..4fe76320c460 100644 --- a/resources/views/pdf-designs/bold.html +++ b/resources/views/pdf-designs/bold.html @@ -13,7 +13,7 @@ * { margin: 0; padding: 0; - font-size: '$font-size'; + font-size: '$font_size'; } body { @@ -148,7 +148,7 @@