/** * Lists all BalanceItem models. * @return mixed */ public function actionIndex() { $dataProvider = new ActiveDataProvider(['query' => BalanceItemExt::find()->orderBy('order_code')]); return $this->render('index', ['dataProvider' => $dataProvider]); }