diff --git a/app/Http/Livewire/PdfSlot.php b/app/Http/Livewire/PdfSlot.php index ce951f497223..9be66121824a 100644 --- a/app/Http/Livewire/PdfSlot.php +++ b/app/Http/Livewire/PdfSlot.php @@ -78,6 +78,7 @@ class PdfSlot extends Component 'company_address' => $this->getCompanyAddress(), 'entity_details' => $this->getEntityDetails(), 'user_details' => $this->getUserDetails(), + 'user_name' => $this->getUserName(), ]); } @@ -120,43 +121,54 @@ class PdfSlot extends Component private function getEntityDetails() { - $entity_details = "
{$variable}_label
{$variable}
{$variable}_label
{$variable}
{$variable}_label
{$variable}
{$variable}_label
{$variable}
{$variable}
"; } } else{ - foreach($this->settings->pdf_variables->client_details as $variable) { + foreach(array_slice($this->settings->pdf_variables->client_details,1) as $variable) { $user_details .= "{$variable}
"; } } diff --git a/resources/views/portal/ninja2020/components/html-viewer.blade.php b/resources/views/portal/ninja2020/components/html-viewer.blade.php index 1be4224c2ba9..58fbdc575226 100644 --- a/resources/views/portal/ninja2020/components/html-viewer.blade.php +++ b/resources/views/portal/ninja2020/components/html-viewer.blade.php @@ -2,7 +2,7 @@ -Item | Amount | |||||
---|---|---|---|---|---|---|
@@ -74,7 +93,7 @@ span {
@endif
@if($services->count() > 0)
-
+
+
- |