Event called just before the drop footer text is printed to a printed drop sheet.
footerText string
dropIDs array
newFooterText string
function onPrintDropSheetFooter(footerText, dropIDs)
local itemIDs = drops.getDropItemIDs(1234)
for i, v in pairs(itemIDs) do
print(v)
end
return "TEST FOOTER TEXT";
end
Use this event to add dynamic drop sheet footers (e.g. different footers for collections and deliveries).
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 drop 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)