<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1479860486727_5345">Hi Guys,</div><div id="yui_3_16_0_1_1479860486727_5467"><br></div><div id="yui_3_16_0_1_1479860486727_5466">First post to the mailing list; love the software - thanks for your continued hard work.</div><div id="yui_3_16_0_1_1479860486727_5465"><br></div><div id="yui_3_16_0_1_1479860486727_5464" dir="ltr">On to my question; Is it possible to include custom fields on a latex invoice?</div><div dir="ltr" id="yui_3_16_0_1_1479860486727_5510"><br></div><div dir="ltr" id="yui_3_16_0_1_1479860486727_5874">For example; we've customised the 'invoice_latexcoupon' area and would like to include a custom field, which is a payment option reference for a specific payment method. The custom field is created, populated for the customers and is can be seen correctly in each customers profile in the web interface.</div><div dir="ltr" id="yui_3_16_0_1_1479860486727_5903"><br></div><div dir="ltr" id="yui_3_16_0_1_1479860486727_5828">Looking through the code, it would appear that the Template_Mixin.pm file would be the starting point and so far I've tried to create a variable that contains a db query selecting the custom field in question, then in the same file when it's bringing all the invoice data together, include the variable with the vain hope that it would present itself as a usable variable for the latex invoice.</div><div dir="ltr" id="yui_3_16_0_1_1479860486727_5999"><br></div><div dir="ltr" id="yui_3_16_0_1_1479860486727_5998">I'm not surprised it didn't work given my limited (i.e non-existent) perl knowledge (I loving having a go at least!) <br></div><div dir="ltr" id="yui_3_16_0_1_1479860486727_5997"><br></div><div dir="ltr" id="yui_3_16_0_1_1479860486727_5974">Has anyone attempted and been successful in including custom fields on latex invoices? Any pointers you could throw at me or code that I could potentially use/modify as a starting point? <br></div><div dir="ltr" id="yui_3_16_0_1_1479860486727_5989"><br></div><div dir="ltr" id="yui_3_16_0_1_1479860486727_6046">tia,</div><div dir="ltr" id="yui_3_16_0_1_1479860486727_6054"><br></div><div dir="ltr" id="yui_3_16_0_1_1479860486727_6055">Andrew<br></div><div dir="ltr" id="yui_3_16_0_1_1479860486727_5501"><br></div><div dir="ltr" id="yui_3_16_0_1_1479860486727_5485"><br></div><div dir="ltr" id="yui_3_16_0_1_1479860486727_5484"><br></div></div></body></html>