saleor / saleor-dashboard

A GraphQL-powered, single-page dashboard application for Saleor.
BSD 3-Clause "New" or "Revised" License
844 stars 1.1k forks source link

Preselected reasons for Grant Refund view #3226

Open witoszekdev opened 1 year ago

witoszekdev commented 1 year ago
### Tasks
- [x] Add `reason` on the refund line
- [ ] Add dropdown with predefined reasons on the frontend
As a member of the reporting team
I need to be able to see the reason an order or item was refunded or reissued
so that we can keep track of problems for quality control

We want two new kinds of attributes - refund reason and reissue reason.

Admins should be able to set a list of values for each attribute, such as "lost in post, damaged, unwanted"

When performing a reissue, users should see a dropdown list of these values next to each item to select one when reissuing an item, likewise with refunds. This is important because sometimes items within the same order will be refunded or reissued for different reasons.

There should be an option to apply the same reason to all items, in case the whole order is being refunded/reissued for the same reason. If the order is large, this will save the user from having to make multiple clicks.

Refund/reissue reasons should be recorded against the order and in the JSON sent to the reporting platform.

Once recorded against an order, these reasons should not change, even if the attribute is edited or the value deleted.

REFUND REASONS

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 12 months ago

This issue is stale because it has been open 14 days with no activity.

github-actions[bot] commented 11 months ago

This issue was closed because it has been stalled for 2 days with no activity. You are still welcome to reopen it and continue from where you finished. Best regards Saleor team