public function actionLoad_history() { $truck = new Truck(); $id = \Yii::$app->request->post('id'); $history = $truck->get_history($id); return $this->renderPartial('load_history', ['history' => $history]); }