From f62eec5c12132761017819fbd2dbfb6d2357a660 Mon Sep 17 00:00:00 2001 From: Lucas Schmoeller da Silva Date: Wed, 18 Mar 2015 15:26:03 -0300 Subject: [PATCH] Corrigido cadastro de funcionário --- ieducar/intranet/funcionario_cad.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/ieducar/intranet/funcionario_cad.php b/ieducar/intranet/funcionario_cad.php index 8efebe6..eb9a124 100755 --- a/ieducar/intranet/funcionario_cad.php +++ b/ieducar/intranet/funcionario_cad.php @@ -304,9 +304,15 @@ class indice extends clsCadastro } $this->campoTexto("ramal", "Ramal", $this->ramal, 11, 30); - $this->campoCheck("super", "Super usuário", $this->super); - $this->campoCheck("proibido", "Banido", $this->proibido); - $this->campoCheck("matricula_permanente", "Matrícula permanente", $this->matricula_permanente); + + $opcoes = array(null => "Não", 'S' => "Sim"); + $this->campoLista("super", "Super usuário", $opcoes, $this->super, '',false,'','',false,false); + + $opcoes = array(null => "Não", 1 => "Sim"); + $this->campoLista("proibido", "Banido", $opcoes, $this->proibido, '',false,'','',false,false); + + $opcoes = array(null => "Não", 1 => "Sim"); + $this->campoLista("matricula_permanente", "Matrícula permanente", $opcoes, $this->matricula_permanente, '',false,'','',false,false); //----------------------------------------------------------------------------------------------- -- libgit2 0.21.2