michelle Posted December 22, 2008 Share Posted December 22, 2008 I'd like to remove the "Credit" line from outgoing invoices and the view invoices section. I'd rather add credit manually to an invoice than have that line always show up. I've been going over the templates and files but not quite sure what to edit out. Any help would be appreciated. Thanks! 0 Quote Link to comment Share on other sites More sharing options...
ABetterDealForAll Posted December 29, 2008 Share Posted December 29, 2008 (edited) I'd like to remove the "Credit" line from outgoing invoicesTo modify outgoing invoices modify the following file: "/includes/pdfconfig.php" You can modify this file to your hearts content to get the look & feel you require. just comment out the following lines: $pdf->Cell(155,7,$_LANG["invoicescredit"].":",1,0,'R','1'); $pdf->Cell(25,7,$currencysymbol.$credit,1,0,'R','1'); $pdf->Ln(); **note: The above lines might might differ in their numbers as I have heavily modified the original supplied file. you would also have to ensure that no "credit" is applied to the invoice via WHMCS or add in another line, (where you commented out the above code), to add the "credit" back to the "Total" something like: $total = $total + $credit; hope this helps graham Edited December 29, 2008 by ABetterDealForAll 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.