ils Posted December 12, 2017 Share Posted December 12, 2017 I would like to remove the massive... UNPAID ...from the invoices and a search showed some code to change in v6 but obviously I don't want to break anything as we're on v7.4 now Any help most welcome Link to comment Share on other sites More sharing options...
WHMCS Technical Analyst II WHMCS Alex Posted December 21, 2017 WHMCS Technical Analyst II Share Posted December 21, 2017 Hello, Thank you for your post! If you wish to modify the PDF version of the invoice, you can do so by modifying the 'invoicepdf.tpl' file. If you wish to modify the invoice when viewed in a browser, you need to modify the 'invoice.css' file within your active client area theme. For example, the font size is controlled by this code: .invoice-container .invoice-status { margin: 20px 0 0 0; text-transform: uppercase; font-size: 24px; font-weight: bold; } The colour itself is controlled by this code: .unpaid { color: #cc0000; } I hope this helps. Link to comment Share on other sites More sharing options...
ils Posted December 21, 2017 Author Share Posted December 21, 2017 Thanks Alex, which folder is each of these in please? Also the CSS handles the colour in your example, how about the wording please? thanks Link to comment Share on other sites More sharing options...
WHMCS Technical Analyst II WHMCS Alex Posted December 22, 2017 WHMCS Technical Analyst II Share Posted December 22, 2017 Hello, Thank you for your response! I will include the location to these files below, this is based upon the 'six' theme shipped by default with WHMCS V7, it may differ if you are using a custom theme. /whmcs/templates/six/invoicepdf.tpl /whmcs/templates/six/css/invoice.css The wording is controlled by the language file. Specifically the following code: $_LANG['invoicesunpaid'] = "Unpaid"; If you wish to change this, you can do so using language overrides, for more information, please see - https://docs.whmcs.com/Language_Overrides 1 Link to comment Share on other sites More sharing options...
ils Posted December 23, 2017 Author Share Posted December 23, 2017 Thanks so much! Link to comment Share on other sites More sharing options...
Recommended Posts