This tutorial will show how to display an additional text on an already printed invoice.
Before doing this tutorial, please ensure that you have selected a layout .
Layout Designer's toolbar contains several buttons to format your text.
After you finish editing the text, please click elsewhere in the layout to end editing.
is the object we have right-clicked on. entry
is the document which should be displayed by this layout.
The following script will hide the graphic if the document has been printed before:
graphic.hidden = !entry.isPrinted
Instead of isPrinted you can also use isEmailed and isSent.