public function actionIndex()
 {
     $searchModel = new MaterialSearch();
     $filter = Proc::SetFilter($searchModel->formName(), new MaterialFilter());
     $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
     return $this->render('index', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider, 'filter' => $filter]);
 }
 public function actionGlaukindex()
 {
     Proc::SetMenuButtons('glauk');
     $searchModel = new PatientSearch();
     $filter = Proc::SetFilter($searchModel->formName(), new PatientFilter());
     $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
     return $this->render('glaukindex', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider, 'filter' => $filter]);
 }