diff --git a/ieducar/modules/TabelaArredondamento/Views/EditController.php b/ieducar/modules/TabelaArredondamento/Views/EditController.php index 7faf35b..60bab61 100644 --- a/ieducar/modules/TabelaArredondamento/Views/EditController.php +++ b/ieducar/modules/TabelaArredondamento/Views/EditController.php @@ -156,8 +156,12 @@ class EditController extends Core_Controller_Page_EditController $notaTipoValor = RegraAvaliacao_Model_Nota_TipoValor::getInstance(); $notaTipos = $notaTipoValor->getEnums(); unset($notaTipos[RegraAvaliacao_Model_Nota_TipoValor::NENHUM]); - $this->campoRadio('tipoNota', $this->_getLabel('tipoNota'), $notaTipos, - $this->getEntity()->get('tipoNota'), '', $this->_getHelp('tipoNota')); + if ($this->getEntity()->id!='') + $this->campoTexto('tipNota',$this->_getLabel('tipoNota'),$notaTipos[$this->getEntity()->get('tipoNota')], + 40,40,false,false,false,'','','','',true); + else + $this->campoRadio('tipoNota', $this->_getLabel('tipoNota'), $notaTipos, + $this->getEntity()->get('tipoNota'), '', $this->_getHelp('tipoNota')); // Parte condicional if (!$this->getEntity()->isNew()) { -- libgit2 0.21.2