✏️ 正在编辑: Rota.php
路径:
/srv/systems_dir/yuppiecred/application/forms/Filtro/Rota.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php use Modules\Gatekeeper\Service\Gatekeeper as Gatekeeper; class Form_Filtro_Rota extends Core_Form { public function init() { $this->setMethod('post'); $this->setName('f_filtro_rota'); $this->setAttrib('autocomplete', 'off'); $select = new Zend_Form_Element_Select('gerente_id'); $select->setLabel('Supervisor:') ->addMultiOptions(Core_Combos::getSupervisoresOptions()); $this->addElement($select); $this->addElement('text', 'nome', array( 'label' => 'Nome:', 'size' => 40 )); $this->addElement('submit', 'btn_filtrar', array( 'label' => 'Buscar', 'class' => 'bt_find' )); $this->addElement('button', 'btn_new', array( 'label' => 'Novo Cadastro', 'class' => 'bt_new', 'onclick' => "window.location='" . $this->getView()->baseUrl() . "/rota/save'" )); if (!Gatekeeper::getPlanoConfig()) { $this->addElement('button', 'btn_link_rota', [ 'label' => 'Gerar Link Rota', 'class' => 'bt_new', 'onclick' => "window.location='" . $this->getView()->baseUrl() . "/rota/link-rota'" ]); } } }
💾 保存文件
← 返回文件管理器