Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
 

30 lignes
858 B

  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. /**
  7. * @var \Magento\Payment\Block\Info $block
  8. * @see \Magento\Payment\Block\Info
  9. */
  10. $specificInfo = $block->getSpecificInformation();
  11. $paymentTitle = $block->getMethod()->getConfigData('title', $block->getInfo()->getOrder()->getStoreId());
  12. ?>
  13. <?= $block->escapeHtml($paymentTitle) ?>
  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() ?>