Jump to content

Phil Ciccone

Member
  • Posts

    1
  • Joined

  • Last visited

About Phil Ciccone

Phil Ciccone's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. For the latest version of WHMCS, I have re-written some of the code in viewinvoice.tpl to still keep working in 7.6.x+. I hope this continues to help people who hate the 0 x configurable items on the invoices. {foreach from=$invoiceitems item=item} {$text = preg_replace("/\:\s0\sx\s/","+",$item.description)} {$text = preg_replace("/.*\+/","+",$text)} {$text = preg_replace("/\+.*/","",$text)} {$item.description = $text} <tr> <td>{$text}{if $item.taxed eq "true"} *{/if}</td> <td class="text-center">{$item.amount}</td> </tr> {/foreach} Phil Ciccone
  2. Welcome to WHMCS.Community Phil Ciccone! We're glad you're here please take some time to familiarise yourself with the Community Rules & Guidelines and take a moment to introduce yourself to other WHMCS.Community members in the Introduce Yourself Board.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated