I’m trying to implement multiple positions (Lines) for a generated PDF in a custom module. (Just like invoices)
With help from old forum posts, i was able to implement the pdf generation feature for a custom module, but now it seems I’m a bit stuck.
Is there a guide anywhere on how to do this?
I’d rather avoid using line_items.js but would like to achieve this, by creating a new module e.g. “Positions” and put a link on it. (one to many)
In my PDF I would need to get all the data from the link.
Thank you, unfortunately this PDF only describes the steps to implement standard PDF printing in a custom module. Not how to print multiple positions in a PDF =/
You might want to try looking at the documentation (if there is any) about the PDF package that SuiteCRM uses. I think it’s called mPDF, search around the code to confirm.