Changed discounts to apply to carpet total instead of work order total, fixed some rounding errors along the way.