diff --git a/app/Http/Livewire/PdfSlot.php b/app/Http/Livewire/PdfSlot.php
index 788e0048b3c4..40a2ae4268b9 100644
--- a/app/Http/Livewire/PdfSlot.php
+++ b/app/Http/Livewire/PdfSlot.php
@@ -124,20 +124,20 @@ class PdfSlot extends Component
if($this->entity_type == 'invoice' || $this->entity_type == 'recurring_invoice') {
foreach($this->settings->pdf_variables->invoice_details as $variable)
- $entity_details .= "
{$variable}_label{$variable}";
+ $entity_details .= "{$variable}_label{$variable}";
}
elseif($this->entity_type == 'quote'){
foreach($this->settings->pdf_variables->quote_details as $variable)
- $entity_details .= "{$variable}_label{$variable}";
+ $entity_details .= "{$variable}_label{$variable}";
}
elseif($this->entity_type == 'credit') {
foreach($this->settings->pdf_variables->credit_details as $variable)
- $entity_details .= "{$variable}_label{$variable}";
+ $entity_details .= "{$variable}_label{$variable}";
}
elseif($this->entity_type == 'purchase_order'){
foreach($this->settings->pdf_variables->purchase_order_details as $variable)
- $entity_details .= "{$variable}_label{$variable}";
+ $entity_details .= "{$variable}_label{$variable}";
}
$entity_details .= "";
diff --git a/resources/views/portal/ninja2020/components/html-viewer.blade.php b/resources/views/portal/ninja2020/components/html-viewer.blade.php
index 182e169966d0..b91e6c7c0ffb 100644
--- a/resources/views/portal/ninja2020/components/html-viewer.blade.php
+++ b/resources/views/portal/ninja2020/components/html-viewer.blade.php
@@ -28,7 +28,7 @@ span {
-
+
{!! $company_details !!}
@@ -38,9 +38,9 @@ span {
-
{!! $entity_details !!}
+
{!! $entity_details !!}
-