✏️ 正在编辑: RelatorioProjecaoGerente.php
路径:
/srv/systems_dir/yuppiecred-bkp/application/forms/Filtro/RelatorioProjecaoGerente.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php class Form_Filtro_RelatorioProjecaoGerente extends Core_Form { public function init() { $this->setName('f_filtro_rel_producao_analitico'); $this->setAttrib('class', 'relatorio-ajax'); $select = new Zend_Form_Element_Select('gerente_rota_id'); $select->setLabel('Gerente:') ->addMultiOptions(Core_Combos::getGerentesOptions()) ->addDecorator('Label', array( 'tag' => 'dt', 'tagClass' => 'clear' )); $this->addElement($select); $select = new Zend_Form_Element_Select('rota_id'); $select->setLabel('Rotas:') ->addMultiOptions(Core_Combos::getRotasOptions()) ->addDecorator('Label', array( 'tag' => 'dt', 'tagClass' => 'clear' )); $this->addElement($select); $this->addElement(Form_DatePicker::getDatePicker('data_liberacao_de', 'Data Liberação de:', null, true)); $this->addElement(Form_DatePicker::getDatePicker('data_liberacao_a', 'a:', null, true)); $this->getElement('data_liberacao_de')->setAttrib("required", true); $this->getElement('data_liberacao_a')->setAttrib("required", true); $this->addElement('submit', 'btn_filtrar', array( 'label' => 'Buscar', 'class' => 'bt_find' )); $this->_setDefaultDecorators(); } protected function _setDefaultDecorators() { $this->setDecorators( array( 'FormElements', array( 'HtmlTag', array( 'tag' => 'dl', 'class' => 'filtro_rel_producao_analitico' ) ), 'Form' )); } }
💾 保存文件
← 返回文件管理器