fix service discount calculation
Merge remote-tracking branch 'origin/master'