Commit 7549b1fcea3151c92d5ae80f5cdefc18f9b7ede6
1 parent
a2cf28d1
Exists in
master
and in
1 other branch
[Feat] Alterando html do qrcode enviado pela mba
Showing
1 changed file
with
5 additions
and
5 deletions
Show diff stats
MdWsSeiRest.php
| @@ -284,7 +284,7 @@ class MdWsSeiRest extends SeiIntegracao | @@ -284,7 +284,7 @@ class MdWsSeiRest extends SeiIntegracao | ||
| 284 | return $html; | 284 | return $html; |
| 285 | } | 285 | } |
| 286 | 286 | ||
| 287 | - $html = $this->montaCorpoHtMLQRCode($nomeArquivo); | 287 | + $html = $this->montaCorpoHTMLQRCode($nomeArquivo); |
| 288 | CacheSEI::getInstance()->setAtributo($nomeArquivo, $html, CacheSEI::getInstance()->getNumTempo()); | 288 | CacheSEI::getInstance()->setAtributo($nomeArquivo, $html, CacheSEI::getInstance()->getNumTempo()); |
| 289 | 289 | ||
| 290 | return $html; | 290 | return $html; |
| @@ -295,7 +295,7 @@ class MdWsSeiRest extends SeiIntegracao | @@ -295,7 +295,7 @@ class MdWsSeiRest extends SeiIntegracao | ||
| 295 | * @param $nomeArquivo | 295 | * @param $nomeArquivo |
| 296 | * @return string | 296 | * @return string |
| 297 | */ | 297 | */ |
| 298 | - private function montaCorpoHtMLQRCode($nomeArquivo) | 298 | + private function montaCorpoHTMLQRCode($nomeArquivo) |
| 299 | { | 299 | { |
| 300 | $htmlQrCode = ''; | 300 | $htmlQrCode = ''; |
| 301 | $caminhoAtual = explode("/sei/web", __DIR__); | 301 | $caminhoAtual = explode("/sei/web", __DIR__); |
| @@ -324,11 +324,11 @@ class MdWsSeiRest extends SeiIntegracao | @@ -324,11 +324,11 @@ class MdWsSeiRest extends SeiIntegracao | ||
| 324 | $infraException->lancarValidacao('Não foi possível ler o arquivo do QRCode.'); | 324 | $infraException->lancarValidacao('Não foi possível ler o arquivo do QRCode.'); |
| 325 | } | 325 | } |
| 326 | 326 | ||
| 327 | - $htmlQrCode .= '<div style="text-align: center;">'; | ||
| 328 | - $htmlQrCode .= '<div style="height: 12px; background-color: #01A5DA; border-bottom: 4px solid #AFCF2C;"></div>'; | 327 | + $htmlQrCode .= '<div style="font-size: 18px; text-align: center;">'; |
| 328 | + $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;">'; | 329 | $htmlQrCode .= '<p style="text-align: left; margin: 5px;">'; |
| 330 | $htmlQrCode .= '<strong style="font-weight: bolder">'; | 330 | $htmlQrCode .= '<strong style="font-weight: bolder">'; |
| 331 | - $htmlQrCode .= 'Acesse as lojas App Store ou Google Play e instale o aplicativo do SEI! No seu celular.'; | 331 | + $htmlQrCode .= 'Acesse as lojas App Store ou Google Play e instale o aplicativo do SEI! no seu celular.'; |
| 332 | $htmlQrCode .= '</strong>'; | 332 | $htmlQrCode .= '</strong>'; |
| 333 | $htmlQrCode .= '</p>'; | 333 | $htmlQrCode .= '</p>'; |
| 334 | $htmlQrCode .= '<p style="text-align: left; margin: 15px 5px 5px 5px;">'; | 334 | $htmlQrCode .= '<p style="text-align: left; margin: 15px 5px 5px 5px;">'; |