default.phtml 797 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. // @codingStandardsIgnoreFile
  7. /**
  8. * @var \Magento\Payment\Block\Info $block
  9. * @see \Magento\Payment\Block\Info
  10. */
  11. $specificInfo = $block->getSpecificInformation();
  12. ?>
  13. <?= $block->escapeHtml($block->getMethod()->getTitle()) ?>
  14. <?php if ($specificInfo): ?>
  15. <table class="data-table admin__table-secondary">
  16. <?php foreach ($specificInfo as $label => $value):?>
  17. <tr>
  18. <th><?= $block->escapeHtml($label) ?>:</th>
  19. <td>
  20. <?= /* @noEscape */ nl2br($block->escapeHtml(implode("\n", $block->getValueAsArray($value, true)))) ?>
  21. </td>
  22. </tr>
  23. <?php endforeach; ?>
  24. </table>
  25. <?php endif;?>
  26. <?= $block->getChildHtml() ?>