✏️ 正在编辑: CallcenterRelatorioBase.php
路径:
/srv/systems_dir/yuppiecred/application/forms/Filtro/CallcenterRelatorioBase.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php class Form_Filtro_CallcenterRelatorioBase extends Core_Form { public function init() { $this->setMethod('post'); $this->setName('f_filtro_callcenter_base'); $this->setAttrib('autocomplete', 'off'); $campanhas = Core_Combos::getCallcenterCampanhasOptions(); $select = new Zend_Form_Element_Multiselect('campanha_id'); $select->setLabel('Campanha:') ->setAttrib('class', "multi_callcenter") ->addMultiOptions($campanhas); $this->addElement($select); $this->addElement('multiselect', 'status_atendimento', [ 'label' => 'Status:', "class" => "multi_callcenter", 'multiOptions' => array_filter(Core_Combos::getCallcenterStatusOptions()) ]); $this->addElement('multiselect', 'convenio_id', [ 'label' => 'Convênio:', "class" => "multi_callcenter", 'multiOptions' => Core_Combos::getConveniosSimulacaoAbertaOptions() ] ); $this->getElement('convenio_id') ->addDecorator('Label', ['tag' => 'dt', 'tagClass' => 'clear']); $this->addElement('text', 'nome', [ 'label' => 'Nome:' ]); $this->addElement('text', 'cidade', [ 'label' => 'Cidade:', 'style' => 'width: 233px' ]); $this->getElement('cidade') ->addDecorator('Label', ['tag' => 'dt', 'tagClass' => 'clear']); $this->addElement('text', 'uf', [ 'label' => 'UF:', 'size' => 2, 'maxlength' => 2 ]); $this->addElement('text', 'fone', [ 'label' => 'Telefone:', 'onkeypress' => 'mascara(this, telefone)', 'maxlength' => 15, 'size' => 15 ]); $this->getElement('fone') ->addDecorator('Label', ['tag' => 'dt', 'tagClass' => 'clear']); $this->_initButtons(); } protected function _initButtons() { $this->addElement('submit', 'btn_filtrar', array( 'label' => 'Buscar', 'class' => 'bt_find' )); $this->addElement('button', 'btn_new', array( 'label' => 'Novo Cadastro', 'class' => 'bt_new', 'onclick' => "window.location='" . $this->getView()->baseUrl('callcenter-relatorios/base') . "'" )); $this->addDisplayGroup(array( 'btn_filtrar', 'btn_new' ), 'buttons'); } }
💾 保存文件
← 返回文件管理器