Posted: December 10, 2013 at 1:01 am
|
Hello, The PDF invoice can be accessed here. 1) Special Characters 2) Formatting 3) Logo This has lead to the following error message: The URL of the business logo is: 4) Additional details to be added How can specific customized RegForm field data be added to the invoice PDF generation? 5) VAT 6) Sequential invoice number |
Hi Thomas, There have been many improvements to Event Espresso since 3.1.30.7, some of which could possibly solve issues 1, 2 & 3. Personally I would advise updating to the latest versions of both Event Espresso and WordPress. Make sure you have a full backup (both files and database) before updating, we have a guide posted here https://eventespresso.com/wiki/how-to-back-up-your-site/ Otherwise 1) This I’m unsure of, I will look into it and get back to you. 2) If you go to Event Espresso -> Payment Settings. Invoice Settings and look in the address field, can you see the br tags there? If so remove them and save the settings. 3) That value of $invoice_payment_settings[‘image_url’] is set in Event Espresso -> Payment Settings -> Invoice Payment Settings. Logo URL. Has that been set? 4) It looks like none of the custom questions are pulled from the the database currently, you would therefore need to write a custom query to retrieve the data within the invoice. 5) There is a template available for use when calculating VAT, available here: https://eventespresso.com/wiki/using-a-custom-invoice-template-to-support-vat/ 6) Sequential invoice numbers is not something EE features within core. There is the attendee ID which is sequential (First attendees gets an ID of 1, then 2 etc) but I’m unsure if this will suite your use? |
|
|
Hello Tony, |
|
Hi Tony, I have few of the same problems as Thomas. #2 I have those HTML-tags too An other question, where can I change the order of the invoice adress from the sender? |
|
It looks like the code that displays and saves the ‘Address to Send Payment’ field in the invoice settings has been changed to fix the problem with the tags in the invoice. If you go to your invoice settings, adjust the address and resave it, it should resolve that problem. |
|
I tried, but I still see the HTML tags. Where can I change the code of the “Address to Send Payment”? Which file? |
@Thomas Beham Can you go go to Event Espresso -> Payment Settings. That should fix issue 2. Whilst in the same area, have you setup the Logo URL there also? @Arjan Mulder Could you try the same steps above. If you still have issue’s please open your own thread with a description of what you’ve tried so far. Modifying files for this issue should not be needed. It is usually best to open up your own thread for any issues you may have as otherwise it gets confusing for anyone reading to follow π |
|
|
Thnx Tony, everything works and I can’t change issue 2. Okay, I’m sorry. I will. |
No apologies needed π Just helps us to help you and keep things nice an easy to follow. |
|
|
None of the issues are solved so far, though I have re-saved the settings. Just to be precise: I am not talking about general invoice settings, but it refers to the Electronic Funds Transfer via the bank account details. The logo shows up correctly in the General Settings, but it does not show up neither in the Electronic Funds settings nor in the final PDF invoice. Here are the General Settings where the address is defined: Here are the payment settings of the Electronic Payment: |
|
Somehow the img tags did not work out, so here are the URLs: http://nathal-sarti.solusio.com/wp-content/uploads/2013/12/generalSttgs.png http://nathal-sarti.solusio.com/wp-content/uploads/2013/12/pmntsttngs.png |
Hi Thomas, It turns out that the EFT payment option does not have an invoice feature. In order to use the invoice feature you will need to activate the invoice payment option. |
|
|
Hello Josh, Thanks for pointing that out, now the invoice looks better. 1) Special Characters 2) Formatting 3) Logo Regarding the issues 4)-6) I understood that this is something I need to look after by myself, correct? Is the invoice payment option intended to be the only payment option which supports the PDF invoice generation, or will it be ported to other payment options in the future? Cheers, Thomas |
Hi Thomas, 1) The address details for the invoice are created in event-espresso/gateways/invoice/template.php line 41 – 42 They are currently UTF-8 encoded. I have created a ticket for a developer to look into the issue. 3) I would advise against modifying these values but event-espresso/gateways/invoice/function.fpdf.php line 15. If you are editing the values I would recommend you copy the invoice folder and place it within wp-content/uploads/espresso/gateways/ in order to stop any EE updates overwriting the files. 4-6) Currently yes. Currently the invoice gateway is the only one yes however you can include [invoice_link] within your confirmation emails which will allow any users to view the invoice regardless of payment method. |
|
The support post ‘Several Issues With The Invoice PDF Generation’ 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.