Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/11/23 in all areas

  1. Hello, I understand that you would like to remove the Unpaid invoice status from the PDF file. It is recommended to not remove these texts so that the customers can readily differentiate between Paid and Unpaid invoices. Given the context and to achieve this it requires that you edit the /templates/your active template/invoicepdf.tpl file. The only code you will need to change for the PDF invoice to remove the red unpaid ribbon is as follows: https://github.com/WHMCS/templates-twenty-one/blob/master/invoicepdf.tpl#L35-L36 In these lines change this to the following which will set the background of the banner and text to be white. else { $pdf->SetFillColor(255, 255, 255); $pdf->SetDrawColor(255, 255, 255); } You can locate an overview of this at https://docs.whmcs.com/PDF_Invoice_Customisation When working with the client area template please ensure that you create your own to preserve changes on update. For your reference https://developers.whmcs.com/themes/getting-started/ I trust this gives you a good starting point for your customisations. If you require further assistance with modifying this you can always consult with our friendly community of experts in our Developer Corner area at https://whmcs.community/forum/41-developer-corner/ I hope this helps.
    1 point
  2. Add your text to ‘overrides/english.php’ and then add a line like ‘Lang::trans('invoicecustomtext')’
    1 point
  3. Invoice status text and color is in the first 30 lines of invoicepdf.tpl
    1 point
  4. The solution was to use {$amount} a WHMCS template variable, for the value. It gets replaced with the amount before the page is sent to their browser: <script> gtag('event', 'conversion', { 'send_to': 'AW-xxx/xxx', 'value': {$amount}, 'currency': 'AUD', 'transaction_id': '' }); </script>
    1 point
  5. I paid... How do I get services started?
    0 points
×
×
  • 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