fix the design issues

merge-requests/457/head
Mohammad Aljammal 4 years ago
parent d105e0ef5d
commit c87f235cd2

@ -35,7 +35,6 @@ class PrescriptionItemsPage extends StatelessWidget {
patient: patient, patient: patient,
patientType: patientType??"0", patientType: patientType??"0",
arrivalType: arrivalType??"0", arrivalType: arrivalType??"0",
branch: '',
clinic: prescriptions.clinicDescription, clinic: prescriptions.clinicDescription,
isPrescriptions: true, isPrescriptions: true,
appointmentDate: DateUtils.getDateTimeFromServerFormat(prescriptions.appointmentDate), appointmentDate: DateUtils.getDateTimeFromServerFormat(prescriptions.appointmentDate),

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

@ -406,7 +406,7 @@ class PatientProfileHeaderWhitAppointmentAppBar extends StatelessWidget with Pre
) )
], ],
), ),
if(isPrescriptions) if(isPrescriptions && branch!=null)
Row( Row(
children: [ children: [
Texts( Texts(

Loading…
Cancel
Save