/** * Lists all Scheduledetail models. * @return mixed */ public function actionIndex() { $searchModel = new ScheduledetailSearch(); $dataProvider = $searchModel->search(Yii::$app->request->queryParams); return $this->render('index', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider, 'nmGroup' => $this->aryGroupID()]); }
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]); }