✏️ 正在编辑: Pmt.php
路径:
/srv/systems_dir/yuppiecred/application/forms/Filtro/Pmt.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php class Form_Filtro_Pmt extends Core_Form { public function init() { $this->setMethod('post'); $this->addElement('text', 'data_liberacao', array( 'label' => 'Mês/Ano:', 'onkeypress' => 'mascara(this, mesAno)', 'size' => 7, 'maxlength' => 7, 'required' => true )); $this->getElement('data_liberacao')->setAttrib('required', 'true'); $select = new Zend_Form_Element_Select('banco_id'); $select->setLabel('Banco:') ->addMultiOptions(Core_Combos::getBancosOptions()) ->setRequired(); $this->addElement($select); $select = new Zend_Form_Element_Select('recebido'); $select->setLabel('Recebido:') ->addMultiOptions(array( '' => '', '-1' => 'NÃO', '1' => 'SIM', '2' => 'Recebido MAIOR que o previsto', '3' => 'Recebido MENOR que o previsto', '4' => 'Recebido IGUAL ao previsto', )); $this->addElement($select); $this->addElement('submit', 'btn_filtrar', array( 'label' => 'Buscar', 'class' => 'bt_find' )); } protected function _setDefaultDecorators() { $this->setDecorators( array( 'FormElements', array( 'HtmlTag', array( 'tag' => 'dl', 'class' => 'filtro_contrato' ) ), 'Form' )); } }
💾 保存文件
← 返回文件管理器