Esempio n. 1
0
 public function actionPlanUser()
 {
     $model = new DraftPlanGroup();
     if ($model->load(Yii::$app->request->post())) {
         $ary = self::get_execute_plan($model->SCL_NM, $model->USER_ID);
         return $this->redirect(['index?tab=2']);
     } else {
         return $this->renderAjax('_pilihuser', ['model' => $model, 'geo' => $this->get_arygeoplangroup(), 'user' => self::get_aryUserCrmSales()]);
     }
 }