Support

Home Forums Event Espresso Premium Editing the invoice

Editing the invoice

Posted: September 2, 2014 at 7:59 am


ali west

September 2, 2014 at 7:59 am

Hi
I’m trying to edit parts of the invoice as they’re not quite what I’m after. I’ve removed the online payment link but I want to change the text:

“Please send this invoice with payment attached to the
address above, or use the payment link below. Payment
must be received within 48 hours of event date.”

I’ve edited it in the invoice/settings.php in this section: $invoice_payment_settings[‘pdf_instructions’] (line 29)
but it’s still showing up. I’ve refreshed the server but that doesn’t help.

I also need to remove the <br /> tags that are showing up in the address for some reason.

I’d also like to remove the date that’s shown as [10-18-2014] as it’s not required and confuses people.

Any help with those three issues most welcome! The PDF can be found here:
http://www.beachvolleyballinc.com/Invoice.pdf

Thanks …


Tony

  • Support Staff

September 2, 2014 at 9:40 am

Hi Ali,

If you go to Event Espresso -> Payment Settings, find the invoice gateway (if its not active, activate it)

You can remove the br tags from the address field and the invoice instructions from there. Save the settings. You can then de-activate the invoice gateway if you do not want users to select invoice as a payment type.

I’d also like to remove the date that’s shown as [10-18-2014] as it’s not required and confuses people.

This would require modification to the invoice template file. Go to event-espresso/gateways/ copy the Invoice directory to wp-content/uploads/espresso/gateways/ and then modify the template.php file there, Line 164 builds the string:

pdftext($tmp_attendee["event_name"] . "[" . date('m-d-Y', strtotime($tmp_attendee['start_date'])) . "]") . ' >> '

You’ll need something like:

pdftext($tmp_attendee["event_name"]) . ' >> '

For just the event name.


ali west

September 3, 2014 at 4:14 am

hi tony
brilliant, thanks for your helps. worked a treat 🙂


Tony

  • Support Staff

September 3, 2014 at 4:45 am

No Problem,

I’ll close this thread, if need anything else or have any other questions just start up another 🙂

The support post ‘Editing the 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