As a shop owner
I want to see the details of the discount I have created
so that I can have information about the current active discounts
What it is now
When the user is creating a product discount the summary doesn't match the options
When the user clicks in any created discount in the discount screen it doesn't show the correct details.
What it should be
The summary for the product discount should show the details of the current discount
The details of any discount should be the ones that are saved in TIKI app.
Technical details
use the discount/:id get endpoint to get the discount details
Acceptance criteria
Discount details and summary are showing correct values.
As a shop owner I want to see the details of the discount I have created so that I can have information about the current active discounts
What it is now
When the user is creating a product discount the summary doesn't match the options When the user clicks in any created discount in the discount screen it doesn't show the correct details.
What it should be
The summary for the product discount should show the details of the current discount The details of any discount should be the ones that are saved in TIKI app.
Technical details
use the discount/:id get endpoint to get the discount details
Acceptance criteria
Discount details and summary are showing correct values.