This is more of a bug report for you Seyi,
The History of uses report is not working correctly. I have used 3 coupon 4 times
Coupon Code ID Username Last Name 2 First Name Discount Order Number Order Total Order Date
1 JBC003-C02 62 johnb Basevi John 10.00 00000023 90.00 2010-07-20
2 JBC004-C01 69 jaybee bas John 25.00 00000025 175.00 2010-07-20
3 JB004-C02 69 jaybee bas John 0.38 00000026 2.12 2010-07-20
Coupon JBC003-C02 has been used twice as below
Num Coupon Code ID Username Last Name First Name Discount Order Number
Display #
1 JB004-C02 69 jaybee bas John 0.38 000000268
2 JBC003-C02 62 johnb Basevi John 10.00 000000238
3 JBC003-C02 69 jaybee bas John 0.65 000000248
4 JBC004-C01 69 jaybee bas John 25.00 000000258
Believe the WHERE clause is missing in the query in reports.php. Also in the second list above seem to have the number 8 appended to each order number
The History of uses report is not working correctly. I have used 3 coupon 4 times
Coupon Code ID Username Last Name 2 First Name Discount Order Number Order Total Order Date
1 JBC003-C02 62 johnb Basevi John 10.00 00000023 90.00 2010-07-20
2 JBC004-C01 69 jaybee bas John 25.00 00000025 175.00 2010-07-20
3 JB004-C02 69 jaybee bas John 0.38 00000026 2.12 2010-07-20
Coupon JBC003-C02 has been used twice as below
Num Coupon Code ID Username Last Name First Name Discount Order Number
Display #
1 JB004-C02 69 jaybee bas John 0.38 000000268
2 JBC003-C02 62 johnb Basevi John 10.00 000000238
3 JBC003-C02 69 jaybee bas John 0.65 000000248
4 JBC004-C01 69 jaybee bas John 25.00 000000258
Believe the WHERE clause is missing in the query in reports.php. Also in the second list above seem to have the number 8 appended to each order number