✏️ 正在编辑: CallcenterIndicadoresController.php
路径:
/srv/systems_dir/yuppiecred-bkp/application/controllers/CallcenterIndicadoresController.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php use Model_CallcenterIndicadores as CallcenterIndicadores; class CallcenterIndicadoresController extends Zend_Controller_Action { public function init() { $this->_helper->layout->setLayout('layout_callcenter'); } public function dashboardAction() { $this->view->indicadores = CallcenterIndicadores::habilitados(); } public function taxaConversaoAction() { return $this->_helper->json([ 'tc' => CallcenterIndicadores::indicadorTaxaConversao() ]); } public function contatoPessoaCertaAction() { $this->_helper->layout->disableLayout(); $this->view->dados = CallcenterIndicadores::indicadorContatoPessoaCerta(); } public function taxaDeContatoAction() { return $this->_helper->json([ 'tct' => CallcenterIndicadores::indicadorTaxaDeContato() ]); } public function bestTimeCallAction() { if ($this->getRequest()->getParam('campanha_id')) { return $this->_helper->json([ 'btc' => CallcenterIndicadores::indicadorBestTimeCall($this->getRequest()->getParam('campanha_id')) ]); } $this->_helper->layout->disableLayout(); $this->view->campanhas = Core_Combos::getCallcenterCampanhasOptions(); } public function absenteismoAction() { $this->_helper->layout->disableLayout(); $this->view->agentes = CallcenterIndicadores::indicadorAbsenteismo(); } public function tempoMedioOperacionalAction() { return $this->_helper->json([ 'tmo' => CallcenterIndicadores::indicadorTempoMedioOperacional() ]); } }
💾 保存文件
← 返回文件管理器