PDF Editor

Hi,

I’m having formatting issues with addresses and custom PDF templates… basically I need to discard empty address fields as we don’t always have complete customer data, for example county may regularly be missing if the client lives in a major city and having a blank line on a printed address letter looks poor…

Should I create a PHP variable from various address fields on the fly as the PDF is made that can be inserted after a little bit of tidying in PHP… or should I create a more permanent customer field that will update on save like a calculated field… but with text… not sure how to do either right now but I’m happy working in PHP if somebody could provide a few pointers!

Cheers!