public function actionProdutosvenda() { $searchModel = new ProdutoSearch(); $dataProvider = $searchModel->searchProdutosVendaIndex(Yii::$app->request->queryParams); return $this->render('produtosvenda', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider]); }