I have written a function that does a few calculations based on numbers entered into several fields. I have most of it working, but a few things just don't ever fire and perhaps someone can see what's errored in my code.
Background: User inputs the vendor list price, quantity, a discount (if...