Describe the bug
Read below.
To Reproduce
Steps to reproduce the behavior:
Is this the right behavior? In my opinion: no. On "Discounts" page we should have only have:
Highlight option set to "Yes".Any scenario to prove my point? Lets imagine that you as a merchant is going to some event, you print "Welcome Vouchers", 100 generated codes added to PrestaShop back-office, free shipping, code, 1 available to use per customer, only for Customer group of course. Now ever customer who is logged in to his account will see those 100 discount codes on "My Account -> Discount"...
Additionnal information
PrestaShop version: 1.7.5.0
PHP version: N/A
Hi @kpodemski,
In the FO => My account => discount, the customer will see all the cart rules so he can use it. (The code is displayed)
But if Total available = 0 < Total available for each user, in the Discount page, the customer has always the code is displayed with quantity > 0 but he can't use it.

Steps to reproduce:

@marionf What do you think?
Best regards, Khouloud
@khouloudbelguith
yeah, so that's the other way to describe this problem, some discounts, even tho they're valid for this customer, should not be listed as they're valid for all customers and there is a place for abuse
@khouloudbelguith
Yes, the customer should see only vouchers that can be used, if the voucher can't be used it shouldn't be displayed
@matks do you think this issue could be fixed with the migration of the cart rule page ?
@colinegin @marionf PR opened with a fix #16638 - try it please