<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
/**
 * @var $block \Threepartment\Debitpayment\Block\Info\Debitpayment
 */
?>
<?php
    $details = $block->getDetails();
?>
<div class="order-payment-method-name"><?= $block->escapeHtml($block->getMethod()->getTitle()) ?></div>
<table class="data-table admin__table-secondary">
    <tr>
        <th><?= $block->escapeHtml(__('Bank Account Owner')) ?>:</th>
        <td><?= $block->escapeHtml($details['bank_account_owner']) ?></td>
    </tr>
    <tr>
        <th><?= $block->escapeHtml(__('IBAN')) ?>:</th>
        <td><?= $block->escapeHtml($details['iban']) ?></td>
    </tr>
    <tr>
        <th><?= $block->escapeHtml(__('BIC')) ?>:</th>
        <td><?= $block->escapeHtml($details['bic']) ?></td>
    </tr>
    <tr>
        <th><?= $block->escapeHtml(__('Bank Company')) ?>:</th>
        <td><?= $block->escapeHtml($details['bank_company']) ?></td>
    </tr>
</table>
