...
else if(item == "SanitaryPad")
taxRate = 0.12;
...
- Poor unsung tax software dev
Yeah I know, they will be using item category codes, which will most probably be numeric, but my point still stands: why is the GST code
dealing at this level of detail? As new items enter the market, spare a thought for the above developer who needs to maintain this code (his employer will be laughing all the way to the bank, though -- "New version! Incorporates latest tax changes! Upgrade for a one-time discount of...").