/**
  * Открыть документ Заявка на оборудование.
  * @param integer $id
  * @return mixed
  */
 public function actionView($id)
 {
     $dedSearch = new DtEnquiryDevicesSearch();
     $dedProvider = $dedSearch->search(Yii::$app->request->queryParams);
     return $this->render('view', ['model' => $this->findModel($id), 'dedSearch' => $dedSearch, 'dedProvider' => $dedProvider]);
 }
 /**
  * Lists all DtEnquiryDevices models.
  * @return mixed
  */
 public function actionIndex()
 {
     $searchModel = new DtEnquiryDevicesSearch();
     $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
     return $this->render('index', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider]);
 }