Skip to content

Commit

Permalink
Update button.phtml
Browse files Browse the repository at this point in the history
  • Loading branch information
ChuckyK authored Nov 9, 2017
1 parent fd8dcad commit 1ff8aa4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
<?php /** @var $block \Magento\Checkout\Block\Onepage\Success */ ?>

<?php if ($block->getCanViewOrder() && $block->getCanPrintOrder()) :?>
<?= /* @escapeNotVerified */ __('<a href="%1" onclick="this.target=\'_blank\'" class="print">Print receipt</a>', $block->getPrintUrl()) ?>
<a href="<?= /* @escapeNotVerified */ echo $block->getPrintUrl() ?>" target="_blank" class="print">
<?= /* @escapeNotVerified */ echo __('Print receipt') ?>
</a>
<?= $block->getChildHtml() ?>
<?php endif;?>

0 comments on commit 1ff8aa4

Please sign in to comment.