PDF Templates

Is it possible to add some php functionality to a pdf?

For example: I want to add

“<?php $f = new NumberFormatter("en", NumberFormatter::SPELLOUT); echo $f->format($aos_quotes_total_amount); ?>”

to a PDF when it is created. I know I cannot add it directly to the html source code editor. Is it possible to add it to a file? or somewhere else after the PDF template is created? Please advise on the best way to accomplish this, because I have a few pieces of PHP that I want to add to PDF’s to make them dynamic. Thank you.

Hi there,

Apologies for the historic reply! There are samples in the “samples” sub-directory in AOS_PDF_Templates in SuiteCRM. You could create a custom template/edit an existing template to suit your requirement.

Thanks,

Will.