Jump to content

PDF Invoice to show transactions and balance


Gears

Recommended Posts

Does anyone have their PDF invoices displaying transactions and the balance at the bottom?

 

I am comparing my PDF invoice to the HTML invoice page at https://www.example.com/whmcs/viewinvoice.php?id=number and the PDF does not have the transaction and balance information located at the bottom like the HTML invoice does.

 

I'm going to probably add this to the PDF invoice - I just wanted to see if anyone has done this already.

 

Anthony

Link to comment
Share on other sites

No I don't have that on the bottom on mine either (paid or unpaid).

 

One thing that I would like to add to the pdf invoice is the payment method details. For example, if the payment method is via bank Payment, then the invoice should display the bank details that I have entered or the Payal account details for Paypal.

 

this does this on the 'Printable Version' but not the pdf version. Are the payment method details sent to pdfconfig?

Link to comment
Share on other sites

  • 8 months later...
  • 1 year later...

Hi @Gear :)

 

Mind to advise the coding for PDF invoice to show transactions list and balance?

I have been searching high & low but to no avail. Thanks in advance.

 

ickevin[at]gmail.com

 

@iambleaching I haven't had any luck but I didn't put much effort.

@sparky Thanks :)

Link to comment
Share on other sites

I just checked the change log for version 4.5.1 and it states the following:

 

Added transactions & balance variables availability to PDF templates – an updated PDF

invoice template to use & display them is available via the forums

 

I searched the forums but can't find anything recent. Anyone know where we can find the updated PDF invoice template? Greatly appreciated :D

Link to comment
Share on other sites

The invoicepdf.tpl in the templates/portal folder has not been updated but the invoicepdf.tpl in templates/default has been upgraded for version 4.5.1 with transactions added and works fine.

 

Perfect, exactly what we were looking for. Thanks equipc!

 

On a related note, we currently use the {$invoice_total_balance_due} variable in our email templates to show our clients a total balance due when they have other outstanding unpaid invoices. Is there a similar variable available in the PDF invoice?

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