ECG order number updated.

update_flutter_3.24_pharmacy_ntervention
Sultan khan 1 year ago
parent b8efa77837
commit fe5d66f57d

@ -95,7 +95,7 @@ class ECGPage extends StatelessWidget {
children: <TextSpan>[ children: <TextSpan>[
new TextSpan(text: TranslationBase.of(context).orderNo, style: TextStyle(fontSize: 12, fontFamily: 'Poppins')), new TextSpan(text: TranslationBase.of(context).orderNo, style: TextStyle(fontSize: 12, fontFamily: 'Poppins')),
new TextSpan( new TextSpan(
text: '${/*model.patientMuseResultsModelList[index].orderNo?? */ '3455'}', text: '${model.patientMuseResultsModelList[index].orderNo}',
style: TextStyle(fontWeight: FontWeight.w600, fontFamily: 'Poppins', fontSize: 14)), style: TextStyle(fontWeight: FontWeight.w600, fontFamily: 'Poppins', fontSize: 14)),
], ],
), ),

@ -14,8 +14,6 @@ void postFailureResponse({
"exception" : exception "exception" : exception
}; };
final firestore = FirebaseFirestore.instance; final firestore = FirebaseFirestore.instance;
final collectionRef = firestore.collection(doctorId.toString()); final collectionRef = firestore.collection(doctorId.toString());
await collectionRef.add(data);
await collectionRef.doc(DateTime.now().toIso8601String()).set(data); await collectionRef.doc(DateTime.now().toIso8601String()).set(data);
} }
Loading…
Cancel
Save