I have several employees each with an individual coupon code which they distribute. They are paid a commission on each order using their code. How would I go about sending a notification to the proper employee with the total number of times the code was used, if their code was used so that they can be up to date.

How then would I reset the number of code entries every two weeks?

My Best
Josh