Skip to content

Commit

Permalink
Refactoring billet info class and phtml
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaMelazzo committed Jul 24, 2023
1 parent 55850e0 commit 5fd8945
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion view/frontend/templates/info/billet.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,15 @@
<?php if ($this->getInfo()->getOrder()->getStatus() == 'pending'): ?>
<p><?php echo __($this->getTitle()) ?></p>
<hr />
<p><a class="action tocart primary" id="pagarme-link-boleto" href="<?php echo $this->getBilletUrl() ?>" target="_blank"><?php echo __('Print Billet') ?></a></p>
<p>
<a class="action tocart primary"
id="pagarme-link-boleto"
href="<?php echo $this->getBilletUrl() ?>"
target="_blank"
rel="noopener">
<?php echo __('Print Billet') ?>
</a>
</p>
<?php else: ?>
<p><?php echo __($this->getTitle()) ?></p>
<?php endif ?>

0 comments on commit 5fd8945

Please sign in to comment.