Skip to content

[NGO Admin and Specialist/ Acasă] finish Home page #154

@teodoranegru

Description

@teodoranegru

The information displayed on the Home screen will include ONLY the data to which the user has access, depending on their permissions.

Heading
Display a heading including the following text: "Bine ai venit + the value from Prenume field from the user's profile"

Stats
Implement 3 stat cards displaying the following information:

  1. Cazuri deschise (count total number of cases with status=Deschis)
  2. Cazuri in monitorizare (count total number of cases with status=În monitorizare)
  3. Total cazuri (count total numer of cases - if multiple instances of a case, count all of them)

Sumar interventii table
Display the following information in the table, from left to right, in this order:

  1. Intervenție - name of the intervention; value from INT_TYPE field
  2. Serviciu - name of the service to which the intervention belongs; value from SERV_TYPE field
  3. Perioadă acordare - valuea from INT_DATE_PER field
  4. Beneficiar - name of the beneficiary to which the intervention belongs
  5. Specialist - value from INT_SPEC field
  6. Acțiuni - "Vezi intervenție" button

Business rules

  1. Display intervention in table IF the current date is within the predefined range in the field INT_DATE_PER
  2. Click on line OR on the "Vezi intervenție" button should take the user to the intervention page
  3. Click on the name of the beneficiary will take the user to the Case Overview page of that beneficiary (latest instance)

See more interaction notes here: https://www.figma.com/design/gpOGCkb9B6pTfe1DvleVMm/Sunrise?node-id=4653-23086&t=nuYmIu1QbENjJ4YE-4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions