I need to add the following info to the invoice PDF and email that is generated by amember: 1) Link to Ts & Cs 2) Link to Supplier Information (see attached PDF) 3) Link to Site Info 4) Institution Name & Address 5) Purchase Order Number I can add the links, but the new lines don't seem to get created correctly when I use $page->drawTextWithFixedWidth How do I include 'Additional User Fields' such as 4&5 in the email and PDF? many thanks
Well this is hard to answer without seeing actual code and results. You can get additional fields from user's record: $invoice->getUser()->FIELDNAME; or $invoice->getUser()->data()->get('FIELDNAME') - depends on field type(SQL vs Common)