There is a template file that a customer modified to include VAT, you can find a copy here, but it may need further tweaking. We are looking to have a more robust invoice in 4.0 and beyond.
First, you would need to grab the questions and answers for that attendee (insert into the template.php at line 60 of Dean’s template file):
$questions = $wpdb->get_results("select qst.question as question, ans.answer as answer from ".EVENTS_ANSWER_TABLE." ans inner join ".EVENTS_QUESTION_TABLE." qst on ans.question_id = qst.id where ans.attendee_id = ".$attendee_id, ARRAY_A);
Then search through the questions to find the one that matches (you may need to adjust the $needle to match your question):
Then you can use $company_name in the ‘Bill to: ‘ section:
$pdf->Cell(50, 5, $company_name, 0, 1, 'L');
Viewing 4 reply threads
The support post ‘VAT Column on PDF 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.
Support forum for Event Espresso 3 and Event Espresso 4.