Hi All,
I'm in the process of creating an invoicing/billing/pos-esque package with Rails. It was suggested I do something I'm excited about and potentially even need in order to motivate me; so, that's what I'm doing.
Aaaaaanywho, I've got a bit of an implementation question. I want this application to be as "real-world" as possible. That being the case, I'm having an issue with how to implement discounts. Personally I usually only discount on the basis of the entire order whenever billing. However, I'm sure certain ones discount on a per-line-item basis.
So, I guess, I'm basically asking for implementation suggestions when it comes to discounts. For instance should I implement a discount:
1) per invoice?
2) per line item?
3) on both?
4) by some mechanism not mentioned here?
. . .please provide a few details to back up your suggestion(s) if at all possible.
Thanks, Michael