Posted: April 16, 2015 at 8:33 am
Hi there, 1) I’d like to remove the start date ( ‘start_date’ ) and the ‘ >> ‘ from the Event & Attendee box on the invoice, which I’ve narrowed down to this section: pdftext($tmp_attendee[“event_name”] . “[” . date(‘m-d-Y’, strtotime($tmp_attendee[‘start_date’])) . “]”) . ‘ >> ‘ i.e. so in the pdf invoice box labelled “Event & Attendee” I just want the event name & attendee name to show up (without the date) Any suggestions on how to remove the start date welcome. 2) I need to have the “date paid” show up somewhere on the invoice These 2 changes will save me switching over to Cvent, who have quoted me $5000 to start up a new booking system with them, who’s only additional feature that I could need is automatic payment of refunds, which I can actually live without. But i can’t live without an invoice that shows date paid. Using EE 3.1.37.1.P |
|
Hi Andy, We can get to work on this today. If it ends up taking more than 30 minutes we will let you know. |
|
Hi Andy, Your requested changes were added to wp-content/plugins/event-espresso/gateways/invoice/template.php. There’s no need to make any modifications to the core plugin, they’ll only get overwritten on a software update anyway. |
|
Thanks Josh I was using this code: $price_before_gst = $total_cost * .909090909; From: This gave a line on the invoice under “Total Due” that says: *The total includes $215 GST (or whatever the correct amount is for that total) Thanks Andy I’d previously used instructions here: |
|
Oops, please ignore: “I’d previously used instructions here:”! |
|
Hi Andy, My apologies, I missed copying the GST code over to the new template. It’s there now. There’s one other little detail that I added to the date paid code: It’s wrapped in a conditional that checks if there’s a date paid value. This way, if they hadn’t actually paid yet and get a copy of this tax invoice, no date paid text will display. It only displays if there’s a date paid set for that transaction. |
|
The support post ‘Edit invoice template – add date paid’ 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.