diff --git a/frontend/controllers/PhoneCenterController.php b/frontend/controllers/PhoneCenterController.php index 47c6573..1c7ce7c 100644 --- a/frontend/controllers/PhoneCenterController.php +++ b/frontend/controllers/PhoneCenterController.php @@ -49,10 +49,10 @@ class PhoneCenterController extends BaseController public function actionCallRecords() { $request = Yii::$app->request; - $company_id = $request->get('company_id',0); + $company_type = $request->get('company_type',0); return $this->render('call-records', [ - 'company_id' => $company_id + 'company_type' => $company_type ]); } public function actionCallRecordsJson(){ @@ -506,9 +506,9 @@ public function actionDownload(){ public function actionUsercallIndex() { $request = Yii::$app->request; - $company_id = $request->get('company_id',0); + $company_type = $request->get('company_type',0); return $this->render('usercall-index',[ - 'company_id' => $company_id + 'company_id' => $company_type ]); } public function actionUsercallIndexJson(){ diff --git a/frontend/views/phone-center/call-records.php b/frontend/views/phone-center/call-records.php index 2a668fe..9ca1dce 100644 --- a/frontend/views/phone-center/call-records.php +++ b/frontend/views/phone-center/call-records.php @@ -17,8 +17,8 @@ use \common\libs\MyLib;
- - + +
diff --git a/frontend/views/phone-center/usercall-index.php b/frontend/views/phone-center/usercall-index.php index 9807a2b..3a573aa 100644 --- a/frontend/views/phone-center/usercall-index.php +++ b/frontend/views/phone-center/usercall-index.php @@ -17,8 +17,8 @@ use \common\libs\MyLib;
- - + +