Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
PDF Invoice Changes | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium PDF Invoice Changes

PDF Invoice Changes

Posted: August 13, 2013 at 8:19 am

Viewing 3 reply threads


Kimber Lintz

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”

Thanks!


Sidney Harrell

  • Support Staff

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');


Kimber Lintz

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

  • Support Staff

August 13, 2013 at 11:32 pm

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

$this->Ln(20);

try changing it to

$this->Ln(10);

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: http://www.fpdf.org/

Viewing 3 reply threads

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 - Staging Server