Support

Home Forums Event Espresso Premium Split: Printing Invoice

Split: Printing Invoice

Posted: September 9, 2014 at 11:09 am


Stephen Pearson

September 9, 2014 at 11:09 am

THat is working thanks – Next question is when the PDF prints out it grabs the data from the invoice details block. When that is put on the PDF it looses all formatting and ends up as one long blob. Putting in HTML is stripped when saving. The CR are also stripped from the view. How can I get line breaks into this block so the format is not so messy. We have about 4 paragraphs of required disclosures etc that have to be on the invoice.


Josh

  • Support Staff

September 10, 2014 at 8:43 am

Hi Stephen,

This will change in a future version of Event Espresso 4 where we’ll be moving the invoice template editing into having its own UI similar to the messages templates.

For now, you can copy over the invoice_body.template.php file over to a nested folder in wp-content/uploads/espresso (I’ll outline the full file path below).

There in your copied over template you can add your html formatted text and remove the [instructions] shortcode.

The full filepath where Event Espresso 4 looks for a custom invoice template is as follows:

wp-content/uploads/espresso/templates/modules/gateways/Invoice/lib/templates

Again, please note that we’re working on changing this for 4.5 to allow for editing invoice templates directly in the WP admin.


Lorenzo Orlando Caum

  • Support Staff

December 8, 2015 at 6:31 pm

Hi Stephen,

When we shared feedback on your question last year, copying over the templates for editing was the recommended way to edit the templates for the Invoice or Receipt.

That has changed as Event Espresso 4 now has an editor to edit those templates through the WP dashboard.

It can be found in Event Espresso –> Messages. You’ll now be viewing the Messages Overview screen. Now look for Invoice or Receipt and click on Purchaser. Here is an example of how they appear on the Messages Overview Screen:

http://cl.ly/image/2O341M2z0H1q

If you do not see them, then you may be using an old version of Event Espresso 4 or they may be on page 2 so you can paginate (browse) to page 2 and they should be there.

Here is a change log for Event Espresso 4:

https://eventespresso.com/wiki/ee4-changelog/

If you have any new questions about the using the messages system, then please create a new support post in our support forums:

https://eventespresso.com/support/forums/


Lorenzo

The support post ‘Split: Printing Invoice’ 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