...
- Add the digital signature to the document definition by adding following line:
- For invoices:
{#showFiscalSignatureRestitution($document $document.invoice.orders.get(0))}
Add a place holder (that will contain the QR code), as shown below:
- For order summary
and order receipt:
{#showFiscalSignatureRestitution($document $document.order)}
Add a place holder (that will contain the QR code), as shown below:
- For order receipts
#if($orderReceipt.fiscalSignatureRestitution.length() > 0)#space(5)#display($orderReceipt.fiscalSignatureRestitutionStr, $orderReceipt.fiscalSignatureRestitutionStr.length() ,'LEFT') <QR>$orderReceipt.fiscalSignatureRestitution|9|CENTER<QR>#end
...