Jump to content


Popular Content

Showing content with the highest reputation on 03/06/2019 in all areas

  1. 1 point
    The due date for those are taken from Setup menu -> Automation settings -> Billing settings section -> Invoice generation field . If you set to 5, it will set the invoice due date 5 days out from when it is generated. If you want due date when the invoice is generated, you would set 0. For card processing, check Setup menu -> Automation settings -> Credit Card Charging Settings section -> Process Days Before Due and if you set "0", it will charge on the due date. If you set 1 it will charge 1 day before the due date I believe. Personally, I prefer a invoice generation date of 7 days for monthly, with a charging on the due date (setting 0). If you wanted to have separate settings for support ticket billing items, including ticket number, like anything else WHMCS can't do out of box, make it. So for dev, you could use ticketadminreply hook and I believe the billing item would be in the $_POST to grab though not the specific ID. You would need to match up the due billing items with the ticket billing item to get the right one and then modify it from there. (no hooks for billing item creation either) There could be potential for mixed billing items if they are submitted with the same line item, date, and amount but different ticket. If you need a developer to do this, post in the requests community.
  2. 1 point
    have you tried the code below ? formatcurrency($clientsdetails['credit'],$clientsdetails['currency']) it definitely won't be clientsstats as that's only used on the site.
  3. 1 point
    I wouldn't have thought so because the PDF doesn't exist as a separate file - that link on the invoice page is to the php page that generates the PDF.
  4. 1 point
    are you storing the PDFs externally outside of WHMCS ? if so, then you could use... https://docs.google.com/viewer?url=https://tcpdf.org/files/examples/example_001.pdf&embedded=true but WHMCS doesn't store PDFs natively, it creates them on the fly from current database values and I think this Google method needs a URL to work with...
  5. 1 point
    @Adamm I do beleive ModuleGardens does offer a trial when you click the buy link
  6. 1 point
    you can use the following hook to remove the Store menu dropdown... <?php # Remove Store From Navbar Hook # Written by brian! use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaPrimaryNavbar', 1, function (MenuItem $primaryNavbar) { if (!is_null($primaryNavbar->getChild('Store'))) { $primaryNavbar->removeChild('Store'); } });
  7. 1 point
    Welcome to WHMCS.Community hiirad! 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.
  8. 0 points
    There is no reason to go through all that rigarmole as quoted above https://forum.whmcs.com/showthread.php?121074-Display-user-s-tickets-using-a-hook&p=487678#post487678 - @steven99 has the correct answer

Important Information

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