Hi Micheal,
one more "issue" in the invoice ...
I have an product f.e. 8 USD and for this product, I created a coupon code f.e. 8 USD.
1. After a user bought this product with the coupon code, his "amount to pay" is now 0 USD. If I look into the invoice, the fields "sum", "subtotal" and "amount to pay" is correctly 0 USD. But in the field "discount", where should be the amount of the coupon code is still 0 USD and not what should be 8 USD.
2. What happens, if I make a discount to a group, which also has a coupon code for extra saving money? Than the "discount" field in the invoice should be = the amount of group discount + the amount in the coupon code. Please include/consider this in your code too.
3. If a user buy different products and use different coupon code for each product. Then the "discount" field now is the sum of all discount code he has used.
greetings
Hoan
**Edit .. as I can see ... the "discount"-field is not for coupon code. It is just for the discount on the product. Can you create a field in the invoice like "coupon discount", where the amount of the coupon code is showing? And in case of a user buy different products and use different coupon code for each product, there should be the sum of the amount of the coupon code.

I know, my english is very german .. LOL ..