Support

Home Forums Event Espresso Premium Invoice Information

Invoice Information

Posted: September 26, 2014 at 3:57 pm


Charlie Stoops

September 26, 2014 at 3:57 pm

Hello,

Can you please let me know how we can add a “Company Name” field to the invoice so that we know which company the registrant is coming from? I understand that it is in EE, but I need it to be on the invoice in order to give to our accounting department. Is this possible?

Thank you in advance for your help.


Tony

  • Support Staff

September 29, 2014 at 4:09 am

Hi Olivia,

Can you tell me if you are using EE3 or EE4 please?


Charlie Stoops

September 29, 2014 at 9:56 am

Hi Tony,

We are using EE3.

Thank you!


Tony

  • Support Staff

September 30, 2014 at 3:05 am

Hi Olivia,

There are a couple of ways to do this. If you are comfortable with PHP you theres a couple of modifications needed to do this.

You’ll need to edit the Invoice template to include the company name question you are using within you registrations. Personally I would do this using the EE_ANSWER shortcode like this:

$custom_question = do_shortcode('[EE_ANSWER q="XX" a="'.$attendee_id.'"]');

You’ll need to set XX to the question id of the company name question you are using. You can find this within Event Espresso -> Questions. Click the question you are working with

Then you use something like this:

$pdf->Cell(50, 5, $custom_question, 0, 1, ‘L’);

To output that question within the Invoice template.

If you are unsure I would recommend contacting a developer to do this for you, we have a list of recommended developers here:

https://eventespresso.com/developers/event-espresso-pros/

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