Skip to content

CRM-21636: Incorrect price amount when discount is applied (4.7.29 regression)

bgm requested to merge github/fork/monishdeb/CRM-21636 into master

Created by: monishdeb

Overview

Steps to replicate:

  1. Use . (dot) and , (comma) as thousand and decimal separator respectively.
  2. Configure a discount code, to be used against even or membership. (I choose 63% discount for an Event)
  3. Go to event page/membership signup page and apply the discount code. Lets say 63% discount amount - $100

Before

screen shot 2018-01-09 at 2 58 09 pm

After

screen shot 2018-01-09 at 2 56 45 pm

Merge request reports