[SOLVED] Invoice html display

7 years 2 months ago - 7 years 2 months ago #291536 by beat
Replied by beat on topic [#6506] Invoice html display
Btw. I have added the Kunena Forum [ CONFIDENTIAL ] protection around your confidential part.

You spotted the issue line. Thanks!

Try changing it to:
$this->invoiceNumberHtml	=	'<span class="cbregInvTitle">'
									.	str_replace( '[INVOICENUMBER]', '<span class="cbregInvField">' . htmlspecialchars( $invoice->invoice ) . '</span>', str_replace( ' ', '&nbsp;', $this->invoiceNumberTitle ) )
									.	'</span>';

(replaces done in wrong order)

Works now correctly ?

#6506

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

7 years 2 months ago #291538 by beat
Replied by beat on topic [#6506] Invoice html display
Edited my post above with fixed replacement code proposal...

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info
The following user(s) said Thank You: activha

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.146 seconds

Facebook Twitter LinkedIn