|
|
|
@ -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("");
|
|
|
|
|