✏️ 正在编辑: CallcenterTransferirCarterizados.php
路径:
/srv/systems_dir/yuppiecred/application/forms/CallcenterTransferirCarterizados.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php class Form_CallcenterTransferirCarterizados extends Zend_Form { public function init() { $params = $this->_getParams(); $this->setName('f_filtro_transferir_carterizados'); $this->setAttrib('autocomplete', 'off'); $select = new Zend_Form_Element_Multiselect('usuario_carteirizacao_de'); $select->setLabel('Operador Origem:*') ->setAttrib("class", "multi") ->addMultiOptions(array_filter(Core_Combos::getUsuariosCallcenterOptions())); $this->addElement($select); $this->addElement('select', 'usuario_carteirizacao_para', array( 'label' => 'Operador Destino:*', 'multiOptions' => Core_Combos::getUsuariosCallcenterOptions() )); $this->getElement('usuario_carteirizacao_para')->setAttrib('required', true); $this->addElement('text', 'cpf', array( 'label' => 'CPF:', 'validators' => array(new Validators_Cpf()) )); $this->addElement(Form_DatePicker::getDatePicker('data_final', 'Atendido antes de:')); $this->addElement('select', 'campanha_id', array( 'label' => 'Campanha:', 'multiOptions' => Core_Combos::getCallcenterCampanhasOptions() )); $this->addElement('text', 'uf', array( 'label' => 'UF:', 'size' => 2, 'maxlength' => '2', 'validators' => array(new Validators_Uf()) )); $this->addElement('text', 'orgao', array( 'label' => "Orgão:", )); $this->addElement('text', 'cidade', array( 'label' => 'Cidade:', 'size' => 20, )); $this->addElement('text', 'bairro', array( 'label' => 'Bairro:', )); $this->addElement('select', 'usuario_ultimo_atendimento', array( 'label' => 'Usuário:', 'multiOptions' => Core_Combos::getUsuariosUltimoAtendimentoOptions() )); $this->addElement('text', 'idade_de', array( 'label' => 'Idade de', 'maxlength' => 3, 'onkeypress' => 'mascara(this, soNumeros)' )); $this->addElement('text', 'idade_ate', array( 'label' => 'Idade ate:', 'maxlength' => 3, 'onkeypress' => 'mascara(this, soNumeros)' )); $this->addElement('multiselect', 'especie', array( 'label' => 'Especie:', 'onkeypress' => 'mascara(this, soNumeros)', 'multiOptions' => Core_Combos::getEspeciesConsignaveisOptions(), 'class' => 'multi_callcenter' )); $select = new Zend_Form_Element_Multiselect('status_atendimento'); $select->setLabel('Status para não transferir:') ->setAttrib("class", "multi_callcenter") ->addMultiOptions(array_filter(Core_Combos::getCallcenterStatusOptions())); $this->addElement($select); $this->addElement('submit', 'btn_transferir', array( 'label' => 'Transferir' )); $element = $this->getElement('btn_transferir'); $element->removeDecorator('DtDdWrapper'); } protected function _getParams() { $front = Zend_Controller_Front::getInstance(); return $front->getRequest()->getParams(); } }
💾 保存文件
← 返回文件管理器