Skip to Content Skip to Menu

[SOLVED] Invoice html display

  • beat
  • beat
  • OFFLINE
  • Posts: 2169
  • Thanks: 463
  • Karma: 352
7 years 8 months ago - 7 years 8 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:
Code:
$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
Last edit: 7 years 8 months ago by beat. Reason: Fixed proposed replacement code

Please Log in or Create an account to join the conversation.

  • beat
  • beat
  • OFFLINE
  • Posts: 2169
  • Thanks: 463
  • Karma: 352
7 years 8 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 or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum