Fixes for encoded entities in client portal

This commit is contained in:
David Bomba 2023-10-29 11:09:00 +11:00
parent 29b9ac2894
commit 9dfbeb2beb
2 changed files with 4 additions and 4 deletions

View File

@ -268,7 +268,7 @@ class PdfSlot extends Component
'line_total' => Number::formatMoney($item->line_total, $this->entity->client ?: $this->entity->vendor),
];
});
return $product_items;
}

View File

@ -156,7 +156,7 @@ span {
</button>
<div id="notes" class="py-10 border-b-2 border-fuschia-600" x-show="show_notes">
{{ strip_tags($entity->public_notes) }}
{!! html_entity_decode($entity->public_notes) !!}
</div>
</div>
@ -171,7 +171,7 @@ span {
</button>
<div id="terms" class="py-10 border-b-2 border-fuschia-600" x-show="show_terms">
{{ strip_tags($entity->terms) }}
{!! html_entity_decode($entity->terms) !!}
</div>
</div>
@ -186,7 +186,7 @@ span {
</button>
<div id="terms" class="py-10 border-b-2 border-fuschia-600" x-show="show_footer">
{{ strip_tags($entity->footer) }}
{!! html_entity_decode($entity->footer) !!}
</div>
</div>