Skip to content
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

[NGO Admin/ Nomenclator servicii] update Nomenclator servicii section according to design #160

Open
teodoranegru opened this issue Aug 30, 2024 · 0 comments · Fixed by #183

Comments

@teodoranegru
Copy link

teodoranegru commented Aug 30, 2024

User story

As an NGO Admin, I want to be able to choose what services and interventions my organization offers, from a predefined list.

Flows

Add service to nomenclator

  1. NGO Admin user navigates to "Nomenclator servicii specializate" page
  2. User clicks on "Adauga serviciu" button
  3. The system retrieves the "Adauga serviciu" page
  4. User selects a value from "Nume serviciu" field
  5. The system displays the list of interventions linked to that service (Intervenții asociate serviciului table)
  6. User checks the interventions they provide within that service (when they check an intervention, it automatically becomes Active)
  7. User clicks on "Salvează modificările" button
  8. The system retrieves the page of that service in view mode (see design here)

Edit, Delete and Download flows are the same as the ones described in issue #156

Business rules

  1. If there are no services added in the nomenclator, display the empty state (see design here)
  2. When a new service is created, the default status of that service is Active
  3. The "Nume serviciu" field is dynamic, meaning that when the user selects a service, the system will display the information configured in the Super Admin for that service
  4. The user can't save the service if they didn't pick a service and at least 1 intervention (disable button)
  5. If the service has a Fisa de consiliere linked to it, display the component that allows the preview of that form (see design here)
  6. A service that was used can not be deleted, only deactivated. The field "Nume serviciu" will be disabled in edit mode.
  7. An intervention that was used can not be deselected, only deactivated.
  8. When the user switches the toggle from ACTIV to INACTIV display the following confirmation modal screens:
    a. For service (link to design)
    b. For intervention (link to design)
@teodoranegru teodoranegru changed the title WIP [NGO Admin/ Nomenclator servicii] update Nomenclator servicii section according to design [NGO Admin/ Nomenclator servicii] update Nomenclator servicii section according to design Sep 17, 2024
@alexPopaCode4 alexPopaCode4 linked a pull request Sep 26, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant