diff --git a/lib/core/service/medical/labs_service.dart b/lib/core/service/medical/labs_service.dart index 8ca246a0..c03b29f4 100644 --- a/lib/core/service/medical/labs_service.dart +++ b/lib/core/service/medical/labs_service.dart @@ -42,7 +42,7 @@ class LabsService extends BaseService { _requestPatientLabSpecialResult.invoiceNo = isVidaPlus! ? "0" : invoiceNo; _requestPatientLabSpecialResult.invoiceNoVP = isVidaPlus ? invoiceNo : "0"; - _requestPatientLabSpecialResult.invoiceType = invoiceType!; + _requestPatientLabSpecialResult.invoiceType = invoiceType ?? ""; _requestPatientLabSpecialResult.orderNo = orderNo; _requestPatientLabSpecialResult.setupID = setupID; diff --git a/lib/pages/MyAppointments/widgets/AppointmentActions.dart b/lib/pages/MyAppointments/widgets/AppointmentActions.dart index d29030a1..17d463d3 100644 --- a/lib/pages/MyAppointments/widgets/AppointmentActions.dart +++ b/lib/pages/MyAppointments/widgets/AppointmentActions.dart @@ -409,6 +409,7 @@ class _AppointmentActionsState extends State { if (res['ListLabResultsByAppNo'] != null) { patientLabOrders.orderNo = res['ListLabResultsByAppNo'][0]['OrderNo'].toString(); patientLabOrders.invoiceNo = res['ListLabResultsByAppNo'][0]['InvoiceNo'].toString(); + patientLabOrders.invoiceType = res['ListLabResultsByAppNo'][0]['InvoiceType'].toString(); patientLabOrders.clinicID = widget.appo.clinicID; patientLabOrders.clinicDescription = widget.appo.clinicName; patientLabOrders.projectID = widget.appo.projectID.toString(); diff --git a/lib/pages/conference/zoom/call_screen.dart b/lib/pages/conference/zoom/call_screen.dart index 6de59807..2a5b4e40 100644 --- a/lib/pages/conference/zoom/call_screen.dart +++ b/lib/pages/conference/zoom/call_screen.dart @@ -472,7 +472,7 @@ class _CallScreenState extends State { ], ), ); - if (errorType == Errors.SessionJoinFailed || errorType == Errors.SessionDisconnecting) { + if (errorType == Errors.SessionJoinFailed || errorType == Errors.SessionDisconncting) { Timer( const Duration(milliseconds: 1000), () => Navigator.pop(context),