merge-requests/411/head
Mohammad Aljammal 4 years ago
parent e978bd0df3
commit 3a8225e666

@ -66,7 +66,7 @@ class LabsHomePage extends StatelessWidget {
],
),
),
if (patientType != null && patientType == '7')
if (patientType != null && patientType == '7' && patient.patientStatusType == 43)
InkWell(
onTap: () {
addSelectedLabOrder(context, model, patient);

@ -62,7 +62,7 @@ class RadiologyHomePage extends StatelessWidget {
],
),
),
if (patientType != null && patientType == '7')
if (patientType != null && patientType == '7' && patient.patientStatusType == 43)
InkWell(
onTap: () {
addSelectedRadiologyOrder(context, model, patient);

@ -60,7 +60,7 @@ class PrescriptionsPage extends StatelessWidget {
],
),
),
if (patientType != null && patientType == '7')
if (patientType != null && patientType == '7' && patient.patientStatusType == 43)
InkWell(
onTap: () {
addPrescriptionForm(

@ -44,10 +44,7 @@ class PatientProfileHeaderNewDesignAppBar extends StatelessWidget with Preferred
onPressed: () => Navigator.pop(context),
),
AppText(
(Helpers.capitalize(patient.firstName) +
" " +
Helpers.capitalize(
patient.lastName)),
patient.firstName!=null? (Helpers.capitalize(patient.firstName) + " " + Helpers.capitalize(patient.lastName)):'',
fontSize: SizeConfig.textMultiplier * 3,
fontWeight: FontWeight.bold,
backGroundcolor: Colors.white,

Loading…
Cancel
Save