diff --git a/app/Http/Livewire/PdfSlot.php b/app/Http/Livewire/PdfSlot.php index 40a2ae4268b9..ce951f497223 100644 --- a/app/Http/Livewire/PdfSlot.php +++ b/app/Http/Livewire/PdfSlot.php @@ -120,24 +120,24 @@ class PdfSlot extends Component private function getEntityDetails() { - $entity_details = "
"; + $entity_details = "
"; 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 b91e6c7c0ffb..1be4224c2ba9 100644 --- a/resources/views/portal/ninja2020/components/html-viewer.blade.php +++ b/resources/views/portal/ninja2020/components/html-viewer.blade.php @@ -1,7 +1,6 @@ -
+
{!! $company_details !!} @@ -38,14 +37,17 @@ span {
-
{!! $entity_details !!}
+
-
+
{!! $entity_details !!}
+ +
{!! $user_details !!}
+
@if($products->count() > 0) -
+
@@ -72,7 +74,7 @@ span { @endif @if($services->count() > 0) -
+
+
@@ -129,45 +131,45 @@ span { @if(strlen($entity->public_notes) > 3) -
+
-
- {{ $entity->public_notes }} + {{ strip_tags($entity->public_notes) }}
@endif @if(strlen($entity->terms) > 3) -
+
- {{ $entity->terms }} + {{ strip_tags($entity->terms) }}
@endif @if(strlen($entity->footer) > 3) -
+
- {{ $entity->footer }} + {{ strip_tags($entity->footer) }}