Commit 713bfe400ed394ab443b4f7141acadcaa873b462
1 parent
30ebb564
Exists in
master
and in
21 other branches
Ajuste em mensagens do módulo para remover a mensão ao termo expedição
Showing
2 changed files
with
6 additions
and
6 deletions
Show diff stats
pen_procedimento_expedir.php
@@ -504,7 +504,7 @@ function enviarForm(el){ | @@ -504,7 +504,7 @@ function enviarForm(el){ | ||
504 | 504 | ||
505 | if(!resp.sucesso) { | 505 | if(!resp.sucesso) { |
506 | 506 | ||
507 | - var strRespMensagem = "Verifique alguns erros no procedimento antes de expedir:\n\n"; | 507 | + var strRespMensagem = "Verifique alguns erros no processo antes de tramitar:\n\n"; |
508 | 508 | ||
509 | jQuery.each(resp.erros, function(strProtocoloFormatado, arrStrMensagem){ | 509 | jQuery.each(resp.erros, function(strProtocoloFormatado, arrStrMensagem){ |
510 | 510 |
rn/ExpedirProcedimentoRN.php
@@ -1620,7 +1620,7 @@ class ExpedirProcedimentoRN extends InfraRN { | @@ -1620,7 +1620,7 @@ class ExpedirProcedimentoRN extends InfraRN { | ||
1620 | { | 1620 | { |
1621 | $arrObjDocumentoDTO = $objProcedimentoDTO->getArrObjDocumentoDTO(); | 1621 | $arrObjDocumentoDTO = $objProcedimentoDTO->getArrObjDocumentoDTO(); |
1622 | if(!isset($arrObjDocumentoDTO) || count($arrObjDocumentoDTO) == 0) { | 1622 | if(!isset($arrObjDocumentoDTO) || count($arrObjDocumentoDTO) == 0) { |
1623 | - $objInfraException->adicionarValidacao('Não é possvel expedir um processo sem documentos', $strAtributoValidacao); | 1623 | + $objInfraException->adicionarValidacao('Não é possível trâmitar um processo sem documentos', $strAtributoValidacao); |
1624 | } | 1624 | } |
1625 | } | 1625 | } |
1626 | 1626 | ||
@@ -1686,7 +1686,7 @@ class ExpedirProcedimentoRN extends InfraRN { | @@ -1686,7 +1686,7 @@ class ExpedirProcedimentoRN extends InfraRN { | ||
1686 | 1686 | ||
1687 | if(isset($arrObjAtividadeDTO) && count($arrObjAtividadeDTO) > 1) { | 1687 | if(isset($arrObjAtividadeDTO) && count($arrObjAtividadeDTO) > 1) { |
1688 | $strSiglaUnidade = implode(', ', InfraArray::converterArrInfraDTO($arrObjAtividadeDTO, 'SiglaUnidade')); | 1688 | $strSiglaUnidade = implode(', ', InfraArray::converterArrInfraDTO($arrObjAtividadeDTO, 'SiglaUnidade')); |
1689 | - $objInfraException->adicionarValidacao("Não é possível expedir processo aberto em mais de uma unidade. ($strSiglaUnidade)", $strAtributoValidacao); | 1689 | + $objInfraException->adicionarValidacao("Não é possível trâmitar um processo aberto em mais de uma unidade. ($strSiglaUnidade)", $strAtributoValidacao); |
1690 | } | 1690 | } |
1691 | } | 1691 | } |
1692 | 1692 | ||
@@ -1700,7 +1700,7 @@ class ExpedirProcedimentoRN extends InfraRN { | @@ -1700,7 +1700,7 @@ class ExpedirProcedimentoRN extends InfraRN { | ||
1700 | // $objProcedimentoDTO = $this->objProcedimentoRN->consultarRN0201($objProcedimentoDTO); | 1700 | // $objProcedimentoDTO = $this->objProcedimentoRN->consultarRN0201($objProcedimentoDTO); |
1701 | 1701 | ||
1702 | if ($objProcedimentoDTO->getStrStaNivelAcessoLocalProtocolo() == ProtocoloRN::$NA_SIGILOSO) { | 1702 | if ($objProcedimentoDTO->getStrStaNivelAcessoLocalProtocolo() == ProtocoloRN::$NA_SIGILOSO) { |
1703 | - $objInfraException->adicionarValidacao('Não é possível expedir processo com informações sigilosas.', $strAtributoValidacao); | 1703 | + $objInfraException->adicionarValidacao('Não é possível trâmitar um processo com informações sigilosas.', $strAtributoValidacao); |
1704 | } | 1704 | } |
1705 | } | 1705 | } |
1706 | 1706 | ||
@@ -1713,7 +1713,7 @@ class ExpedirProcedimentoRN extends InfraRN { | @@ -1713,7 +1713,7 @@ class ExpedirProcedimentoRN extends InfraRN { | ||
1713 | private function validarHipoteseLegalEnvio(InfraException $objInfraException, ProcedimentoDTO $objProcedimentoDTO, $strAtributoValidacao = null) { | 1713 | private function validarHipoteseLegalEnvio(InfraException $objInfraException, ProcedimentoDTO $objProcedimentoDTO, $strAtributoValidacao = null) { |
1714 | if ($objProcedimentoDTO->getStrStaNivelAcessoLocalProtocolo() == ProtocoloRN::$NA_RESTRITO) { | 1714 | if ($objProcedimentoDTO->getStrStaNivelAcessoLocalProtocolo() == ProtocoloRN::$NA_RESTRITO) { |
1715 | if (empty($objProcedimentoDTO->getNumIdHipoteseLegalProtocolo())) { | 1715 | if (empty($objProcedimentoDTO->getNumIdHipoteseLegalProtocolo())) { |
1716 | - $objInfraException->adicionarValidacao('Não é possível expedir processo de nível restrito sem a hipótese legal mapeada.', $strAtributoValidacao); | 1716 | + $objInfraException->adicionarValidacao('Não é possível trâmitar um processo de nível restrito sem a hipótese legal mapeada.', $strAtributoValidacao); |
1717 | } | 1717 | } |
1718 | } | 1718 | } |
1719 | } | 1719 | } |
@@ -1754,7 +1754,7 @@ class ExpedirProcedimentoRN extends InfraRN { | @@ -1754,7 +1754,7 @@ class ExpedirProcedimentoRN extends InfraRN { | ||
1754 | } | 1754 | } |
1755 | 1755 | ||
1756 | if($bolAssinaturaCorretas !== true) { | 1756 | if($bolAssinaturaCorretas !== true) { |
1757 | - $objInfraException->adicionarValidacao('Não é possível expedir processos com documentos gerados e não assinados', $strAtributoValidacao); | 1757 | + $objInfraException->adicionarValidacao('Não é possível trâmitar um processos com documentos gerados e não assinados', $strAtributoValidacao); |
1758 | } | 1758 | } |
1759 | } | 1759 | } |
1760 | 1760 |