Commit 72f5c3e8e9587a00f2aeca2bf1173dfde5d782e6

Authored by eduardo.batista
1 parent 450bc080
Exists in master and in 1 other branch desenv

[Fix] Removendo visualização de documento para unidade protocoladora.

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
rn/MdWsSeiDocumentoRN.php
... ... @@ -445,7 +445,7 @@ class MdWsSeiDocumentoRN extends DocumentoRN {
445 445 $protocoloDTODocumento = $arrProtocoloDTO[$documentoDTO->getDblIdDocumento()];
446 446  
447 447 $numCodigoAcesso = $protocoloDTODocumento->getNumCodigoAcesso();
448   - if ($numCodigoAcesso > 0 || $bolFlagProtocolo) {
  448 + if ($numCodigoAcesso > 0) {
449 449 $podeVisualizar = true;
450 450 }
451 451 if ($documentoDTO->getStrStaEstadoProtocolo() == ProtocoloRN::$TE_DOCUMENTO_CANCELADO) {
... ...