Commit 3069a1e98b3800030734ddd15218ea33996c7bd8

Authored by Adriano César de Oliveira
2 parents 1cb46cf3 713bfe40

Merge branch 'release-1.1.0' of softwarepublico.gov.br:sei/mod-sei-pen into release-1.1.0

@@ -264,7 +264,6 @@ Acesse a funcionalidade **[SEI > Administração > Processo Eletrônico Nacional @@ -264,7 +264,6 @@ Acesse a funcionalidade **[SEI > Administração > Processo Eletrônico Nacional
264 # /usr/bin/php -c /etc/php.ini [DIRETORIO_RAIZ_INSTALAÇÃO]/sei/modulos/pen/rn/PendenciasTramiteRN.php 264 # /usr/bin/php -c /etc/php.ini [DIRETORIO_RAIZ_INSTALAÇÃO]/sei/modulos/pen/rn/PendenciasTramiteRN.php
265 # /usr/bin/php -c /etc/php.ini [DIRETORIO_RAIZ_INSTALAÇÃO]/sei/modulos/pen/rn/ProcessarPendenciasRN.php 265 # /usr/bin/php -c /etc/php.ini [DIRETORIO_RAIZ_INSTALAÇÃO]/sei/modulos/pen/rn/ProcessarPendenciasRN.php
266 266
267 - Caso não esteja houve algum problema de configuração e a expedição de processos não irá funcionar.  
268 **Atenção**: Importante colocar o serviço para ser iniciado automaticamente juntamente com o servidor. 267 **Atenção**: Importante colocar o serviço para ser iniciado automaticamente juntamente com o servidor.
269 268
270 19. Realizar o mapeamento de tipos de documentos do SEI com as especies documentais definidas no PEN, tanto de envio quanto de recebimento. 269 19. Realizar o mapeamento de tipos de documentos do SEI com as especies documentais definidas no PEN, tanto de envio quanto de recebimento.
int/ProcessoEletronicoINT.php
@@ -4,7 +4,7 @@ require_once dirname(__FILE__).'/../../../SEI.php'; @@ -4,7 +4,7 @@ require_once dirname(__FILE__).'/../../../SEI.php';
4 4
5 class ProcessoEletronicoINT extends InfraINT { 5 class ProcessoEletronicoINT extends InfraINT {
6 6
7 - //Situação de cada uma das etapas da expedição de processos 7 + //Situação de cada uma das etapas da envio externo de processos
8 const NEE_EXPEDICAO_ETAPA_VALIDACAO = 1; 8 const NEE_EXPEDICAO_ETAPA_VALIDACAO = 1;
9 const NEE_EXPEDICAO_ETAPA_PROCEDIMENTO = 2; 9 const NEE_EXPEDICAO_ETAPA_PROCEDIMENTO = 2;
10 const NEE_EXPEDICAO_ETAPA_DOCUMENTO = 3; 10 const NEE_EXPEDICAO_ETAPA_DOCUMENTO = 3;
@@ -14,7 +14,7 @@ class ProcessoEletronicoINT extends InfraINT { @@ -14,7 +14,7 @@ class ProcessoEletronicoINT extends InfraINT {
14 const TEE_EXPEDICAO_ETAPA_VALIDACAO = 'Validando informações do processo...'; 14 const TEE_EXPEDICAO_ETAPA_VALIDACAO = 'Validando informações do processo...';
15 const TEE_EXPEDICAO_ETAPA_PROCEDIMENTO = 'Enviando dados do processo %s'; 15 const TEE_EXPEDICAO_ETAPA_PROCEDIMENTO = 'Enviando dados do processo %s';
16 const TEE_EXPEDICAO_ETAPA_DOCUMENTO = 'Enviando documento %s'; 16 const TEE_EXPEDICAO_ETAPA_DOCUMENTO = 'Enviando documento %s';
17 - const TEE_EXPEDICAO_ETAPA_CONCLUSAO = 'Expedição do processo finalizada com sucesso!'; 17 + const TEE_EXPEDICAO_ETAPA_CONCLUSAO = 'Trâmite externo do processo finalizada com sucesso!';
18 18
19 /** 19 /**
20 * Concate as siglas das hierarquias no nome da unidade 20 * Concate as siglas das hierarquias no nome da unidade
pen_map_hipotese_legal_envio_cadastrar.php
@@ -10,7 +10,7 @@ session_start(); @@ -10,7 +10,7 @@ session_start();
10 10
11 define('PEN_RECURSO_ATUAL', 'pen_map_hipotese_legal_envio_cadastrar'); 11 define('PEN_RECURSO_ATUAL', 'pen_map_hipotese_legal_envio_cadastrar');
12 define('PEN_RECURSO_BASE', 'pen_map_hipotese_legal_envio'); 12 define('PEN_RECURSO_BASE', 'pen_map_hipotese_legal_envio');
13 -define('PEN_PAGINA_TITULO', 'Mapeamento de Hipóteses Legais de Envio'); 13 +define('PEN_PAGINA_TITULO', 'Mapeamento de Hipótese Legal para Envio');
14 define('PEN_PAGINA_GET_ID', 'id_mapeamento'); 14 define('PEN_PAGINA_GET_ID', 'id_mapeamento');
15 15
16 $objPagina = PaginaSEI::getInstance(); 16 $objPagina = PaginaSEI::getInstance();
@@ -178,7 +178,7 @@ function onSubmit() { @@ -178,7 +178,7 @@ function onSubmit() {
178 var field = jQuery('select[name=id_hipotese_legal]', form); 178 var field = jQuery('select[name=id_hipotese_legal]', form);
179 179
180 if(field.val() === 'null'){ 180 if(field.val() === 'null'){
181 - alert('Nenhuma "Hipótese Legal - SEI <?=PaginaSEI::tratarHTML($objSessao->getStrSiglaOrgaoUnidadeAtual())?>" foi selecionada'); 181 + alert('Nenhuma "Hipótese Legal SEI - <?=PaginaSEI::tratarHTML($objSessao->getStrSiglaOrgaoUnidadeAtual())?>" foi selecionada');
182 field.focus(); 182 field.focus();
183 return false; 183 return false;
184 } 184 }
@@ -186,7 +186,7 @@ function onSubmit() { @@ -186,7 +186,7 @@ function onSubmit() {
186 field = jQuery('select[name=id_barramento]', form); 186 field = jQuery('select[name=id_barramento]', form);
187 187
188 if(field.val() === 'null'){ 188 if(field.val() === 'null'){
189 - alert('Nenhum "Hipótese Legal - PEN" foi selecionado'); 189 + alert('Nenhum "Hipótese Legal PEN" foi selecionado');
190 field.focus(); 190 field.focus();
191 return false; 191 return false;
192 } 192 }
@@ -202,12 +202,12 @@ $objPagina-&gt;abrirBody($strTitulo,&#39;onload=&quot;inicializar();&quot;&#39;); @@ -202,12 +202,12 @@ $objPagina-&gt;abrirBody($strTitulo,&#39;onload=&quot;inicializar();&quot;&#39;);
202 <?php $objPagina->montarAreaValidacao(); ?> 202 <?php $objPagina->montarAreaValidacao(); ?>
203 <?php $objPagina->abrirAreaDados('12em'); ?> 203 <?php $objPagina->abrirAreaDados('12em'); ?>
204 204
205 - <label for="id_hipotese_legal" class="infraLabelObrigatorio input-label-first">Hipótese Legal - SEI <?=PaginaSEI::tratarHTML($objSessao->getStrSiglaOrgaoUnidadeAtual())?> :</label> 205 + <label for="id_hipotese_legal" class="infraLabelObrigatorio input-label-first">Hipótese Legal SEI - <?=PaginaSEI::tratarHTML($objSessao->getStrSiglaOrgaoUnidadeAtual())?> :</label>
206 <select name="id_hipotese_legal" class="infraSelect input-field-first"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> 206 <select name="id_hipotese_legal" class="infraSelect input-field-first"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>>
207 <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelHipoteseLegalDTO->getNumIdHipoteseLegal(), $arrMapIdHipoteseLegal); ?> 207 <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelHipoteseLegalDTO->getNumIdHipoteseLegal(), $arrMapIdHipoteseLegal); ?>
208 </select> 208 </select>
209 209
210 - <label for="id_barramento" class="infraLabelObrigatorio input-label-third">Hipótese Legal - PEN:</label> 210 + <label for="id_barramento" class="infraLabelObrigatorio input-label-third">Hipótese Legal PEN:</label>
211 <select name="id_barramento" class="infraSelect input-field-third"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> 211 <select name="id_barramento" class="infraSelect input-field-third"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>>
212 <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelHipoteseLegalDTO->getNumIdBarramento(), $arrMapIdBarramento); ?> 212 <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelHipoteseLegalDTO->getNumIdBarramento(), $arrMapIdBarramento); ?>
213 </select> 213 </select>
pen_map_hipotese_legal_envio_listar.php
@@ -12,7 +12,7 @@ session_start(); @@ -12,7 +12,7 @@ session_start();
12 12
13 define('PEN_RECURSO_ATUAL', 'pen_map_hipotese_legal_envio_listar'); 13 define('PEN_RECURSO_ATUAL', 'pen_map_hipotese_legal_envio_listar');
14 define('PEN_RECURSO_BASE', 'pen_map_hipotese_legal_envio'); 14 define('PEN_RECURSO_BASE', 'pen_map_hipotese_legal_envio');
15 -define('PEN_PAGINA_TITULO', 'Mapeamento de Hipóteses Legais de Envio'); 15 +define('PEN_PAGINA_TITULO', 'Mapeamento de Hipóteses Legais para Envio');
16 define('PEN_PAGINA_GET_ID', 'id_mapeamento'); 16 define('PEN_PAGINA_GET_ID', 'id_mapeamento');
17 17
18 18
@@ -188,8 +188,8 @@ try { @@ -188,8 +188,8 @@ try {
188 188
189 $strResultado .= '<tr>'; 189 $strResultado .= '<tr>';
190 $strResultado .= '<th class="infraTh" width="1%">'.$objPagina->getThCheck().'</th>'."\n"; 190 $strResultado .= '<th class="infraTh" width="1%">'.$objPagina->getThCheck().'</th>'."\n";
191 - $strResultado .= '<th class="infraTh" width="35%">Hipótese Legal - SEI '.$objSessao->getStrSiglaOrgaoUnidadeAtual().'</th>'."\n";  
192 - $strResultado .= '<th class="infraTh" width="35%">Hipótese Legal - Tramitação PEN</th>'."\n"; 191 + $strResultado .= '<th class="infraTh" width="35%">Hipótese Legal SEI - '.$objSessao->getStrSiglaOrgaoUnidadeAtual().'</th>'."\n";
  192 + $strResultado .= '<th class="infraTh" width="35%">Hipótese Legal PEN</th>'."\n";
193 $strResultado .= '<th class="infraTh" width="14%">Ações</th>'."\n"; 193 $strResultado .= '<th class="infraTh" width="14%">Ações</th>'."\n";
194 $strResultado .= '</tr>'."\n"; 194 $strResultado .= '</tr>'."\n";
195 $strCssTr = ''; 195 $strCssTr = '';
@@ -357,12 +357,12 @@ $objPagina-&gt;abrirBody(PEN_PAGINA_TITULO,&#39;onload=&quot;inicializar();&quot;&#39;); @@ -357,12 +357,12 @@ $objPagina-&gt;abrirBody(PEN_PAGINA_TITULO,&#39;onload=&quot;inicializar();&quot;&#39;);
357 <?php //$objPagina->montarAreaValidacao(); ?> 357 <?php //$objPagina->montarAreaValidacao(); ?>
358 <?php $objPagina->abrirAreaDados('40px'); ?> 358 <?php $objPagina->abrirAreaDados('40px'); ?>
359 359
360 - <label for="id_hipotese_legal" class="infraLabelObrigatorio input-label-first">Hipótese Legal - SEI <?php print $objSessao->getStrSiglaOrgaoUnidadeAtual(); ?>:</label> 360 + <label for="id_hipotese_legal" class="infraLabelObrigatorio input-label-first">Hipótese Legal SEI - <?php print $objSessao->getStrSiglaOrgaoUnidadeAtual(); ?>:</label>
361 <select name="id_hipotese_legal" class="infraSelect input-field-first"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> 361 <select name="id_hipotese_legal" class="infraSelect input-field-first"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>>
362 <?php print InfraINT::montarSelectArray('', 'Selecione', $objFiltroDTO->getNumIdHipoteseLegal(), $arrMapIdHipoteseLegal); ?> 362 <?php print InfraINT::montarSelectArray('', 'Selecione', $objFiltroDTO->getNumIdHipoteseLegal(), $arrMapIdHipoteseLegal); ?>
363 </select> 363 </select>
364 364
365 - <label for="id_barramento" class="infraLabelObrigatorio input-label-second">Hipótese Legal - Tramitação PEN:</label> 365 + <label for="id_barramento" class="infraLabelObrigatorio input-label-second">Hipótese Legal PEN:</label>
366 <select name="id_barramento" class="infraSelect input-field-second"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> 366 <select name="id_barramento" class="infraSelect input-field-second"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>>
367 <?php print InfraINT::montarSelectArray('', 'Selecione', $objFiltroDTO->getNumIdBarramento(), $arrMapIdBarramento); ?> 367 <?php print InfraINT::montarSelectArray('', 'Selecione', $objFiltroDTO->getNumIdBarramento(), $arrMapIdBarramento); ?>
368 </select> 368 </select>
pen_map_hipotese_legal_recebimento_cadastrar.php
@@ -10,7 +10,7 @@ session_start(); @@ -10,7 +10,7 @@ session_start();
10 10
11 define('PEN_RECURSO_ATUAL', 'pen_map_hipotese_legal_recebimento_cadastrar'); 11 define('PEN_RECURSO_ATUAL', 'pen_map_hipotese_legal_recebimento_cadastrar');
12 define('PEN_RECURSO_BASE', 'pen_map_hipotese_legal_recebimento'); 12 define('PEN_RECURSO_BASE', 'pen_map_hipotese_legal_recebimento');
13 -define('PEN_PAGINA_TITULO', 'Mapeamento de Hipóteses Legais de Recebimento'); 13 +define('PEN_PAGINA_TITULO', 'Mapeamento de Hipótese Legal para Recebimento');
14 define('PEN_PAGINA_GET_ID', 'id_mapeamento'); 14 define('PEN_PAGINA_GET_ID', 'id_mapeamento');
15 15
16 16
@@ -180,7 +180,7 @@ function onSubmit() { @@ -180,7 +180,7 @@ function onSubmit() {
180 var field = jQuery('select[name=id_hipotese_legal]', form); 180 var field = jQuery('select[name=id_hipotese_legal]', form);
181 181
182 if(field.val() === 'null' || !field.val()){ 182 if(field.val() === 'null' || !field.val()){
183 - alert('Nenhuma "Hipótese Legal - SEI <?php print $objSessao->getStrSiglaOrgaoUnidadeAtual(); ?>" foi selecionada'); 183 + alert('Nenhuma "Hipótese Legal SEI - <?php print $objSessao->getStrSiglaOrgaoUnidadeAtual(); ?>" foi selecionada');
184 field.focus(); 184 field.focus();
185 return false; 185 return false;
186 } 186 }
@@ -188,7 +188,7 @@ function onSubmit() { @@ -188,7 +188,7 @@ function onSubmit() {
188 field = jQuery('select[name=id_barramento]', form); 188 field = jQuery('select[name=id_barramento]', form);
189 189
190 if(field.val() === 'null' || !field.val()){ 190 if(field.val() === 'null' || !field.val()){
191 - alert('Nenhum "Hipótese Legal - Tramitação PEN" foi selecionado'); 191 + alert('Nenhum "Hipótese Legal PEN" foi selecionado');
192 field.focus(); 192 field.focus();
193 return false; 193 return false;
194 } 194 }
@@ -204,12 +204,12 @@ $objPagina-&gt;abrirBody($strTitulo,&#39;onload=&quot;inicializar();&quot;&#39;); @@ -204,12 +204,12 @@ $objPagina-&gt;abrirBody($strTitulo,&#39;onload=&quot;inicializar();&quot;&#39;);
204 <?php $objPagina->montarAreaValidacao(); ?> 204 <?php $objPagina->montarAreaValidacao(); ?>
205 <?php $objPagina->abrirAreaDados('12em'); ?> 205 <?php $objPagina->abrirAreaDados('12em'); ?>
206 206
207 - <label for="id_barramento" class="infraLabelObrigatorio input-label-third">Hipótese Legal - Tramitação PEN:</label> 207 + <label for="id_barramento" class="infraLabelObrigatorio input-label-third">Hipótese Legal PEN:</label>
208 <select name="id_barramento" class="infraSelect input-field-third"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> 208 <select name="id_barramento" class="infraSelect input-field-third"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>>
209 <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelHipoteseLegalDTO->getNumIdBarramento(), $arrMapIdBarramento); ?> 209 <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelHipoteseLegalDTO->getNumIdBarramento(), $arrMapIdBarramento); ?>
210 </select> 210 </select>
211 211
212 - <label for="id_hipotese_legal" class="infraLabelObrigatorio input-label-first">Hipótese Legal - SEI <?php print $objSessao->getStrSiglaOrgaoUnidadeAtual(); ?>:</label> 212 + <label for="id_hipotese_legal" class="infraLabelObrigatorio input-label-first">Hipótese Legal SEI - <?php print $objSessao->getStrSiglaOrgaoUnidadeAtual(); ?>:</label>
213 <select name="id_hipotese_legal" class="infraSelect input-field-first"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> 213 <select name="id_hipotese_legal" class="infraSelect input-field-first"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>>
214 <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelHipoteseLegalDTO->getNumIdHipoteseLegal(), $arrMapIdHipoteseLegal); ?> 214 <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelHipoteseLegalDTO->getNumIdHipoteseLegal(), $arrMapIdHipoteseLegal); ?>
215 </select> 215 </select>
pen_map_hipotese_legal_recebimento_listar.php
@@ -17,7 +17,7 @@ session_start(); @@ -17,7 +17,7 @@ session_start();
17 17
18 define('PEN_RECURSO_ATUAL', 'pen_map_hipotese_legal_recebimento_listar'); 18 define('PEN_RECURSO_ATUAL', 'pen_map_hipotese_legal_recebimento_listar');
19 define('PEN_RECURSO_BASE', 'pen_map_hipotese_legal_recebimento'); 19 define('PEN_RECURSO_BASE', 'pen_map_hipotese_legal_recebimento');
20 -define('PEN_PAGINA_TITULO', 'Mapeamento de Hipóteses Legais de Recebimento'); 20 +define('PEN_PAGINA_TITULO', 'Mapeamento de Hipóteses Legais para Recebimento');
21 define('PEN_PAGINA_GET_ID', 'id_mapeamento'); 21 define('PEN_PAGINA_GET_ID', 'id_mapeamento');
22 22
23 23
@@ -192,8 +192,8 @@ try { @@ -192,8 +192,8 @@ try {
192 192
193 $strResultado .= '<tr>'; 193 $strResultado .= '<tr>';
194 $strResultado .= '<th class="infraTh" width="1%">'.$objPagina->getThCheck().'</th>'."\n"; 194 $strResultado .= '<th class="infraTh" width="1%">'.$objPagina->getThCheck().'</th>'."\n";
195 - $strResultado .= '<th class="infraTh" width="35%">Hipótese Legal - SEI '.$objSessao->getStrSiglaOrgaoUnidadeAtual().'</th>'."\n";  
196 - $strResultado .= '<th class="infraTh" width="35%">Hipótese Legal - Tramitação PEN</th>'."\n"; 195 + $strResultado .= '<th class="infraTh" width="35%">Hipótese Legal PEN</th>'."\n";
  196 + $strResultado .= '<th class="infraTh" width="35%">Hipótese Legal SEI - '.$objSessao->getStrSiglaOrgaoUnidadeAtual().'</th>'."\n";
197 $strResultado .= '<th class="infraTh" width="14%">Ações</th>'."\n"; 197 $strResultado .= '<th class="infraTh" width="14%">Ações</th>'."\n";
198 $strResultado .= '</tr>'."\n"; 198 $strResultado .= '</tr>'."\n";
199 $strCssTr = ''; 199 $strCssTr = '';
@@ -205,8 +205,8 @@ try { @@ -205,8 +205,8 @@ try {
205 205
206 $strResultado .= '<tr class="'.$strCssTr.'">'; 206 $strResultado .= '<tr class="'.$strCssTr.'">';
207 $strResultado .= '<td>'.$objPagina->getTrCheck($index, $objPenRelHipoteseLegalDTO->getDblIdMap(), '').'</td>'; 207 $strResultado .= '<td>'.$objPagina->getTrCheck($index, $objPenRelHipoteseLegalDTO->getDblIdMap(), '').'</td>';
208 - $strResultado .= '<td>'.$arrMapIdHipoteseLegal[$objPenRelHipoteseLegalDTO->getNumIdHipoteseLegal()].'</td>';  
209 $strResultado .= '<td>'.$arrMapIdBarramento[$objPenRelHipoteseLegalDTO->getNumIdBarramento()].'</td>'; 208 $strResultado .= '<td>'.$arrMapIdBarramento[$objPenRelHipoteseLegalDTO->getNumIdBarramento()].'</td>';
  209 + $strResultado .= '<td>'.$arrMapIdHipoteseLegal[$objPenRelHipoteseLegalDTO->getNumIdHipoteseLegal()].'</td>';
210 $strResultado .= '<td align="center">'; 210 $strResultado .= '<td align="center">';
211 211
212 //$strResultado .= '<a href="'.$objSessao->assinarLink('controlador.php?acao='.PEN_RECURSO_BASE.'_visualizar&acao_origem='.$_GET['acao_origem'].'&acao_retorno='.$_GET['acao'].'&'.PEN_PAGINA_GET_ID.'='.$objPenRelHipoteseLegalDTO->getDblIdMap()).'"><img src="imagens/consultar.gif" title="Consultar Mapeamento" alt="Consultar Mapeamento" class="infraImg"></a>'; 212 //$strResultado .= '<a href="'.$objSessao->assinarLink('controlador.php?acao='.PEN_RECURSO_BASE.'_visualizar&acao_origem='.$_GET['acao_origem'].'&acao_retorno='.$_GET['acao'].'&'.PEN_PAGINA_GET_ID.'='.$objPenRelHipoteseLegalDTO->getDblIdMap()).'"><img src="imagens/consultar.gif" title="Consultar Mapeamento" alt="Consultar Mapeamento" class="infraImg"></a>';
@@ -362,16 +362,15 @@ $objPagina-&gt;abrirBody(PEN_PAGINA_TITULO,&#39;onload=&quot;inicializar();&quot;&#39;); @@ -362,16 +362,15 @@ $objPagina-&gt;abrirBody(PEN_PAGINA_TITULO,&#39;onload=&quot;inicializar();&quot;&#39;);
362 <?php //$objPagina->montarAreaValidacao(); ?> 362 <?php //$objPagina->montarAreaValidacao(); ?>
363 <?php $objPagina->abrirAreaDados('40px'); ?> 363 <?php $objPagina->abrirAreaDados('40px'); ?>
364 364
365 - <label for="id_hipotese_legal" class="infraLabelObrigatorio input-label-first">Hipótese Legal - SEI <?php print $objSessao->getStrSiglaOrgaoUnidadeAtual(); ?>:</label>  
366 - <select name="id_hipotese_legal" class="infraSelect input-field-first"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>>  
367 - <?php print InfraINT::montarSelectArray('', 'Selecione', $objFiltroDTO->getNumIdHipoteseLegal(), $arrMapIdHipoteseLegal); ?>  
368 - </select>  
369 -  
370 - <label for="id_barramento" class="infraLabelObrigatorio input-label-second">Hipótese Legal - Tramitação PEN:</label>  
371 - <select name="id_barramento" class="infraSelect input-field-second"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> 365 + <label for="id_barramento" class="infraLabelObrigatorio input-label-first">Hipótese Legal PEN:</label>
  366 + <select name="id_barramento" class="infraSelect input-field-first"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>>
372 <?php print InfraINT::montarSelectArray('', 'Selecione', $objFiltroDTO->getNumIdBarramento(), $arrMapIdBarramento); ?> 367 <?php print InfraINT::montarSelectArray('', 'Selecione', $objFiltroDTO->getNumIdBarramento(), $arrMapIdBarramento); ?>
373 </select> 368 </select>
374 - 369 +
  370 + <label for="id_hipotese_legal" class="infraLabelObrigatorio input-label-second">Hipótese Legal SEI - <?php print $objSessao->getStrSiglaOrgaoUnidadeAtual(); ?>:</label>
  371 + <select name="id_hipotese_legal" class="infraSelect input-field-second"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>>
  372 + <?php print InfraINT::montarSelectArray('', 'Selecione', $objFiltroDTO->getNumIdHipoteseLegal(), $arrMapIdHipoteseLegal); ?>
  373 + </select>
375 374
376 <?php $objPagina->fecharAreaDados(); ?> 375 <?php $objPagina->fecharAreaDados(); ?>
377 376
pen_map_tipo_documento_envio_cadastrar.php
@@ -28,17 +28,17 @@ try { @@ -28,17 +28,17 @@ try {
28 $arrComandos[] = '<button type="button" value="Cancelar" onclick="location.href=\'' . $objPaginaSEI->formatarXHTML(SessaoSEI::getInstance()->assinarLink('controlador.php?acao=pen_map_tipo_documento_envio_listar&acao_origem=' . $_GET['acao'])) . '\';" class="infraButton"><span class="infraTeclaAtalho">C</span>ancelar</button>'; 28 $arrComandos[] = '<button type="button" value="Cancelar" onclick="location.href=\'' . $objPaginaSEI->formatarXHTML(SessaoSEI::getInstance()->assinarLink('controlador.php?acao=pen_map_tipo_documento_envio_listar&acao_origem=' . $_GET['acao'])) . '\';" class="infraButton"><span class="infraTeclaAtalho">C</span>ancelar</button>';
29 29
30 if(array_key_exists('codigo_especie', $_GET) && !empty($_GET['codigo_especie'])){ 30 if(array_key_exists('codigo_especie', $_GET) && !empty($_GET['codigo_especie'])){
31 - $strTitulo = 'Editar Mapeamento de Envio'; 31 + $strTitulo = 'Editar Mapeamento de Tipo de Documento para Envio';
32 } 32 }
33 else { 33 else {
34 - $strTitulo = 'Novo Mapeamento de Envio'; 34 + $strTitulo = 'Novo Mapeamento de Tipo de Documento para Envio';
35 } 35 }
36 break; 36 break;
37 37
38 case 'pen_map_tipo_documento_envio_visualizar': 38 case 'pen_map_tipo_documento_envio_visualizar':
39 $arrComandos[] = '<button type="button" name="btnFechar" value="Fechar class="infraButton" onclick="location.href=\'' . $objPaginaSEI->formatarXHTML(SessaoSEI::getInstance()->assinarLink('controlador.php?acao=pen_map_tipo_documento_envio_listar&acao_origem=' . $_GET['acao'])) . '\';"><span class="infraTeclaAtalho">F</span>echar</button>'; 39 $arrComandos[] = '<button type="button" name="btnFechar" value="Fechar class="infraButton" onclick="location.href=\'' . $objPaginaSEI->formatarXHTML(SessaoSEI::getInstance()->assinarLink('controlador.php?acao=pen_map_tipo_documento_envio_listar&acao_origem=' . $_GET['acao'])) . '\';"><span class="infraTeclaAtalho">F</span>echar</button>';
40 $bolSomenteLeitura = true; 40 $bolSomenteLeitura = true;
41 - $strTitulo = 'Consultar Mapeamento de Envio'; 41 + $strTitulo = 'Consultar Mapeamento de Tipo de Documento para Envio';
42 break; 42 break;
43 43
44 44
@@ -125,11 +125,11 @@ $objPaginaSEI-&gt;montarStyle(); @@ -125,11 +125,11 @@ $objPaginaSEI-&gt;montarStyle();
125 ?> 125 ?>
126 <style type="text/css"> 126 <style type="text/css">
127 127
128 -.input-label-first{position:absolute;left:0%;top:40%;width:25%; color: #666!important}  
129 -.input-field-first{position:absolute;left:0%;top:55%;width:25%} 128 +.input-label-first{position:absolute;left:0%;top:0%;width:25%; color: #666!important}
  129 +.input-field-first{position:absolute;left:0%;top:15%;width:25%}
130 130
131 -.input-label-third {position:absolute;left:0%;top:0%;width:25%; color:#666!important}  
132 -.input-field-third {position:absolute;left:0%;top:15%;width:25%;} 131 +.input-label-third {position:absolute;left:0%;top:40%;width:25%; color:#666!important}
  132 +.input-field-third {position:absolute;left:0%;top:55%;width:25%;}
133 133
134 </style> 134 </style>
135 <?php $objPaginaSEI->montarJavaScript(); ?> 135 <?php $objPaginaSEI->montarJavaScript(); ?>
@@ -175,13 +175,13 @@ $objPaginaSEI-&gt;abrirBody($strTitulo,&#39;onload=&quot;inicializar();&quot;&#39;); @@ -175,13 +175,13 @@ $objPaginaSEI-&gt;abrirBody($strTitulo,&#39;onload=&quot;inicializar();&quot;&#39;);
175 <?php //$objPaginaSEI->montarAreaValidacao(); ?> 175 <?php //$objPaginaSEI->montarAreaValidacao(); ?>
176 <?php $objPaginaSEI->abrirAreaDados('12em'); ?> 176 <?php $objPaginaSEI->abrirAreaDados('12em'); ?>
177 177
178 - <label for="id_serie" class="infraLabelObrigatorio input-label-third">Tipo de Documento - SEI <?=PaginaSEI::tratarHTML($objSessao->getStrSiglaOrgaoUnidadeAtual())?> :</label>  
179 - <select name="id_serie" class="infraSelect input-field-third"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> 178 + <label for="id_serie" class="infraLabelObrigatorio input-label-first">Tipo de Documento SEI - <?=PaginaSEI::tratarHTML($objSessao->getStrSiglaOrgaoUnidadeAtual())?>:</label>
  179 + <select name="id_serie" class="infraSelect input-field-first"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>>
180 <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelTipoDocMapEnviadoDTO->getNumIdSerie(), $arrSerie); ?> 180 <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelTipoDocMapEnviadoDTO->getNumIdSerie(), $arrSerie); ?>
181 </select> 181 </select>
182 182
183 - <label for="codigo_especie" class="infraLabelObrigatorio input-label-first">Espécie Documental PEN:</label>  
184 - <select name="codigo_especie" class="infraSelect input-field-first"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> 183 + <label for="codigo_especie" class="infraLabelObrigatorio input-label-third">Espécie Documental PEN:</label>
  184 + <select name="codigo_especie" class="infraSelect input-field-third"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>>
185 <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelTipoDocMapEnviadoDTO->getNumCodigoEspecie(), $objTipoDocMapRN->listarParesEspecie()); ?> 185 <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelTipoDocMapEnviadoDTO->getNumCodigoEspecie(), $objTipoDocMapRN->listarParesEspecie()); ?>
186 </select> 186 </select>
187 187
pen_map_tipo_documento_envio_listar.php
@@ -92,7 +92,7 @@ try { @@ -92,7 +92,7 @@ try {
92 } 92 }
93 //-------------------------------------------------------------------------- 93 //--------------------------------------------------------------------------
94 94
95 - $strTitulo = 'Lista dos Mapeamentos de Envio'; 95 + $strTitulo = 'Lista dos Mapeamentos de Tipos de Documento para Envio';
96 96
97 $arrComandos = array(); 97 $arrComandos = array();
98 $arrComandos[] = '<button type="button" accesskey="P" onclick="onClickBtnPesquisar();" id="btnPesquisar" value="Pesquisar" class="infraButton"><span class="infraTeclaAtalho">P</span>esquisar</button>'; 98 $arrComandos[] = '<button type="button" accesskey="P" onclick="onClickBtnPesquisar();" id="btnPesquisar" value="Pesquisar" class="infraButton"><span class="infraTeclaAtalho">P</span>esquisar</button>';
@@ -140,8 +140,8 @@ try { @@ -140,8 +140,8 @@ try {
140 140
141 $strResultado .= '<tr>'; 141 $strResultado .= '<tr>';
142 $strResultado .= '<th class="infraTh" width="1%">'.$objPaginaSEI->getThCheck().'</th>'."\n"; 142 $strResultado .= '<th class="infraTh" width="1%">'.$objPaginaSEI->getThCheck().'</th>'."\n";
143 - $strResultado .= '<th class="infraTh" width="35%">Especie Documental</th>'."\n";  
144 - $strResultado .= '<th class="infraTh" width="35%">Tipo de Documento</th>'."\n"; 143 + $strResultado .= '<th class="infraTh" width="35%">Tipo de Documento SEI</th>'."\n";
  144 + $strResultado .= '<th class="infraTh" width="35%">Espécie Documental PEN</th>'."\n";
145 $strResultado .= '<th class="infraTh" width="14%">Ações</th>'."\n"; 145 $strResultado .= '<th class="infraTh" width="14%">Ações</th>'."\n";
146 $strResultado .= '</tr>'."\n"; 146 $strResultado .= '</tr>'."\n";
147 $strCssTr = ''; 147 $strCssTr = '';
@@ -153,8 +153,8 @@ try { @@ -153,8 +153,8 @@ try {
153 153
154 $strResultado .= '<tr class="'.$strCssTr.'">'; 154 $strResultado .= '<tr class="'.$strCssTr.'">';
155 $strResultado .= '<td>'.$objPaginaSEI->getTrCheck($index, $objPenRelTipoDocMapEnviadoDTO->getDblIdMap(), '').'</td>'; 155 $strResultado .= '<td>'.$objPaginaSEI->getTrCheck($index, $objPenRelTipoDocMapEnviadoDTO->getDblIdMap(), '').'</td>';
156 - $strResultado .= '<td>'.$objPenRelTipoDocMapEnviadoDTO->getStrNomeEspecie().'</td>';  
157 $strResultado .= '<td>'.$objPenRelTipoDocMapEnviadoDTO->getStrNomeSerie().'</td>'; 156 $strResultado .= '<td>'.$objPenRelTipoDocMapEnviadoDTO->getStrNomeSerie().'</td>';
  157 + $strResultado .= '<td>'.$objPenRelTipoDocMapEnviadoDTO->getStrNomeEspecie().'</td>';
158 $strResultado .= '<td align="center">'; 158 $strResultado .= '<td align="center">';
159 159
160 if($objSessaoSEI->verificarPermissao('pen_map_tipo_documento_envio_visualizar')) { 160 if($objSessaoSEI->verificarPermissao('pen_map_tipo_documento_envio_visualizar')) {
@@ -312,12 +312,12 @@ $objPaginaSEI-&gt;abrirBody($strTitulo,&#39;onload=&quot;inicializar();&quot;&#39;); @@ -312,12 +312,12 @@ $objPaginaSEI-&gt;abrirBody($strTitulo,&#39;onload=&quot;inicializar();&quot;&#39;);
312 <?php $objPaginaSEI->montarBarraComandosSuperior($arrComandos); ?> 312 <?php $objPaginaSEI->montarBarraComandosSuperior($arrComandos); ?>
313 <?php //$objPaginaSEI->montarAreaValidacao(); ?> 313 <?php //$objPaginaSEI->montarAreaValidacao(); ?>
314 <?php $objPaginaSEI->abrirAreaDados('40px'); ?> 314 <?php $objPaginaSEI->abrirAreaDados('40px'); ?>
315 -  
316 - <label for="nome_especie" class="infraLabelObrigatorio input-label-first">Espécie Documental:</label>  
317 - <input type="text" name="nome_especie" class="infraText input-field-first" onkeyup="return tratarEnter(event)" value="<?php print $_POST['nome_especie']; ?>"/>  
318 315
319 - <label for="nome_serie" class="infraLabelObrigatorio input-label-second">Tipo de Documento:</label>  
320 - <input type="text" name="nome_serie" class="infraText input-field-second" onkeyup="return tratarEnter(event)" value="<?php print $_POST['nome_serie']; ?>"/> 316 + <label for="nome_serie" class="infraLabelObrigatorio input-label-first">Tipo de Documento SEI:</label>
  317 + <input type="text" name="nome_serie" class="infraText input-field-first" onkeyup="return tratarEnter(event)" value="<?php print $_POST['nome_serie']; ?>"/>
  318 +
  319 + <label for="nome_especie" class="infraLabelObrigatorio input-label-second">Espécie Documental PEN:</label>
  320 + <input type="text" name="nome_especie" class="infraText input-field-second" onkeyup="return tratarEnter(event)" value="<?php print $_POST['nome_especie']; ?>"/>
321 321
322 <?php $objPaginaSEI->fecharAreaDados(); ?> 322 <?php $objPaginaSEI->fecharAreaDados(); ?>
323 323
pen_map_tipo_documento_recebimento_cadastrar.php
@@ -30,17 +30,17 @@ try { @@ -30,17 +30,17 @@ try {
30 $bolDesativarCampos = false; 30 $bolDesativarCampos = false;
31 31
32 if(array_key_exists('codigo_especie', $_GET) && !empty($_GET['codigo_especie'])){ 32 if(array_key_exists('codigo_especie', $_GET) && !empty($_GET['codigo_especie'])){
33 - $strTitulo = 'Editar Mapeamento de Recebimento'; 33 + $strTitulo = 'Editar Mapeamento de Tipo de Documento para Recebimento';
34 } 34 }
35 else { 35 else {
36 - $strTitulo = 'Novo Mapeamento de Recebimento'; 36 + $strTitulo = 'Novo Mapeamento de Tipo de Documento para Recebimento';
37 } 37 }
38 break; 38 break;
39 39
40 case 'pen_map_tipo_documento_recebimento_visualizar': 40 case 'pen_map_tipo_documento_recebimento_visualizar':
41 $arrComandos[] = '<button type="button" name="btnFechar" value="Fechar class="infraButton" onclick="location.href=\'' . $objPaginaSEI->formatarXHTML(SessaoSEI::getInstance()->assinarLink('controlador.php?acao=pen_map_tipo_documento_recebimento_listar&acao_origem=' . $_GET['acao'])) . '\';">Fechar</button>'; 41 $arrComandos[] = '<button type="button" name="btnFechar" value="Fechar class="infraButton" onclick="location.href=\'' . $objPaginaSEI->formatarXHTML(SessaoSEI::getInstance()->assinarLink('controlador.php?acao=pen_map_tipo_documento_recebimento_listar&acao_origem=' . $_GET['acao'])) . '\';">Fechar</button>';
42 $bolSomenteLeitura = true; 42 $bolSomenteLeitura = true;
43 - $strTitulo = 'Consultar Mapeamento de Recebimento'; 43 + $strTitulo = 'Consultar Mapeamento Tipo de Documento para Recebimento';
44 break; 44 break;
45 45
46 46
@@ -181,7 +181,7 @@ $objPaginaSEI-&gt;abrirBody($strTitulo,&#39;onload=&quot;inicializar();&quot;&#39;); @@ -181,7 +181,7 @@ $objPaginaSEI-&gt;abrirBody($strTitulo,&#39;onload=&quot;inicializar();&quot;&#39;);
181 <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelTipoDocMapRecebidoDTO->getNumCodigoEspecie(), $arrEspecieDocumental); ?> 181 <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelTipoDocMapRecebidoDTO->getNumCodigoEspecie(), $arrEspecieDocumental); ?>
182 </select> 182 </select>
183 183
184 - <label for="id_serie" class="infraLabelObrigatorio input-label-third">Tipo de Documento - SEI <?=PaginaSEI::tratarHTML($objSessao->getStrSiglaOrgaoUnidadeAtual())?> :</label> 184 + <label for="id_serie" class="infraLabelObrigatorio input-label-third">Tipo de Documento SEI - <?=PaginaSEI::tratarHTML($objSessao->getStrSiglaOrgaoUnidadeAtual())?>:</label>
185 <select name="id_serie" class="infraSelect input-field-third"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>> 185 <select name="id_serie" class="infraSelect input-field-third"<?php if($bolSomenteLeitura): ?> disabled="disabled" readonly="readonly"<?php endif; ?>>
186 <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelTipoDocMapRecebidoDTO->getNumIdSerie(), $objTipoDocMapRN->listarParesSerie()); ?> 186 <?php print InfraINT::montarSelectArray('', 'Selecione', $objPenRelTipoDocMapRecebidoDTO->getNumIdSerie(), $objTipoDocMapRN->listarParesSerie()); ?>
187 </select> 187 </select>
pen_map_tipo_documento_recebimento_listar.php
@@ -73,7 +73,7 @@ try { @@ -73,7 +73,7 @@ try {
73 } 73 }
74 //-------------------------------------------------------------------------- 74 //--------------------------------------------------------------------------
75 75
76 - $strTitulo = 'Lista dos Mapeamentos de Recebimento'; 76 + $strTitulo = 'Lista dos Mapeamentos de Tipos de Documento para Recebimento';
77 77
78 $arrComandos = array(); 78 $arrComandos = array();
79 $arrComandos[] = '<button type="button" accesskey="P" onclick="onClickBtnPesquisar();" id="btnPesquisar" value="Pesquisar" class="infraButton"><span class="infraTeclaAtalho">P</span>esquisar</button>'; 79 $arrComandos[] = '<button type="button" accesskey="P" onclick="onClickBtnPesquisar();" id="btnPesquisar" value="Pesquisar" class="infraButton"><span class="infraTeclaAtalho">P</span>esquisar</button>';
@@ -119,8 +119,8 @@ try { @@ -119,8 +119,8 @@ try {
119 119
120 $strResultado .= '<tr>'; 120 $strResultado .= '<tr>';
121 $strResultado .= '<th class="infraTh" width="1%">'.$objPaginaSEI->getThCheck().'</th>'."\n"; 121 $strResultado .= '<th class="infraTh" width="1%">'.$objPaginaSEI->getThCheck().'</th>'."\n";
122 - $strResultado .= '<th class="infraTh" width="35%">Especie Documental</th>'."\n";  
123 - $strResultado .= '<th class="infraTh" width="35%">Tipo de Documento</th>'."\n"; 122 + $strResultado .= '<th class="infraTh" width="35%">Espécie Documental PEN</th>'."\n";
  123 + $strResultado .= '<th class="infraTh" width="35%">Tipo de Documento SEI</th>'."\n";
124 $strResultado .= '<th class="infraTh" width="14%">Ações</th>'."\n"; 124 $strResultado .= '<th class="infraTh" width="14%">Ações</th>'."\n";
125 $strResultado .= '</tr>'."\n"; 125 $strResultado .= '</tr>'."\n";
126 $strCssTr = ''; 126 $strCssTr = '';
@@ -260,10 +260,10 @@ $objPaginaSEI-&gt;abrirBody($strTitulo,&#39;onload=&quot;inicializar();&quot;&#39;); @@ -260,10 +260,10 @@ $objPaginaSEI-&gt;abrirBody($strTitulo,&#39;onload=&quot;inicializar();&quot;&#39;);
260 <?php $objPaginaSEI->montarBarraComandosSuperior($arrComandos); ?> 260 <?php $objPaginaSEI->montarBarraComandosSuperior($arrComandos); ?>
261 <?php //$objPaginaSEI->montarAreaValidacao(); ?> 261 <?php //$objPaginaSEI->montarAreaValidacao(); ?>
262 <?php $objPaginaSEI->abrirAreaDados('40px'); ?> 262 <?php $objPaginaSEI->abrirAreaDados('40px'); ?>
263 - <label for="nome_especie" class="infraLabelObrigatorio input-label-first">Espécie Documental:</label> 263 + <label for="nome_especie" class="infraLabelObrigatorio input-label-first">Espécie Documental PEN:</label>
264 <input type="text" name="nome_especie" class="infraText input-field-first" onkeyup="return tratarEnter(event)" value="<?php print $_POST['nome_especie']; ?>"/> 264 <input type="text" name="nome_especie" class="infraText input-field-first" onkeyup="return tratarEnter(event)" value="<?php print $_POST['nome_especie']; ?>"/>
265 265
266 - <label for="nome_serie" class="infraLabelObrigatorio input-label-second">Tipo de Documento:</label> 266 + <label for="nome_serie" class="infraLabelObrigatorio input-label-second">Tipo de Documento SEI:</label>
267 <input type="text" name="nome_serie" class="infraText input-field-second" onkeyup="return tratarEnter(event)" value="<?php print $_POST['nome_serie']; ?>"/> 267 <input type="text" name="nome_serie" class="infraText input-field-second" onkeyup="return tratarEnter(event)" value="<?php print $_POST['nome_serie']; ?>"/>
268 <?php $objPaginaSEI->fecharAreaDados(); ?> 268 <?php $objPaginaSEI->fecharAreaDados(); ?>
269 269
pen_procedimento_cancelar_expedir.php
@@ -4,7 +4,7 @@ require_once dirname(__FILE__) . &#39;/../../SEI.php&#39;; @@ -4,7 +4,7 @@ require_once dirname(__FILE__) . &#39;/../../SEI.php&#39;;
4 4
5 session_start(); 5 session_start();
6 6
7 -$strMensagem = "A Expedição do Processo foi Cancelada com Sucesso!"; 7 +$strMensagem = "O trâmite externo do processo foi cancelado com sucesso!";
8 8
9 try { 9 try {
10 10
pen_procedimento_expedido_listar.php
@@ -57,7 +57,7 @@ try { @@ -57,7 +57,7 @@ try {
57 $strResultado .= '<th class="infraTh" width="1%">' . $objPaginaSEI->getThCheck() . '</th>' . "\n"; 57 $strResultado .= '<th class="infraTh" width="1%">' . $objPaginaSEI->getThCheck() . '</th>' . "\n";
58 $strResultado .= '<th class="infraTh">Processo</th>' . "\n"; 58 $strResultado .= '<th class="infraTh">Processo</th>' . "\n";
59 $strResultado .= '<th class="infraTh">Usuário</th>' . "\n"; 59 $strResultado .= '<th class="infraTh">Usuário</th>' . "\n";
60 - $strResultado .= '<th class="infraTh">Data de Expedição</th>' . "\n"; 60 + $strResultado .= '<th class="infraTh">Data do Envio</th>' . "\n";
61 $strResultado .= '<th class="infraTh">Unidade Destino</th>' . "\n"; 61 $strResultado .= '<th class="infraTh">Unidade Destino</th>' . "\n";
62 $strResultado .= '</tr>' . "\n"; 62 $strResultado .= '</tr>' . "\n";
63 $strCssTr = ''; 63 $strCssTr = '';
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
@@ -135,7 +135,7 @@ class ExpedirProcedimentoRN extends InfraRN { @@ -135,7 +135,7 @@ class ExpedirProcedimentoRN extends InfraRN {
135 135
136 $objInfraException = new InfraException(); 136 $objInfraException = new InfraException();
137 137
138 - //Carregamento dos dados de processo e documento para validação e expedição 138 + //Carregamento dos dados de processo e documento para validação e envio externo
139 $objProcedimentoDTO = $this->consultarProcedimento($dblIdProcedimento); 139 $objProcedimentoDTO = $this->consultarProcedimento($dblIdProcedimento);
140 $objProcedimentoDTO->setArrObjDocumentoDTO($this->listarDocumentos($dblIdProcedimento)); 140 $objProcedimentoDTO->setArrObjDocumentoDTO($this->listarDocumentos($dblIdProcedimento));
141 $objProcedimentoDTO->setArrObjParticipanteDTO($this->listarInteressados($dblIdProcedimento)); 141 $objProcedimentoDTO->setArrObjParticipanteDTO($this->listarInteressados($dblIdProcedimento));
@@ -482,7 +482,7 @@ class ExpedirProcedimentoRN extends InfraRN { @@ -482,7 +482,7 @@ class ExpedirProcedimentoRN extends InfraRN {
482 $objAtributoAndamentoDTO = new AtributoAndamentoDTO(); 482 $objAtributoAndamentoDTO = new AtributoAndamentoDTO();
483 $objAtributoAndamentoDTO->setStrNome('MOTIVO'); 483 $objAtributoAndamentoDTO->setStrNome('MOTIVO');
484 $objAtributoAndamentoDTO->setStrIdOrigem(null); 484 $objAtributoAndamentoDTO->setStrIdOrigem(null);
485 - $objAtributoAndamentoDTO->setStrValor('Processo está em processamento devido sua expedição para outra entidade.'); 485 + $objAtributoAndamentoDTO->setStrValor('Processo está em processamento devido ao seu trâmite externo para outra unidade.');
486 $objAtividadeDTO->setArrObjAtributoAndamentoDTO(array($objAtributoAndamentoDTO)); 486 $objAtividadeDTO->setArrObjAtributoAndamentoDTO(array($objAtributoAndamentoDTO));
487 487
488 $objAtividadeRN = new AtividadeRN(); 488 $objAtividadeRN = new AtividadeRN();
@@ -1168,7 +1168,7 @@ class ExpedirProcedimentoRN extends InfraRN { @@ -1168,7 +1168,7 @@ class ExpedirProcedimentoRN extends InfraRN {
1168 $objPenParametroRN = new PenParametroRN(); 1168 $objPenParametroRN = new PenParametroRN();
1169 if($objAnexoDTO->getNumTamanho() > ($objPenParametroRN->getParametro('PEN_TAMANHO_MAXIMO_DOCUMENTO_EXPEDIDO') * 1024 * 1024) && $objDocumentoDTO->getStrStaEstadoProtocolo() != ProtocoloRN::$TE_DOCUMENTO_CANCELADO){ 1169 if($objAnexoDTO->getNumTamanho() > ($objPenParametroRN->getParametro('PEN_TAMANHO_MAXIMO_DOCUMENTO_EXPEDIDO') * 1024 * 1024) && $objDocumentoDTO->getStrStaEstadoProtocolo() != ProtocoloRN::$TE_DOCUMENTO_CANCELADO){
1170 $strTamanhoFormatado = round(($objAnexoDTO->getNumTamanho() / 1024) / 1024,2); 1170 $strTamanhoFormatado = round(($objAnexoDTO->getNumTamanho() / 1024) / 1024,2);
1171 - throw new InfraException("O tamanho do documento {$strTamanhoFormatado} MB é maior que os {$objPenParametroRN->getParametro('PEN_TAMANHO_MAXIMO_DOCUMENTO_EXPEDIDO')} MB permitidos para a expedição de documentos externos."); 1171 + throw new InfraException("O tamanho do documento {$strTamanhoFormatado} MB é maior que os {$objPenParametroRN->getParametro('PEN_TAMANHO_MAXIMO_DOCUMENTO_EXPEDIDO')} MB permitidos para trâmite externo de documentos.");
1172 } 1172 }
1173 1173
1174 //Obtenção do conteúdo do documento externo 1174 //Obtenção do conteúdo do documento externo
@@ -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
rn/PenAtividadeRN.php
@@ -398,7 +398,7 @@ class PenAtividadeRN extends AtividadeRN { @@ -398,7 +398,7 @@ class PenAtividadeRN extends AtividadeRN {
398 398
399 switch($numIdTarefa){ 399 switch($numIdTarefa){
400 case ProcessoEletronicoRN::obterIdTarefaModulo(ProcessoEletronicoRN::$TI_PROCESSO_ELETRONICO_PROCESSO_EXPEDIDO): 400 case ProcessoEletronicoRN::obterIdTarefaModulo(ProcessoEletronicoRN::$TI_PROCESSO_ELETRONICO_PROCESSO_EXPEDIDO):
401 - $strMensagem = 'Expedição do Processo %s para %s'; 401 + $strMensagem = 'Trâmite externo do Processo %s para %s';
402 $strNome = 'UNIDADE_DESTINO'; 402 $strNome = 'UNIDADE_DESTINO';
403 403
404 $objReciboTramiteDTO = new ReciboTramiteDTO(); 404 $objReciboTramiteDTO = new ReciboTramiteDTO();
rn/ProcessoEletronicoRN.php
@@ -1088,7 +1088,7 @@ class ProcessoEletronicoRN extends InfraRN { @@ -1088,7 +1088,7 @@ class ProcessoEletronicoRN extends InfraRN {
1088 break; 1088 break;
1089 1089
1090 case static::$STA_SITUACAO_TRAMITE_RECIBO_RECEBIDO_REMETENTE: 1090 case static::$STA_SITUACAO_TRAMITE_RECIBO_RECEBIDO_REMETENTE:
1091 - throw new InfraException(utf8_encode('A expedição desse processo já está concluída')); 1091 + throw new InfraException(utf8_encode('O trâmite externo deste processo já foi concluído'));
1092 break; 1092 break;
1093 1093
1094 default: 1094 default:
@@ -1288,7 +1288,7 @@ class ProcessoEletronicoRN extends InfraRN { @@ -1288,7 +1288,7 @@ class ProcessoEletronicoRN extends InfraRN {
1288 1288
1289 1289
1290 /** 1290 /**
1291 - * Cancela um tramite de expedição de um procedimento para outra unidade, gera 1291 + * Cancela um tramite externo de um procedimento para outra unidade, gera
1292 * falha caso a unidade de destino já tenha começado a receber o procedimento. 1292 * falha caso a unidade de destino já tenha começado a receber o procedimento.
1293 * 1293 *
1294 * @param type $idTramite 1294 * @param type $idTramite
rn/ReceberProcedimentoRN.php
@@ -1656,7 +1656,7 @@ class ReceberProcedimentoRN extends InfraRN @@ -1656,7 +1656,7 @@ class ReceberProcedimentoRN extends InfraRN
1656 $objProcessoEletronicoBD = new ProcessoEletronicoBD($this->getObjInfraIBanco()); 1656 $objProcessoEletronicoBD = new ProcessoEletronicoBD($this->getObjInfraIBanco());
1657 $objProcessoEletronicoDTO = $objProcessoEletronicoBD->consultar($objProcessoEletronicoDTO); 1657 $objProcessoEletronicoDTO = $objProcessoEletronicoBD->consultar($objProcessoEletronicoDTO);
1658 1658
1659 - //Busca a última atividade de expedição 1659 + //Busca a última atividade de trâmite externo
1660 $objAtividadeDTO = new AtividadeDTO(); 1660 $objAtividadeDTO = new AtividadeDTO();
1661 $objAtividadeDTO->setDblIdProtocolo($objProcessoEletronicoDTO->getDblIdProcedimento()); 1661 $objAtividadeDTO->setDblIdProtocolo($objProcessoEletronicoDTO->getDblIdProcedimento());
1662 $objAtividadeDTO->setNumIdTarefa(ProcessoEletronicoRN::obterIdTarefaModulo(ProcessoEletronicoRN::$TI_PROCESSO_ELETRONICO_PROCESSO_EXPEDIDO)); 1662 $objAtividadeDTO->setNumIdTarefa(ProcessoEletronicoRN::obterIdTarefaModulo(ProcessoEletronicoRN::$TI_PROCESSO_ELETRONICO_PROCESSO_EXPEDIDO));