public function actionGet_history_transport() { $Model = new Customer(); $employer = \Yii::$app->request->post('employer'); $result = $Model->get_history_transport($employer); return $this->renderPartial('history_transport', ['history' => $result]); }