Merge branch 'fix_out_number' into 'development'

fix out patient number

See merge request Cloud_Solution/doctor_app_flutter!639
merge-requests/640/merge
Mohammad Aljammal 5 years ago
commit 5705c02bfd

@ -132,7 +132,7 @@ class _OutPatientsScreenState extends State<OutPatientsScreen> {
onTap: () async { onTap: () async {
setState(() { setState(() {
_activeLocation = _times.indexOf(item); _activeLocation = _times.indexOf(item);
outPatientFilterType= _activeLocation==0?OutPatientFilterType.Previous:_activeLocation==0?OutPatientFilterType.Today:OutPatientFilterType.NextWeek; outPatientFilterType= _activeLocation==0?OutPatientFilterType.Previous:_activeLocation==1?OutPatientFilterType.Today:OutPatientFilterType.NextWeek;
_controller.text=""; _controller.text="";
}); });
model.searchData(""); model.searchData("");

Loading…
Cancel
Save