-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Send order lines in orderGrantRefundCreate mutation #4373
Conversation
🦋 Changeset detectedLatest commit: a7de592 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
43ca73d
to
61fa693
Compare
@witoszekdev Currently, the UI does not allow the user to add a reason to each line. However, we can address this issue separately since it requires UI redesign. |
src/orders/components/OrderGrantRefundPage/components/ShippingInluded.tsx
Outdated
Show resolved
Hide resolved
af65064
Grant refund button should be disabled when refund amount point 0 |
Switching back the refund toggle should be enough to save the edited refund Nagranie.z.ekranu.2023-10-31.o.14.48.50.mov |
closes #4277
General AC:
-A user can only select the quantity that is able to refund, when the user had ordered an item with quantity 3, refund 2 of 3, now can only refund 1
Screenshots
Before
After
Pull Request Checklist
data-test-id
are added for new elementsTest environment config
API_URI=https://master.staging.saleor.cloud/graphql/
APPS_MARKETPLACE_API_URI=https://apps.staging.saleor.io/api/v2/saleor-apps
Do you want to run more stable tests?
To run all tests, just select the stable checkbox. To speed up tests, increase the number of containers. Tests will be re-run only when the "run e2e" label is added.
CONTAINERS=6