Commit 25dbffa58b5baca030ffd3ea4607be1d60265ebe

Authored by eduardo.batista
1 parent 31c14f85
Exists in master and in 1 other branch desenv

[Feat] Alterando versão do módulo e tamanho da fonte do texto do QRCode

Showing 1 changed file with 5 additions and 3 deletions   Show diff stats
MdWsSeiRest.php
@@ -145,7 +145,7 @@ class MdWsSeiRest extends SeiIntegracao @@ -145,7 +145,7 @@ class MdWsSeiRest extends SeiIntegracao
145 145
146 public function getVersao() 146 public function getVersao()
147 { 147 {
148 - return '0.7.3'; 148 + return '0.7.4';
149 } 149 }
150 150
151 public function getInstituicao() 151 public function getInstituicao()
@@ -277,7 +277,9 @@ class MdWsSeiRest extends SeiIntegracao @@ -277,7 +277,9 @@ class MdWsSeiRest extends SeiIntegracao
277 ."_" 277 ."_"
278 .SessaoSEI::getInstance()->getNumIdOrgaoUsuario() 278 .SessaoSEI::getInstance()->getNumIdOrgaoUsuario()
279 ."_" 279 ."_"
280 - .SessaoSEI::getInstance()->getNumIdContextoUsuario(); 280 + .SessaoSEI::getInstance()->getNumIdContextoUsuario()
  281 + ."_"
  282 + .self::getVersao();
281 $html = CacheSEI::getInstance()->getAtributo($nomeArquivo); 283 $html = CacheSEI::getInstance()->getAtributo($nomeArquivo);
282 284
283 if($html){ 285 if($html){
@@ -324,7 +326,7 @@ class MdWsSeiRest extends SeiIntegracao @@ -324,7 +326,7 @@ class MdWsSeiRest extends SeiIntegracao
324 $infraException->lancarValidacao('Não foi possível ler o arquivo do QRCode.'); 326 $infraException->lancarValidacao('Não foi possível ler o arquivo do QRCode.');
325 } 327 }
326 328
327 - $htmlQrCode .= '<div style="font-size: 18px; text-align: center;">'; 329 + $htmlQrCode .= '<div style="font-size: 16px; text-align: center;">';
328 $htmlQrCode .= '<div style="height: 12px; margin-bottom: 22px; background-color: #01A5DA; border-bottom: 4px solid #AFCF2C;"></div>'; 330 $htmlQrCode .= '<div style="height: 12px; margin-bottom: 22px; background-color: #01A5DA; border-bottom: 4px solid #AFCF2C;"></div>';
329 $htmlQrCode .= '<p style="text-align: left; margin: 5px;">'; 331 $htmlQrCode .= '<p style="text-align: left; margin: 5px;">';
330 $htmlQrCode .= '<strong style="font-weight: bolder">'; 332 $htmlQrCode .= '<strong style="font-weight: bolder">';