cssat / sprout-issues

An issue-only repository for the Sprout data collection platform
https://sproutservices.org
2 stars 1 forks source link

Visit Supervisor's Name Showing Up Where It Shouldn't #201

Closed sarahyatsko closed 1 year ago

sarahyatsko commented 1 year ago

Describe the bug Very rarely on an approved visit report the name of the Visit Supervisor (which is almost always also the name of the Sprout user who entered the visit report in Sprout) gets populated on the visit report in the field for the Family and sometimes in the field for the social worker.

To Reproduce Unsure how to reproduce this error. Here is an example. Screen shot attached from this visit report as well.

https://www.sproutservices.org/visitation/reports/892143

Expected behavior You would expect the social worker's name from the referral to appear on all visit reports in the social worker field and the family name on the referral to appear on the visit reports as the family name.

Screenshots Attached

Desktop (please complete the following information): Seems to happen on all browsers.

Urgency or Concerns This issue impacts billing, but a fix has already been deployed so that the names of the family, social worker are pulled from the referral and not from the visit report.

The far more concerning issue is that the visit report lists the wrong name for family and for social worker - and these visit reports are being downloaded and used in court and added to a parent's case file. So a fix should probably be prioritized.

Screenshot 2023-04-13 at 2 52 25 PM