From 2f00c95a7cc43db3a9d6934196afb8a6b729d37f Mon Sep 17 00:00:00 2001 From: Yasien Mac Mini Date: Fri, 25 Apr 2025 11:20:17 +0200 Subject: [PATCH] trigger window on click --- .../pat_profile/package_tools/patient_consultation.dart | 5 ++++- .../pat_profile/package_tools/patient_documents.dart | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Frontend/lib/mih_packages/patient_profile/pat_profile/package_tools/patient_consultation.dart b/Frontend/lib/mih_packages/patient_profile/pat_profile/package_tools/patient_consultation.dart index a30c3d0b..01eb81fd 100644 --- a/Frontend/lib/mih_packages/patient_profile/pat_profile/package_tools/patient_consultation.dart +++ b/Frontend/lib/mih_packages/patient_profile/pat_profile/package_tools/patient_consultation.dart @@ -398,7 +398,10 @@ class _PatientConsultationState extends State { ), backgroundColor: MzanziInnovationHub.of(context)!.theme.successColor(), - onTap: () {}, + onTap: () { + // addConsultationNotePopUp(); + addNotePopUp(); + }, ) ], ), diff --git a/Frontend/lib/mih_packages/patient_profile/pat_profile/package_tools/patient_documents.dart b/Frontend/lib/mih_packages/patient_profile/pat_profile/package_tools/patient_documents.dart index fd31970a..54d78326 100644 --- a/Frontend/lib/mih_packages/patient_profile/pat_profile/package_tools/patient_documents.dart +++ b/Frontend/lib/mih_packages/patient_profile/pat_profile/package_tools/patient_documents.dart @@ -171,7 +171,7 @@ class _PatientDocumentsState extends State { "sig_path": widget.businessUser!.sig_path, }), ); - //print(response1.statusCode); + print(response1.statusCode); DateTime now = new DateTime.now(); DateTime date = new DateTime(now.year, now.month, now.day); String fileName =