Commit e4fa2a7caa86a8143f95d376cd7aa914fa0d03b6
1 parent
42d64c8f
Exists in
master
and in
21 other branches
erro lógico - assinatura digital
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
rn/ExpedirProcedimentoRN.php
@@ -1577,7 +1577,7 @@ class ExpedirProcedimentoRN extends InfraRN { | @@ -1577,7 +1577,7 @@ class ExpedirProcedimentoRN extends InfraRN { | ||
1577 | 1577 | ||
1578 | // Se o documento não tem assinatura e não foi cancelado então | 1578 | // Se o documento não tem assinatura e não foi cancelado então |
1579 | // cai na regra de validação | 1579 | // cai na regra de validação |
1580 | - if($objAssinaturaRN->contarRN1324($objAssinaturaDTO) == 0 && $objDocumentoDTO->getStrStaEstadoProtocolo() != ProtocoloRN::$TE_DOCUMENTO_CANCELADO && ($objDocumentoDTO->getStrStaDocumento() != DocumentoRN::$TD_EDITOR_EDOC || $objDocumentoDTO->getStrStaDocumento() != DocumentoRN::$TD_EDITOR_INTERNO) ){ | 1580 | + if($objAssinaturaRN->contarRN1324($objAssinaturaDTO) == 0 && $objDocumentoDTO->getStrStaEstadoProtocolo() != ProtocoloRN::$TE_DOCUMENTO_CANCELADO && ($objDocumentoDTO->getStrStaDocumento() == DocumentoRN::$TD_EDITOR_EDOC || $objDocumentoDTO->getStrStaDocumento() == DocumentoRN::$TD_EDITOR_INTERNO) ){ |
1581 | 1581 | ||
1582 | $bolAssinaturaCorretas = false; | 1582 | $bolAssinaturaCorretas = false; |
1583 | } | 1583 | } |