Commit 23acc8ef828e45faffce53ac6baed787253807e4

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

[Feat] Alterando texto do qrcode.

Showing 1 changed file with 10 additions and 6 deletions   Show diff stats
MdWsSeiRest.php
@@ -277,8 +277,7 @@ class MdWsSeiRest extends SeiIntegracao @@ -277,8 +277,7 @@ class MdWsSeiRest extends SeiIntegracao
277 ."_" 277 ."_"
278 .SessaoSEI::getInstance()->getNumIdOrgaoUsuario() 278 .SessaoSEI::getInstance()->getNumIdOrgaoUsuario()
279 ."_" 279 ."_"
280 - .SessaoSEI::getInstance()->getNumIdContextoUsuario()  
281 - ."__"; 280 + .SessaoSEI::getInstance()->getNumIdContextoUsuario();
282 $html = CacheSEI::getInstance()->getAtributo($nomeArquivo); 281 $html = CacheSEI::getInstance()->getAtributo($nomeArquivo);
283 282
284 if($html){ 283 if($html){
@@ -327,13 +326,18 @@ class MdWsSeiRest extends SeiIntegracao @@ -327,13 +326,18 @@ class MdWsSeiRest extends SeiIntegracao
327 326
328 $htmlQrCode .= '<div style="text-align: center;">'; 327 $htmlQrCode .= '<div style="text-align: center;">';
329 $htmlQrCode .= '<div style="height: 12px; background-color: #01A5DA; border-bottom: 4px solid #AFCF2C;"></div>'; 328 $htmlQrCode .= '<div style="height: 12px; background-color: #01A5DA; border-bottom: 4px solid #AFCF2C;"></div>';
330 - $htmlQrCode .= '<img style="margin: 20px auto 6px;" align="center" src="data:image/png;base64, '  
331 - . base64_encode($binQrCode) . '" />';  
332 - $htmlQrCode .= '<p>'; 329 + $htmlQrCode .= '<p style="text-align: left; margin: 5px;">';
333 $htmlQrCode .= '<strong style="font-weight: bolder">'; 330 $htmlQrCode .= '<strong style="font-weight: bolder">';
334 - $htmlQrCode .= 'Faça a leitura do código acima para acessar o aplicativo do SEI no seu telefone.'; 331 + $htmlQrCode .= 'Acesse as lojas App Store ou Google Play e instale o aplicativo do SEI! No seu celular.';
335 $htmlQrCode .= '</strong>'; 332 $htmlQrCode .= '</strong>';
336 $htmlQrCode .= '</p>'; 333 $htmlQrCode .= '</p>';
  334 + $htmlQrCode .= '<p style="text-align: left; margin: 15px 5px 5px 5px;">';
  335 + $htmlQrCode .= '<strong style="font-weight: bolder">';
  336 + $htmlQrCode .= 'Abra o aplicativo do SEI! e faça a leitura do código abaixo para sincronizá-lo com sua conta.';
  337 + $htmlQrCode .= '</strong>';
  338 + $htmlQrCode .= '</p>';
  339 + $htmlQrCode .= '<img style="margin: 20px auto 6px;" align="center" src="data:image/png;base64, '
  340 + . base64_encode($binQrCode) . '" />';
337 $htmlQrCode .= '</div>'; 341 $htmlQrCode .= '</div>';
338 342
339 return $htmlQrCode; 343 return $htmlQrCode;