✏️ 正在编辑: CallcenterBaseEmprestimo.php
路径:
/srv/systems_dir/yuppiecred/application/forms/CallcenterBaseEmprestimo.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php class Form_CallcenterBaseEmprestimo extends Core_Form { public function init() { $this->setName("f_save_base_emprestimos"); $this->addElement('hidden', 'cpf_cliente'); $this->addDisplayGroup(array("cpf_cliente"), "hidden", array( 'decorators' => array( 'FormElements', array( 'HtmlTag', array( 'tag' => 'dl', 'style' => 'display:none' ) ), 'Form') )); $this->addElement('select', 'tipo_operacao', array( 'label' => 'Tipo', 'required' => true, 'class' => 'require', 'multiOptions' => Core_Combos::getTiposProdutosOptions() )); $this->addElement('text', 'beneficio', array( 'label' => 'Benefício', )); $this->addElement('select', 'banco', array( 'label' => 'Banco:', 'required' => true, 'class' => 'require', 'multiOptions' => Core_Combos::getBancosFebrabanOptions() )); $this->addElement('text', 'numero_contrato', array( 'label' => 'Número contrato:', )); $this->addElement('text', 'valor_emprestimo', array( 'label' => 'Empréstimo:', 'size' => 10, 'onkeypress' => "mascara(this, mvalor)" )); $this->addElement('text', 'qtd_parcelas', array( 'label' => 'Parcelas:', )); $this->addElement('text', 'parcelas_pagas', array( 'label' => 'Parcelas pagas:', )); $this->addElement(Form_DatePicker::getDatePicker('inicio_contrato', 'Início / Inclusão:')); $this->addElement(Form_DatePicker::getDatePicker('termino_contrato', 'Término:')); $this->addElement('text', 'valor_parcela', array( 'label' => 'Valor parcela', 'size' => 10, 'onkeypress' => "mascara(this, mvalor)" )); $this->addElement('text', 'quitacao', array( 'label' => 'Quitação:', 'size' => 10, 'onkeypress' => "mascara(this, mvalor)" )); $this->addElement('text', 'mes', array( 'label' => 'Mês', 'maxlength' => 2, 'onkeypress' => "mascara(this, soNumeros)" )); $this->addElement('text', 'ano', array( 'label' => 'Ano', 'max-length' => 4, 'onkeypress' => "mascara(this, soNumeros)" )); $this->addElement('text', 'valor_atual_beneficio', array( 'label' => 'Limite CRT:', 'size' => 10, 'onkeypress' => "mascara(this, mvalor)" )); $this->addElement('text', 'situacao', array( 'label' => 'Situação:', )); $this->addElement('button', 'btn_add_emprestimo', array( 'label' => 'Adicionar', 'onclick' => "addTelefoneEmprestimo('emprestimos')" )); } }
💾 保存文件
← 返回文件管理器