fmido88 / moodle-enrol_wallet

Enrollment using wallet credit with coupons and using payments gateways with restrictions.
Other
4 stars 1 forks source link

Idea: Allow precise discount values in Offers #21

Closed Buda9 closed 8 months ago

Buda9 commented 8 months ago

In Offers, in percentage amount of discount feature, when I try to enter a discount with decimals or dots, like 32,50% or 32.50%, it rounds it to the nearest whole number, turning it into either 32% or 33%. This prevents me from entering precise discount values. What do you think about not rounding it up?

Screenshot_227

Edit: Here is real life scenario with my discounts that I plan to use:

Screenshot_228

fmido88 commented 8 months ago

Hi @Buda9 This has been fixed

Buda9 commented 8 months ago

works great, thank you