Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Script for GrandTotal (http://www.grandtotal.biz/GrandTotal/) that hides the quantity of an item if the unit is "Pauschal" and quantity is 1.
if (grandtotalrecord.quantity() == 1 && grandtotalrecord.unit() == "Pauschal")
"";
else
grandtotalrecord.quantity();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment