diff --git a/app/Http/Livewire/PdfSlot.php b/app/Http/Livewire/PdfSlot.php index 707903bd204a..28a6b3fd1407 100644 --- a/app/Http/Livewire/PdfSlot.php +++ b/app/Http/Livewire/PdfSlot.php @@ -203,20 +203,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}

"; } } @@ -310,6 +310,7 @@ class PdfSlot extends Component return 'purchase_order'; } + return ''; } } diff --git a/resources/views/portal/ninja2020/components/html-viewer.blade.php b/resources/views/portal/ninja2020/components/html-viewer.blade.php index ab54e246d5ea..37ea0aac6685 100644 --- a/resources/views/portal/ninja2020/components/html-viewer.blade.php +++ b/resources/views/portal/ninja2020/components/html-viewer.blade.php @@ -77,6 +77,8 @@ span {
+ +

{!! $product['notes'] !!}

@if($show_quantity) {{ $product['quantity'] }} x @@ -85,8 +87,8 @@ span { @if($show_cost) {{ $product['cost'] }} @endif -

-

{!! $product['notes'] !!}

+

+