banktransfer.phtml 742 B

12345678910111213141516171819202122
  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. <ul class="form-list checkout-agreements" id="payment_form_<?= /* @noEscape */ $methodCode ?>" style="display:none;">
  15. <li>
  16. <div class="<?= /* @noEscape */ $methodCode ?>-instructions-content checkout-agreement-item-content">
  17. <?= /* @noEscape */ nl2br($block->escapeHtml($instructions)) ?>
  18. </div>
  19. </li>
  20. </ul>
  21. <?php endif; ?>