From f56a23aad96dcf38de66036f7de5d8fe50dc2116 Mon Sep 17 00:00:00 2001 From: Mohammad Aljammal Date: Tue, 14 Sep 2021 17:38:07 +0300 Subject: [PATCH] fix lab issue --- .../Prescriptions/prescription_report.dart | 28 +++++++------- .../prescription_report_enh.dart | 38 +++++++++---------- 2 files changed, 33 insertions(+), 33 deletions(-) diff --git a/lib/core/model/Prescriptions/prescription_report.dart b/lib/core/model/Prescriptions/prescription_report.dart index d2427004..006a6fad 100644 --- a/lib/core/model/Prescriptions/prescription_report.dart +++ b/lib/core/model/Prescriptions/prescription_report.dart @@ -1,13 +1,13 @@ class PrescriptionReport { String address; - int appointmentNo; + dynamic appodynamicmentNo; String clinic; String companyName; - int days; + dynamic days; String doctorName; var doseDailyQuantity; String frequency; - int frequencyNumber; + dynamic frequencyNumber; String image; String imageExtension; String imageSRCUrl; @@ -15,30 +15,30 @@ class PrescriptionReport { String imageThumbUrl; String isCovered; String itemDescription; - int itemID; + dynamic itemID; String orderDate; - int patientID; + dynamic patientID; String patientName; String phoneOffice1; String prescriptionQR; - int prescriptionTimes; + dynamic prescriptionTimes; String productImage; String productImageBase64; String productImageString; - int projectID; + dynamic projectID; String projectName; String remarks; String route; String sKU; - int scaleOffset; + dynamic scaleOffset; String startDate; String patientAge; String patientGender; String phoneOffice; - int doseTimingID; - int frequencyID; - int routeID; + dynamic doseTimingID; + dynamic frequencyID; + dynamic routeID; String name; String itemDescriptionN; String routeN; @@ -46,7 +46,7 @@ class PrescriptionReport { PrescriptionReport({ this.address, - this.appointmentNo, + this.appodynamicmentNo, this.clinic, this.companyName, this.days, @@ -92,7 +92,7 @@ class PrescriptionReport { PrescriptionReport.fromJson(Map json) { address = json['Address']; - appointmentNo = json['AppointmentNo']; + appodynamicmentNo = json['AppodynamicmentNo']; clinic = json['Clinic']; companyName = json['CompanyName']; days = json['Days']; @@ -141,7 +141,7 @@ class PrescriptionReport { final Map data = new Map(); data['Address'] = this.address; - data['AppointmentNo'] = this.appointmentNo; + data['AppodynamicmentNo'] = this.appodynamicmentNo; data['Clinic'] = this.clinic; data['CompanyName'] = this.companyName; data['Days'] = this.days; diff --git a/lib/core/model/Prescriptions/prescription_report_enh.dart b/lib/core/model/Prescriptions/prescription_report_enh.dart index 203eaaff..01b9a5c9 100644 --- a/lib/core/model/Prescriptions/prescription_report_enh.dart +++ b/lib/core/model/Prescriptions/prescription_report_enh.dart @@ -1,41 +1,41 @@ class PrescriptionReportEnh { String address; - int appointmentNo; + dynamic appodynamicmentNo; String clinic; - Null companyName; - int days; + dynamic companyName; + dynamic days; String doctorName; - int doseDailyQuantity; + dynamic doseDailyQuantity; String frequency; - int frequencyNumber; - Null image; - Null imageExtension; + dynamic frequencyNumber; + dynamic image; + dynamic imageExtension; String imageSRCUrl; - Null imageString; + dynamic imageString; String imageThumbUrl; String isCovered; String itemDescription; - int itemID; + dynamic itemID; String orderDate; - int patientID; + dynamic patientID; String patientName; String phoneOffice1; - Null prescriptionQR; - int prescriptionTimes; - Null productImage; - Null productImageBase64; + dynamic prescriptionQR; + dynamic prescriptionTimes; + dynamic productImage; + dynamic productImageBase64; String productImageString; - int projectID; + dynamic projectID; String projectName; String remarks; String route; String sKU; - int scaleOffset; + dynamic scaleOffset; String startDate; PrescriptionReportEnh( {this.address, - this.appointmentNo, + this.appodynamicmentNo, this.clinic, this.companyName, this.days, @@ -70,7 +70,7 @@ class PrescriptionReportEnh { PrescriptionReportEnh.fromJson(Map json) { address = json['Address']; - appointmentNo = json['AppointmentNo']; + appodynamicmentNo = json['AppodynamicmentNo']; clinic = json['Clinic']; companyName = json['CompanyName']; days = json['Days']; @@ -107,7 +107,7 @@ class PrescriptionReportEnh { Map toJson() { final Map data = new Map(); data['Address'] = this.address; - data['AppointmentNo'] = this.appointmentNo; + data['AppodynamicmentNo'] = this.appodynamicmentNo; data['Clinic'] = this.clinic; data['CompanyName'] = this.companyName; data['Days'] = this.days;