Commit 152c98325180c9700d0f5524d47fd7f9cefdae7f

Authored by Guilherme Andrade Del Cantoni
1 parent f331ce96

Ajuste em telas de mapeamento de tipos de documento e hipóteses legais

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