Jump to content

Removing "Credit" line


michelle

Recommended Posts

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!

Link to comment
Share on other sites

I'd like to remove the "Credit" line from outgoing invoices
To 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 by ABetterDealForAll
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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