Support

Home Forums Event Espresso Premium PDF Invoice Date

PDF Invoice Date

Posted: October 21, 2014 at 8:57 pm

Viewing 2 reply threads


Remi Nel

October 21, 2014 at 8:57 pm

We have a problem with the invoice payment PDF

Someone registers on 1st May
Email sent to attendee – click to download invoice OK – invoice downloaded will say 1st May
Email sent to admin office – click to download invoice OK – invoice downloaded will say 1st May

If the link is clicked later – 15th May – (accounts office likely to do this after the date) to check records etc. then the invoice will say 15th May.

I’m trying to have the invoice date stay the same as the registration date for accounting purposes. It seems to currently be grabbing the current date rather than the registration date.

I tried the suggestion on found here (https://eventespresso.com/topic/pdf-invoice-date-changes/#post-46011), but the date then comes up as Dec 31, 1969.

Thanks for your help!


Josh

  • Support Staff

October 22, 2014 at 7:48 am

Hi Remi,

It can make a difference where you place the date code on the invoice. It sounds like the code was added before the $date variable was defined. If that’s the case, can you try moving the code to a point after the $date variable is defined? It’s defined on line 50 in my copy of the invoice template.


Remi Nel

October 22, 2014 at 12:41 pm

That did the trick. Thanks for your help!

Viewing 2 reply threads

The support post ‘PDF Invoice Date’ 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