/** * Lists all Package models. * @return mixed */ public function actionIndex() { $searchModel = new PackageSearch(); $dataProvider = $searchModel->search(Yii::$app->request->queryParams); $view = $this->getView(); PricingUnifyAsset::register($view); return $this->render('index', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider]); }
/** * Lists all Package models. * @return mixed */ public function actionIndex() { $searchModel = new PackageSearch(); $dataProvider = $searchModel->search(Yii::$app->request->queryParams); return $this->render('index', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider]); }