hot fixes

merge-requests/553/head
Mohammad Aljammal 5 years ago
parent 0336a65039
commit 704a4bd0be

@ -176,7 +176,7 @@ class PatiantInformtion {
appointmentNo: json['appointmentNo'] ?? json['AppointmentNo'], appointmentNo: json['appointmentNo'] ?? json['AppointmentNo'],
appointmentType: json['appointmentType'], appointmentType: json['appointmentType'],
appointmentTypeId: json['appointmentTypeId']?? json['appointmentTypeid'], appointmentTypeId: json['appointmentTypeId']?? json['appointmentTypeid'],
arrivedOn: json['arrivedOn'], arrivedOn: json['arrivedOn'] ?? json['ArrivedOn'],
clinicGroupId: json['clinicGroupId'], clinicGroupId: json['clinicGroupId'],
companyName: json['companyName'], companyName: json['companyName'],
dischargeStatus: json['dischargeStatus'], dischargeStatus: json['dischargeStatus'],

@ -68,7 +68,7 @@ class LabsHomePage extends StatelessWidget {
], ],
), ),
), ),
if(patient.patientStatusType == 43) if ( patient.patientStatusType!=null && patient.patientStatusType == 43)
Padding( Padding(
padding: const EdgeInsets.all(8.0), padding: const EdgeInsets.all(8.0),
child: Column( child: Column(
@ -88,7 +88,7 @@ class LabsHomePage extends StatelessWidget {
], ],
), ),
), ),
if (patientType != null && patientType == '7' && patient.patientStatusType == 43) if ( patient.patientStatusType!=null && patient.patientStatusType == 43)
AddNewOrder( onTap: () { AddNewOrder( onTap: () {
Navigator.push( Navigator.push(
context, context,

@ -110,7 +110,7 @@ class DoctorCard extends StatelessWidget {
children: <Widget>[ children: <Widget>[
AppText( AppText(
TranslationBase.of(context).orderNo + TranslationBase.of(context).orderNo +
": ", " ",
color: Colors.grey[500], color: Colors.grey[500],
fontSize: 14, fontSize: 14,
), ),
@ -126,7 +126,7 @@ class DoctorCard extends StatelessWidget {
AppText( AppText(
TranslationBase.of(context) TranslationBase.of(context)
.invoiceNo + .invoiceNo +
": ", " ",
fontSize: 14, fontSize: 14,
color: Colors.grey[500], color: Colors.grey[500],
), ),

Loading…
Cancel
Save