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
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
So, I guess, I’m basically asking for implementation suggestions when
it comes to discounts. For instance should I implement a discount:
per line item?
by some mechanism not mentioned here?
. . .please provide a few details to back up your suggestion(s) if at