✏️ 正在编辑: AcaoJudicial.php
路径:
/srv/systems_dir/yuppiecred-bkp/application/forms/Filtro/AcaoJudicial.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php class Form_Filtro_AcaoJudicial extends Core_Form { public function init() { $this->setMethod('post'); $this->setName('f_filtro_acao_judicial'); $this->setAttrib('class', 'relatorio-ajax'); $select = new Zend_Form_Element_Multiselect('banco_id'); $select->setLabel('Banco:') ->addMultiOptions(array_filter(Core_Combos::getBancosOptions())) ->setAttrib('class', 'multiple_banco'); $this->addElement($select); $select = new Zend_Form_Element_Multiselect('tipo_contrato'); $select->setLabel('Tipo Contrato:') ->setAttrib('class', 'tipo_contrato-multiselect') ->addMultiOptions(array_filter(Core_Combos::getTiposProdutosOptions())); $this->addElement($select); $select = new Zend_Form_Element_Select('substabelecido_id'); $select->setLabel('Subestabelecido:') ->addMultiOptions(Core_Combos::getSubestabelecidosOptions()) ->addDecorator('Label', array('tag' => 'dt', 'tagClass' => 'clear')); $this->addElement($select); $this->addElement('select', 'sub', array( 'label' => 'Sub:', 'multiOptions' => Core_Combos::getSimNaoOptions() )); $select = new Zend_Form_Element_Select('corretor_id'); $select->setLabel('Corretor:') ->addMultiOptions(Core_Combos::getCorretoresOptions()) ->addDecorator('Label', array('tag' => 'dt', 'tagClass' => 'clear')); $this->addElement($select); $this->addElement('text', 'cpf', array( 'label' => 'CPF Cliente:', 'maxlength' => 14, 'onkeypress' => 'mascara(this, fcpf)', 'size' => 14 )); $this->addElement('text', 'numero_contrato', array( 'label' => 'Nº Contrato:', 'size' => 10, 'onkeypress' => 'mascara(this, soNumeros)' )); $this->getElement('numero_contrato')->addDecorator('Label', array('tag' => 'dt', 'tagClass' => 'clear')); $this->addElement('select', 'impedimento_cobranca', array( 'label' => 'Imped. Cobrança', 'multiOptions' => array( '' => '', 'PAGAMENTO EFETUADO' => 'PAGAMENTO EFETUADO', 'LITIS PENDENCIA' => 'LITIS PENDÊNCIA', 'COISA JULGADA' => 'COISA JULGADA', ) )); $this->addElement('text', 'numero_ade', [ 'label' => 'Nº ADE:', 'size' => 10, 'onkeypress' => 'mascara(this, soNumeros)' ]); $this->getElement('numero_ade')->addDecorator('Label', ['tag' => 'dt', 'tagClass' => 'clear']); $this->addElement('select', 'origem_reclamacao', [ 'label' => 'Origem Reclamação:', 'multiOptions' => [ '' => '', 'Ação Cível' => 'Ação Cível', 'Procon' => 'Procon', 'Ouvidoria Banco' => 'Ouvidoria Banco', 'Ouvidoria Corban' => 'Ouvidoria Corban', 'Reclame Aqui' => 'Reclame Aqui', ] ]); $this->addElement('select', 'resposta_analise', array( 'label' => 'Resposta Análise', 'multiOptions' => array( '' => '', 'OPERACAO VERDADEIRA' => 'OPERAÇÃO VERDADEIRA', 'FRAUDE' => 'FRAUDE', 'AUSENCIA DE FORMALIZACAO' => 'AUSÊNCIA DE FORMALIZAÇÃO', 'PRATICA INFRATIVA' => 'PRÁTICA INFRATIVA', 'AGUARD. ANALISE BANCO' => 'AGUARD. ANALISE BANCO' ) )); $this->addElement('select', 'rota_id', array( 'label' => 'Rota:', 'multiOptions' => Core_Combos::getRotasOptions() )); $this->addElement(Form_DatePicker::getDatePicker('data_audiencia_de', 'Data Audiência de:')); $this->addElement(Form_DatePicker::getDatePicker('data_audiencia_a', 'a:')); $this->addElement(Form_DatePicker::getDatePicker('data_recebimento_de', 'Receb. Ação de:')); $this->addElement(Form_DatePicker::getDatePicker('data_recebimento_a', 'a:')); $this->addElement(Form_DatePicker::getDatePicker('data_notificacao_de', 'Data Notificação de:')); $this->addElement(Form_DatePicker::getDatePicker('data_notificacao_a', 'a:')); $this->addElement(Form_DatePicker::getDatePicker('data_pagamento_judicial_de', 'Data Pagamento de:')); $this->addElement(Form_DatePicker::getDatePicker('data_pagamento_judicial_a', 'a:')); $this->addElement('submit', 'btn_filtrar', array( 'label' => 'Buscar', 'class' => 'bt_find' )); $this->addDisplayGroup(array('btn_filtrar'), 'buttons'); } protected function _setDefaultDecorators() { $this->setDecorators( array( 'FormElements', array( 'HtmlTag', array( 'tag' => 'dl', 'class' => 'filtro_contrato' ) ), 'Form' )); } }
💾 保存文件
← 返回文件管理器