12345678910111213141516171819202122232425262728293031323334 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- // @codingStandardsIgnoreFile
- /**
- * @var \Magento\Payment\Block\Info $block
- * @see \Magento\Payment\Block\Info
- */
- $specificInfo = $block->getSpecificInformation();
- $title = $block->escapeHtml($block->getMethod()->getTitle());
- ?>
- <dl class="payment-method">
- <dt class="title"><?= /* @noEscape */ $title ?></dt>
- <?php if ($specificInfo):?>
- <dd class="content">
- <table class="data table">
- <caption class="table-caption"><?= /* @noEscape */ $title ?></caption>
- <?php foreach ($specificInfo as $label => $value):?>
- <tr>
- <th scope="row"><?= $block->escapeHtml($label) ?></th>
- <td>
- <?= /* @noEscape */ nl2br($block->escapeHtml(implode("\n", $block->getValueAsArray($value, true)))) ?>
- </td>
- </tr>
- <?php endforeach; ?>
- </table>
- </dd>
- <?php endif;?>
- </dl>
- <?= $block->getChildHtml() ?>
|