|
|
|
|
@ -380,8 +380,12 @@ class _AppointmentActionsState extends State<AppointmentActions> {
|
|
|
|
|
prescriptionReportEnhList.add(PrescriptionReportEnh.fromJson(report));
|
|
|
|
|
});
|
|
|
|
|
print(prescriptionReportEnhList.length);
|
|
|
|
|
if (prescriptionReportEnhList.length != 0) {
|
|
|
|
|
navigateToMedicinePrescriptionReport(
|
|
|
|
|
prescriptionReportEnhList, res['ListPRM']);
|
|
|
|
|
} else {
|
|
|
|
|
AppToast.showErrorToast(message: "Sorry there is no data");
|
|
|
|
|
}
|
|
|
|
|
}).catchError((err) {
|
|
|
|
|
print(err);
|
|
|
|
|
AppToast.showErrorToast(message: err);
|
|
|
|
|
|