Jump to content

Search the Community

Showing results for tags 'option'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


WHMCS.Community

  • WHMCS Beta Program
    • WHMCS 9.1 Beta Discussion
  • WHMCS.Community
    • Community Announcements
    • Introduce Yourself
    • MarketConnect Partner Product Status Updates
  • Using WHMCS
    • Pre-Sales Questions
    • Admin & Configuration Questions
    • Installation, Upgrade, and Import Support
    • Using WHMCS
    • Troubleshooting Issues
    • Vendor Discussions
  • WHMCS Showcase
    • Showcase Your Site
    • Share Your Best Practices & Tips
  • Developing & Extending WHMCS
    • Third Party Add-ons
    • Service Offers & Requests
    • Developer Corner
    • Building Modules
    • Share Ideas for WHMCS Modules
  • Community Competitions
    • News, Announcements & Blogs from WHMCS
    • Competitions
  • General Discussions
    • General Discussion
  • General Feedback & Assistance
    • Feedback
    • WHMCS.Community Tips & Tricks
  • Third Party Developers's Topics
  • Turkish International Discussions's Topics
  • Russian International Discussions's Topics
  • Spanish International Discussions's Topics
  • Portuguese International Discussions's Topics
  • French International Discussions's Topics
  • Italian International Discussions's Topics
  • German International Discussions's Topics
  • WHMCS Brasil's Topics
  • WHMCS Brasil's Tópicos
  • ModulesGarden Club's Topics
  • Hungarian International Discussions's Segítség
  • ThemeMetro's Topics
  • WHMCS Services Club's Topics
  • WHMCS Global Services Club's Topics
  • Katamaze's Free Scripts
  • Katamaze's Module Support
  • Zomex Club's Topics
  • 0100Dev Club's Topics
  • RactStudio Club's Topics

WHMCS Version

  • V8.13.x Hotfixes
  • V8.12.x Hotfixes
  • V8.11.x Hotfixes

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 2 results

  1. Since WHM wont add it as a feature, here is the code to do it yourself... Code uses a couple Regex searches to remove the offending lines and leave your invoices squeaky clean. viewinvoice.tpl (Replace the Foreach loop) {foreach key=num item=invoiceitem from=$invoiceitems} {php} $text = preg_replace("/\:\s0\sx\s/","+",$this->_tpl_vars['invoiceitem']['description']); $text = preg_replace("/.*\+/","+",$text); $text = preg_replace("/\+.*/","",$text); $this->_tpl_vars['invoiceitem']['description'] = $text; {/php} <tr bgcolor=#ffffff><td id="invoiceitemsrow" style="border:1px solid #cccccc;border-bottom:0px;">{$invoiceitem.description}{if $invoiceitem.taxed eq "true"} *{/if}</td><td align="center" id="invoiceitemsrow" style="border:1px solid #cccccc;border-bottom:0px;border-left:0px;">{$invoiceitem.amount}</td></tr> {/foreach} invoicePDF.tpl (Replace the Foreach loop) foreach ($invoiceitems AS $item) { //These 3 lines remove 0 Quantity items, and the 4th line set the new string to the running variable $text = preg_replace("/\:\s0\sx\s/","+",$item['description']); $text = preg_replace("/.*\+/","+",$text); $text = preg_replace("/\+.*(\n?)/","",$text); $item['description'] = $text; $rowcount = $pdf->getNumLines($item['description'], 140); $pdf->MultiCell(140,$rowcount * 5,$item['description'],1,'L',0,0); $pdf->MultiCell(40,$rowcount * 5,$item['amount'],1,'C',0,0); $pdf->Ln(); } Removes 0 quantity configurable addon lines from invoices so your customers don't think they are being billed for stuff they didn't sign up for. Enjoy, -Stephen
  2. I couldn't post on the original thread because it was too old. http://forum.whmcs.com/showthread.php?16021-Ahsay-Backup-Module-and-Reseller-Option I have a few questions. I have looked around and couldn't see anything that clearly stated how this works or any listed prices. Are you still selling this module? Is it up to date? Do I have to buy the module and still pay monthly for some subscription? Do I have to use your servers or can I use my own dedicated boxes? If not/ so, what are the fees/ rates? Thank you and pardon my ignorance.
×
×
  • 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