|
|
|
|
@ -316,7 +316,7 @@ class _PrescriptionDetailsPageState extends State<PrescriptionDetailsPage> {
|
|
|
|
|
Result<UnmodifiableListView<Event>> events = value;
|
|
|
|
|
events.data!.forEach((element) {
|
|
|
|
|
print(widget.prescriptionReport!.itemDescriptionN!);
|
|
|
|
|
if (element.title!.contains(widget.prescriptionReport!.itemDescriptionN!)) calendarUtils.deleteEvent(calender, element);
|
|
|
|
|
if (element.title!.contains(widget.prescriptionReport!.itemDescriptionN!)) calendarUtils.deleteEvent(calender[0], element);
|
|
|
|
|
});
|
|
|
|
|
}),
|
|
|
|
|
});
|
|
|
|
|
|