Revert "Added fee_total to the calculation of discount percentage"

This reverts commit b8e02f4da04dfa8dfef95976456ea88e00a13e23.