public function actionMapDetail($cust_kd) { $model_customers = $this->findModelcust($cust_kd); $lock_map = $model_customers->LOCK_MAP; $searchModel = new ScheduledetailSearch(); $dataProvider = $searchModel->searchmapdetail(Yii::$app->request->queryParams); return $this->renderAjax('map_detail', ['model_customers' => $model_customers, 'dataProvider' => $dataProvider, 'searchModelx' => $searchModel, 'lock_map' => $lock_map]); }