|
|
|
@ -395,7 +395,11 @@ class _EROnlineCheckInHomePageState extends State<EROnlineCheckInHomePage> with
|
|
|
|
|
DoctorsListService service = new DoctorsListService();
|
|
|
|
|
service.autoGenerateInvoiceERClinicWithNoPaymentDetails(projectID, true).then((res) {
|
|
|
|
|
GifLoaderDialogUtils.hideDialog(context);
|
|
|
|
|
_showMyDialog("Your online Check-In in the ER clinic has been done successfully.", context);
|
|
|
|
|
if(res["MessageStatus"] == 1) {
|
|
|
|
|
_showMyDialog("Your online Check-In in the ER clinic has been done successfully.", context);
|
|
|
|
|
} else {
|
|
|
|
|
AppToast.showErrorToast(message: res["InvoiceResponse"]["Message"]);
|
|
|
|
|
}
|
|
|
|
|
}).catchError((err) {
|
|
|
|
|
GifLoaderDialogUtils.hideDialog(context);
|
|
|
|
|
AppToast.showErrorToast(message: err);
|
|
|
|
|