Allow <script> tags in document templates e.g. packing slip
Allowing scripts in packing slips would enable vastly more powerful customization.
You could reference external data from a server e.g. serial numbers.
You could implement complex customs declarations and make the packing slip match. For example, if you have an item you don’t want to make a declaration for, such as an add-on or surcharge, it currently still shows up in packing slips, which customs officers may delay approval over.
You could do arithmetic and so much more for custom tabulation.
Robert Bird PedalPCB.com commented
This would be excellent.
I would like to add shaded table headings on the bottom of my packing slip to display "Notes from Buyer" and "Notes to Buyer", but these shouldn't be displayed when the notes fields are empty.
I've tested the code in the Template Editor and it works perfectly, but the editor won't allow me to save because it contains the <script> tag.