✏️ 正在编辑: PagarComissaoIndicador.php
路径:
/srv/systems_dir/yuppiecred/application/forms/Filtro/PagarComissaoIndicador.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php class Form_Filtro_PagarComissaoIndicador extends Core_Form { public function init() { $this->setMethod('post'); $this->setName('f_filtro_pagar_comissao_indicador'); $this->setAttrib('autocomplete', 'off'); $this->setAttrib('class', 'relatorio-ajax'); $select = new Zend_Form_Element_Select('indicador_id'); $select->setLabel('Indicador:') ->setRequired(true) ->addMultiOptions(Core_Combos::getIndicadoresOptions()); $select->setAttrib('onchange', "populateComboIndicados('indicador_id', 'corretor_id')"); $this->addElement($select); $select = new Zend_Form_Element_Select('corretor_id'); $select->setLabel('Corretor Indicado:') ->setRegisterInArrayValidator(false) ->addMultiOptions(['' => '']); $this->addElement($select); $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:') ->addMultiOptions(array_filter(Core_Combos::getTiposProdutosOptions())); $this->addElement($select); $this->addElement(Form_DatePicker::getDatePicker('data_liberacao_de', 'Data Liberação de:')); $this->addElement(Form_DatePicker::getDatePicker('data_liberacao_a', 'a:')); $this->addElement(Form_DatePicker::getDatePicker('data_emissao_de', 'Data Emissão de:')); $this->addElement(Form_DatePicker::getDatePicker('data_emissao_a', 'a:')); $select = new Zend_Form_Element_Multiselect('status_proposta'); $select->setLabel('Status:') ->setValue(43) ->addMultiOptions(Core_Combos::getStatusOptions()); $this->addElement($select); $select = new Zend_Form_Element_Select('contrato_pago'); $select->setLabel('Contrato Pago:') ->addMultiOptions(array( 1 => 'PAGO', -1 => 'NÃO PAGO', '' => '')); $this->addElement($select); $this->addElement(Form_DatePicker::getDatePicker('data_pagamento_de', 'Data Pagamento (corretor) de:')); $this->getElement('data_pagamento_de')->addDecorator('Label', ['tag' => 'dt', 'tagClass' => 'clear']); $this->addElement(Form_DatePicker::getDatePicker('data_pagamento_a', 'a:')); $select = new Zend_Form_Element_Select('grupo_comissao'); $select->setLabel('Grupo Comissão:') ->addMultiOptions(Core_Combos::getGruposComissaoOptions()); $this->addElement($select); $this->addElement('submit', 'btn_filtrar', [ 'label' => 'Buscar', 'class' => 'bt_find' ]); $this->addElement('button', 'btn_excluir', [ 'label' => 'Exclusão de Protocolos', 'class' => 'bt_delete', 'onclick' => "window.location='" . $this->getView()->baseUrl() . "/financeiro/excluir-protocolo-pagamento-indicador'" ]); $this->addDisplayGroup(['btn_filtrar', 'btn_excluir'], 'buttons'); } }
💾 保存文件
← 返回文件管理器