Support

Home Forums Event Espresso Premium Invoice date disappears when downloaded

Invoice date disappears when downloaded

Posted: January 14, 2016 at 4:48 am

Viewing 4 reply threads


Visual Facilitators

January 14, 2016 at 4:48 am

Hello, we just found out that the whole block with the registration_date and TXN-ID and Registration_Code disappears when the Invoice is downloaded via the download button.
How to prevent that?

Screenshot


Visual Facilitators

January 14, 2016 at 5:05 am

In the Receipt it works fine, only with the Invoices there is a problem with the PDF


Tony

  • Support Staff

January 14, 2016 at 5:14 am

Have you modified the Invoice template at all?

DOMPDF (which Event Espresso uses to generate the PDF’s is much less forgiving for invalid HTML that is passed to it and will simply ignore it (or throw a fatal error)

The invoice looks like it has been modified, so you’ll need to go through your invoice template and check all of the HTML there is valid. Browser will often try and display invalid markup correctly which is why you see it in the browser, also DOMPDF may consider something invalid which your browser considers acceptable.

Basically it looks like DOMPDF has a problem with the HTML you invoice is passing to it.


Visual Facilitators

January 14, 2016 at 5:28 am

Thank you!
I checked the two HTML codes and in the invoice there was a height and width set for the table. Kicked that out and that helped.
Works fine now!


Tony

  • Support Staff

January 14, 2016 at 7:37 am

Great, I’m glad you found it 🙂

Viewing 4 reply threads

The support post ‘Invoice date disappears when downloaded’ 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