From fe5d66f57def7f12acc18dc55d55949d752aa146 Mon Sep 17 00:00:00 2001 From: Sultan khan <> Date: Sun, 29 Sep 2024 11:46:11 +0300 Subject: [PATCH] ECG order number updated. --- lib/screens/patients/ECGPage.dart | 2 +- lib/utils/exception_report.dart | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/screens/patients/ECGPage.dart b/lib/screens/patients/ECGPage.dart index 46cb2cdc..69cd56c4 100644 --- a/lib/screens/patients/ECGPage.dart +++ b/lib/screens/patients/ECGPage.dart @@ -95,7 +95,7 @@ class ECGPage extends StatelessWidget { children: [ new TextSpan(text: TranslationBase.of(context).orderNo, style: TextStyle(fontSize: 12, fontFamily: 'Poppins')), new TextSpan( - text: '${/*model.patientMuseResultsModelList[index].orderNo?? */ '3455'}', + text: '${model.patientMuseResultsModelList[index].orderNo}', style: TextStyle(fontWeight: FontWeight.w600, fontFamily: 'Poppins', fontSize: 14)), ], ), diff --git a/lib/utils/exception_report.dart b/lib/utils/exception_report.dart index 89f0c1ea..480ddbe7 100644 --- a/lib/utils/exception_report.dart +++ b/lib/utils/exception_report.dart @@ -14,8 +14,6 @@ void postFailureResponse({ "exception" : exception }; final firestore = FirebaseFirestore.instance; - final collectionRef = firestore.collection(doctorId.toString()); - await collectionRef.add(data); await collectionRef.doc(DateTime.now().toIso8601String()).set(data); } \ No newline at end of file