teamforus / forus

Platform voor de uitgifte van sociale regelingen
https://forus.io
GNU Affero General Public License v3.0
9 stars 3 forks source link

Sponsor dashboard: Add the option to the filter see if BSN and/or e-mail has multiple voucher (product voucher and voucher page) #2359

Closed GerbenBosschieter closed 3 years ago

GerbenBosschieter commented 3 years ago

Main asssignee: @

Context/goal:

In some cases the sponsor creates an extra voucher for a requester, whatever the reason/scenario may be (see image 1 below). The sponsor would like to have an option added to the filter to filter all requesters that have multiple (2 or more) vouchers. This option should filter all BSN and e-mailadressen that have multiple vouchers.

Task

Image 1

Screenshot 2021-09-10 at 10 34 57

Image 2

Screenshot 2021-09-10 at 10 26 28

Task

Add a dropdown filter to only show accounts with more then >1 voucher

Title: Aantal tegoeden (amount of vouchers)

Dropdown filter has two options:

We could add later values like exactly =1 voucher , exactly =2 vouchers or > 3

maxvisser commented 3 years ago

Linda's advice is to not do a bolean field but add a filter based on how many there are

We could start with TItle: Aantal tegoeden (amount of vouchers) Dropdown values: n.v.t. (default: show all vouchers) meer dan 1 ( More than >1 vouchers)

We could add later values like exactly =1 voucher , exactly =2 vouchers or > 3

maxvisser commented 3 years ago

Two dropdown

0..<2

idea is a bit the same as price ranges (set lowest price and highest price and show product within this price range)