From 515c4fa98d1d1ebadc9bbf20981871bbbec73b29 Mon Sep 17 00:00:00 2001 From: yaso Date: Wed, 13 Nov 2024 13:50:58 +0200 Subject: [PATCH] fix text of access --- .../access_review/builder/build_business_access_list.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Frontend/patient_manager/lib/mih_packages/access_review/builder/build_business_access_list.dart b/Frontend/patient_manager/lib/mih_packages/access_review/builder/build_business_access_list.dart index 587ec003..441d6deb 100644 --- a/Frontend/patient_manager/lib/mih_packages/access_review/builder/build_business_access_list.dart +++ b/Frontend/patient_manager/lib/mih_packages/access_review/builder/build_business_access_list.dart @@ -107,11 +107,11 @@ class _BuildPatientsListState extends State { "Business Name: ${widget.patientAccessList[index].requested_by}"; String line2 = ""; line2 += - "Profile Access: ${widget.patientAccessList[index].type.toUpperCase()}\n"; + "Profile Type: ${widget.patientAccessList[index].type.toUpperCase()}\n"; line2 += "Request Date: ${widget.patientAccessList[index].requested_on.substring(0, 16).replaceAll("T", " ")}\n"; //subtitle += "Business Type: ${widget.patientAccessList[index].type}\n"; - String line3 = "Access Status: "; + String line3 = "Status: "; String access = widget.patientAccessList[index].status.toUpperCase(); TextSpan accessWithColour; @@ -196,8 +196,8 @@ class _BuildPatientsListState extends State { "Business Name: ${widget.patientAccessList[index].requested_by}\n"; subtitle += "Requested Date: ${widget.patientAccessList[index].requested_on.substring(0, 16).replaceAll("T", " ")}\n"; - subtitle += "Access Status: ${widget.patientAccessList[index].status}\n"; - subtitle += "Access Profile: ${widget.patientAccessList[index].type}"; + subtitle += "Status: ${widget.patientAccessList[index].status}\n"; + subtitle += "Profile Type: ${widget.patientAccessList[index].type}"; if (widget.patientAccessList[index].status == 'pending') { // "\nYou are about to approve an access request to your patient profile.\nPlease be aware that once approved, ${widget.patientAccessList[index].requested_by} will have access to your profile forever and will be able to contribute to it.\nIf you are unsure about an upcoming appointment with ${widget.patientAccessList[index].requested_by}, please contact *Add Number here* for clarification before approving this request.";