Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@florianfiegel
Created September 26, 2011 23:26
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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