dev_3.16.3_Lab_CheckIn_6718
haroon amjad 10 months ago
parent 7fbcee856a
commit 19dab0179d

@ -71,6 +71,7 @@ class AncillaryOrderList {
bool? isQueued;
String? orderDate;
int? orderNo;
int? invoiceNo;
AncillaryOrderList(
{this.ancillaryProcedureListModels,
@ -83,7 +84,8 @@ class AncillaryOrderList {
this.isCheckInAllow,
this.isQueued,
this.orderDate,
this.orderNo});
this.orderNo,
this.invoiceNo});
AncillaryOrderList.fromJson(Map<String, dynamic> json) {
if (json['AncillaryProcedureListModels'] != null) {
@ -103,6 +105,7 @@ class AncillaryOrderList {
isQueued = json['IsQueued'];
orderDate = json['OrderDate'];
orderNo = json['OrderNo'];
invoiceNo = json['Invoiceno'];
}
Map<String, dynamic> toJson() {
@ -121,6 +124,7 @@ class AncillaryOrderList {
data['IsQueued'] = this.isQueued;
data['OrderDate'] = this.orderDate;
data['OrderNo'] = this.orderNo;
data['Invoiceno'] = this.invoiceNo;
return data;
}
}

@ -455,6 +455,7 @@ class _ToDoState extends State<ToDo> with SingleTickerProviderStateMixin {
date: DateUtil.convertStringToDate(ancillaryLists[0].ancillaryOrderList![index].orderDate),
isSortByClinic: true,
isAllowCheckInAncillary: ancillaryLists[0].ancillaryOrderList![index].isCheckInAllow!,
// isAllowCheckInAncillary: true,
onAncillaryCheckInTap: () {
AppoitmentAllHistoryResultList appo = new AppoitmentAllHistoryResultList();
appo.doctorTitle = TranslationBase.of(context).dr.toString();
@ -1686,11 +1687,11 @@ class _ToDoState extends State<ToDo> with SingleTickerProviderStateMixin {
DoctorsListService service = new DoctorsListService();
service
.getLabQueueNumber(projectID, projectViewModel.authenticatedUserObject.user.patientID!, Utils.isVidaPlusProject(projectViewModel, projectID), ancillaryOrderList.orderNo.toString(),
.getLabQueueNumber(projectID, projectViewModel.authenticatedUserObject.user.patientID!, Utils.isVidaPlusProject(projectViewModel, projectID), ancillaryOrderList.invoiceNo.toString(),
ancillaryOrderList.orderNo.toString())
.then((res) {
GifLoaderDialogUtils.hideDialog(context);
showAlertDialog(res['QLineResponse']['PatientCallNo']);
showAlertDialog(res['QLineResponse']['patientCallNo']);
}).catchError((err) {
GifLoaderDialogUtils.hideDialog(context);
AppToast.showErrorToast(message: err);

Loading…
Cancel
Save