Coupons // Representation
I do not understand the way in which the program represents the application of discount through coupons.
It is not well expressed. First, it performs the discount and then indicates the amount that is discounted, this can lead to an error on the part of the client since it can interpret that this amount is subtracted again.
The logical and correct way to express it would be to indicate the amounts that are discounted before the subtotal, or to express the subtotal and in parentheses the discount that has been applied. Or any other detailed form that clearly expresses the discount that applies and to which product it applies. Now it's all very confusing