From 0514fecae265f01e6bf1b8dd02b9101714a01d0e Mon Sep 17 00:00:00 2001 From: Sultan khan <> Date: Tue, 23 May 2023 10:40:40 +0300 Subject: [PATCH] lab report email change --- lib/core/model/labs/patient_lab_orders.dart | 4 ++++ lib/core/model/labs/request_send_lab_report_email.dart | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/core/model/labs/patient_lab_orders.dart b/lib/core/model/labs/patient_lab_orders.dart index 3c49b80a..c2908023 100644 --- a/lib/core/model/labs/patient_lab_orders.dart +++ b/lib/core/model/labs/patient_lab_orders.dart @@ -16,6 +16,7 @@ class PatientLabOrders { int gender; String genderDescription; String invoiceNo; + String invoiceNo_VP; bool isActiveDoctorProfile; bool isDoctorAllowVedioCall; bool isExecludeDoctor; @@ -68,6 +69,7 @@ class PatientLabOrders { this.projectNameN, this.qR, this.setupID, + this.invoiceNo_VP, this.speciality,this.isLiveCareAppointment}); PatientLabOrders.fromJson(Map json) { @@ -103,6 +105,7 @@ class PatientLabOrders { projectNameN = json['ProjectNameN']; qR = json['QR']; setupID = json['SetupID']; + invoiceNo_VP = json['invoiceNo_VP']; isLiveCareAppointment = json['IsLiveCareAppointment']; // speciality = json['Speciality'].cast(); } @@ -143,6 +146,7 @@ class PatientLabOrders { data['SetupID'] = this.setupID; data['Speciality'] = this.speciality; data['IsLiveCareAppointment'] = this.isLiveCareAppointment; + data['invoiceNo_VP'] =this.invoiceNo_VP; return data; } } diff --git a/lib/core/model/labs/request_send_lab_report_email.dart b/lib/core/model/labs/request_send_lab_report_email.dart index dcd28b5b..53a6f7b7 100644 --- a/lib/core/model/labs/request_send_lab_report_email.dart +++ b/lib/core/model/labs/request_send_lab_report_email.dart @@ -79,7 +79,7 @@ class RequestSendLabReportEmail { doctorName = json['DoctorName']; projectID = json['ProjectID']; invoiceNo = json['InvoiceNo']; - invoiceNo = json['InvoiceNo_VP']; + invoiceNoVP = json['InvoiceNo_VP']; orderDate = json['OrderDate']; } @@ -109,7 +109,7 @@ class RequestSendLabReportEmail { data['DoctorName'] = this.doctorName; data['ProjectID'] = this.projectID; data['InvoiceNo'] = this.invoiceNo; - data['InvoiceNo_VP'] = this.invoiceNo; + data['InvoiceNo_VP'] = this.invoiceNoVP; data['OrderDate'] = this.orderDate; return data; }