Dear Folks!
I apologize in advance. I really searched but didn’t find anything in the forum.
Here is my problem:
In my tapforms-CRM I have a button, that generates an email to the customer when clicked. Indeed, I managed, that this generates a complete addressed email with subject and text. I have also a button for phone calls. (I love tapforms for this!)
Now I would like to have a button, that prints the invoice (from the invoice-layout) or saves it as a PDF.
Of course, I know: I could just go to the invoice-layout and then choose menue>print. But I’d rather have it as a button in the CRM-layout.
Really great would it be, if there could be a script, that could be used to generate an email containing the invoice PDF as an attachment.
Thanks in advance for thinking along.
Regards,
EDDY
Hi Eddy,
Thanks for the feature request.
You can trigger the Print screen from a Script.
Utils.printRecordsShowPanel(true);
But you can also select a layout first:
document.selectFormLayout(form_id, layout_id);