teamforus / forus

Online platform voor maatschappelijke projecten.
https://forus.io
GNU Affero General Public License v3.0
9 stars 3 forks source link

Deactivating / activating vouchers from Sponsor Dashboard #2289

Closed danrminds closed 2 years ago

danrminds commented 3 years ago

Main asssignee: @Karpenko-Dimitry

Context/goal:

Figma: https://www.figma.com/file/gqlB1qA3B2EyWf9AXFAOHL/Deactivate-voucher?node-id=15%3A22&viewport=-5003%2C371%2C0.8350463509559631 CR: https://github.com/teamforus/general/issues/806

We need to allow the sponsor to deactivate a voucher if necessary and re-activate it back. Possible usecases for this are: the citizen died, fraud inspection, citizen not eligible anymore etc.

On the voucher page - show a button Deactivate if the voucher is not yet deactivated Screenshot 2021-05-03 at 17 05 04

If it is deactivated, replace this button with a button Activate Screenshot 2021-05-03 at 17 05 54

When deactivating a voucher - you need to fill in a reason (mandatory) Screenshot 2021-05-03 at 17 06 15

Show a confirmation modal after, with a checkbox. This checkbox gives you the possibility to send also an email notification to the user. Screenshot 2021-05-03 at 17 08 15

maxvisser commented 3 years ago

Figma proposal needs to be enhanced; currently there a few things missing:

github-actions[bot] commented 2 years ago

Stale issue message