verify clinic id

merge-requests/64/head
Amjad Amireh 6 years ago
parent e93c764620
commit c7fccbf708

@ -75,6 +75,8 @@ class _PatientSearchScreenState extends State<PatientSearchScreen> {
_patientSearchFormValues.ProjectID = doctorProfile.projectID ;//15
_patientSearchFormValues.DoctorID = doctorProfile.doctorID;
_patientSearchFormValues.ClinicID = doctorProfile.clinicID;
print("=============doctorProfile.clinicID="+doctorProfile.clinicID.toString());
Navigator.of(context).pushNamed(PATIENTS, arguments: {
"patientSearchForm": _patientSearchFormValues,

@ -285,11 +285,12 @@ class _PatientsScreenState extends State<PatientsScreen> {
? DrAppCircularProgressIndeicator()
: patientsProv.isError
? DrAppEmbeddedError(error: patientsProv.error)
: litems == null
? DrAppEmbeddedError(
error: 'You don\'t have any ' +
patientTypetitle +
" patiant")
: litems == null?
// ? DrAppEmbeddedError(
// error: 'You don\'t have any ' +
// patientTypetitle +
// " patiant")
DrAppCircularProgressIndeicator()
: Container(
child:
ListView(scrollDirection: Axis.vertical, children: <

Loading…
Cancel
Save