Skip to content

Commit

Permalink
Merge pull request RamonSilva20#2485 from juliolobo/Ajuste-QRCode-via…
Browse files Browse the repository at this point in the history
…-empresa

Ajuste para não exibir QRCode na via Empresa caso não tenha cheve Pix
  • Loading branch information
willph authored Jul 17, 2024
2 parents aabe772 + c656fe8 commit d14fb8f
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions application/views/os/imprimirOs.php
Original file line number Diff line number Diff line change
Expand Up @@ -444,11 +444,16 @@
<?php if ($totalProdutos != 0 || $totalServico != 0) : ?>
<div class="pagamento">
<div class="qrcode">
<div><img width="130px" src="<?= $qrCode ?>" alt="QR Code de Pagamento" /></div>
<div style="display: flex; flex-wrap: wrap; align-content: center;">
<div style="width: 100%; text-align:center;"><i class="fas fa-camera"></i><br />Escaneie o QRCode ao lado para pagar por Pix</div>
<div class="chavePix">Chave Pix: <b><?= $chaveFormatada ?></b></div>
</div>
<?php if ($this->data['configuration']['pix_key']) : ?>
<div><img width="130px" src="<?= $qrCode ?>" alt="QR Code de Pagamento" /></div>
<div style="display: flex; flex-wrap: wrap; align-content: center;">
<div style="width: 100%; text-align:center;"><i class="fas fa-camera"></i><br />Escaneie o QRCode ao lado para pagar por Pix</div>
<div class="chavePix">Chave Pix: <b><?= $chaveFormatada ?></b></div>
</div>
<?php else: ?>
<div></div>
<div></div>
<?php endif; ?>
</div>
<div>
<div class="tabela">
Expand Down

0 comments on commit d14fb8f

Please sign in to comment.