Skip to content

Instantly share code, notes, and snippets.

@florianfiegel
Created September 26, 2011 23:26
Show Gist options
  • Save florianfiegel/1243753 to your computer and use it in GitHub Desktop.
Save florianfiegel/1243753 to your computer and use it in GitHub Desktop.
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