banktransfer.phtml 643 B

123456789101112131415161718
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. // @codingStandardsIgnoreFile
  7. /**
  8. * @var $block \Magento\OfflinePayments\Block\Form\Banktransfer
  9. */
  10. $instructions = $block->getInstructions();
  11. ?>
  12. <?php if ($instructions): ?>
  13. <?php $methodCode = $block->escapeHtml($block->getMethodCode());?>
  14. <div class="items <?= /* @noEscape */ $methodCode ?> instructions agreement checkout-agreement-item-content" id="payment_form_<?= /* @noEscape */ $methodCode ?>" style="display: none;">
  15. <?= /* @noEscape */ nl2br($block->escapeHtml($instructions)) ?>
  16. </div>
  17. <?php endif; ?>