public function actionGet_sub_outgoing() { $car_id = \Yii::$app->request->post('car_id'); $year = \Yii::$app->request->post('year'); $month = \Yii::$app->request->post('month'); $report = new \app\models\Report(); $result = $report->get_outgoing($year, $month, $car_id); return $this->renderPartial('sub_outgoing', ['result' => $result]); }