Home Forums Event Espresso Premium PDF Invoice Changes

PDF Invoice Changes

Posted: August 13, 2013 at 8:19 am


August 13, 2013 at 8:19 am

Hey guys couple of questions on the PDF invoice. I am trying to customize some of the wording, format, etc.

1. Under Total, Amount Paid and Total Due I want to get the amounts to all align up. Our accountants need these to line up and read like a normal invoice would.

2. How would I add a dollar sign before the Price in the table? Under Price right now it reads “515” I want it to read “$515.00”


Sidney Harrell

August 13, 2013 at 11:53 am

For #2, I changed line 62 of plugins/event-espresso/gateways/template/invoice/function.pdf.php to

$this->Cell($w[2],$yH,$currency_sign.number_format($row[2],2, '.', ''),'LBR',0,'C');


August 13, 2013 at 11:58 am

That worked perfectly! Thanks for that Sidney!

I am also trying to figure out on the invoice how I can move the return address up so its closer to the logo.

Sidney Harrell

August 13, 2013 at 11:32 pm

I think what you want is line 31 of that same file function.pdf.php:


try changing it to


or play with that number to get the spacing you want.
sorry, I know that the fpdf library is not the easiest to manipulate. I don’t know what most of those lines do to the final output. This may or may not help:

The support post ‘PDF Invoice Changes’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso