Take into account when the registration was completed when calculating discount
fix error in calculating gross total due
Merge pull request #288 from CruGlobal/fix-early-reg-discount

Take into account when the registration was completed when calculating discount