✏️ 正在编辑: CallcenterStatusAtendimento.php
路径:
/srv/systems_dir/yuppiecred-bkp/application/forms/CallcenterStatusAtendimento.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php class Form_CallcenterStatusAtendimento extends Core_Form { public function init() { $this->setName('f_save_callcenter_status_atendimento'); $this->addElement('hidden', 'id', array( 'class' => 'invisivel' )); $this->addElement('text', 'descricao', array( 'label' => 'Descrição:', 'size' => 35, 'required' => true )); $this->addElement('checkbox', 'desativar_cliente_callcenter', ['label' => 'Desativar Cliente'] ); $this->addElement('select', 'tipo_tabulacao', [ 'label' => 'Tipo Tabulação:', 'multiOptions' => [ '' => '', 'Positiva' => 'Positiva', 'Negativa' => 'Negativa', ], ]); $this->addElement('checkbox', 'negocio_fechado', ['label' => 'Indicador de negócio fechado'] ); $this->addElement('checkbox', 'exibir_oportunidades', ['label' => 'Exibir na tela de oportunidades'] ); $this->_initButtons(); } protected function _initButtons() { $this->addElement('button', 'btn_back', array( 'label' => 'Voltar', 'class' => 'bt_back', 'onclick' => "window.location='" . $this->getView()->baseUrl() . "/callcenter-status-atendimento'" )); $this->addElement('submit', 'btn_save', array( 'label' => 'Salvar', 'class' => 'bt_save' )); $this->addElement('button', 'btn_new', array( 'label' => 'Novo Cadastro', 'class' => 'bt_new', 'onclick' => "window.location='" . $this->getView()->baseUrl() . "/callcenter-status-atendimento/save'" )); $this->addDisplayGroup(array( 'btn_back', 'btn_save', 'btn_new' ), 'buttons'); } }
💾 保存文件
← 返回文件管理器