✏️ 正在编辑: SincronizarComissionamentos.php
路径:
/srv/systems_dir/yuppiecred-lidernegocios/application/forms/SincronizarComissionamentos.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php class Form_SincronizarComissionamentos extends Core_Form { public function init() { $this->setMethod('post'); $this->setName('f_sincronizar_comissionamentos'); $this->setAttrib('autocomplete', 'off'); $select = new Zend_Form_Element_Select('subestabelecido_id'); $select->setLabel('Sub-estabelecido:') ->addMultiOptions(Core_Combos::getSubestabelecidosOptions()) ->setAttrib('onchange', "populateComboSincronizacao(this)"); $this->addElement($select, 'subestabelecido_id'); $select = new Zend_Form_Element_Select('sincronizacao_id'); $select->setLabel('Sistema Yuppie:'); $this->addElement($select, 'sincronizacao_id'); $this->addElement('button', 'btn_back', [ 'label' => 'Voltar', 'class' => 'bt_back', 'onclick' => "window.location='" . $this->getView()->baseUrl() . "/comissionamento'" ]); $this->addElement('button', 'btn_import', [ 'label' => 'Importar', 'class' => 'bt_sincronizar', 'onclick' => 'sincronizarComissionamentos()' ]); $element = $this->getElement('btn_import'); $element->removeDecorator('DtDdWrapper'); $this->addDisplayGroup([ 'btn_back', 'btn_import', ], 'buttons'); } }
💾 保存文件
← 返回文件管理器