Added fee_total to the computation of discount percentage