Event called just before the invoice footer text is printed to a printed invoice.
footerText string
itemIDs array
newFooterText string
function onPrintInvoiceFooter(footerText, itemIDs)
for i, v in pairs(itemIDs) do
print(v)
end
return "TEST FOOTER TEXT";
end
Use this event to add dynamic invoice footers.
footerText is the text specified in the Organisation Options or blank (if not specified in Server Options).
Change the value of footerText and return it to change the invoice footer.
This event is always called even if no footer is specified in the Server Options so footers can be added by using script.
Generated on the 26 June 2024 at 22:01:30 (UK Time)