sebsoftnl / moodle-enrol_gwpayments

Other
2 stars 3 forks source link

View which users have used a coupon #12

Open iforwms opened 2 years ago

iforwms commented 2 years ago

Hi,

I'm building a report plugin to show all payments from all payment gateways for each course. I would also like to show which coupon (if any) were used when the user enrolled. Is this data stored anywhere? I had a look through the database tables but could only find a record of how many times each coupon was used, not a record of each individual use.

Thanks