<?php
/**
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the GNU General Public License (GPL 3)
 * that is bundled with this package in the file LICENSE.txt
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Payone_Core to newer
 * versions in the future. If you wish to customize Payone_Core for your
 * needs please refer to http://www.payone.de for more information.
 *
 * @category        Payone
 * @package         design_adminhtml_default_default
 * @subpackage      template
 * @copyright       Copyright (c) 2012 <info@noovias.com> - www.noovias.com
 * @author          Matthias Walter <info@noovias.com>
 * @license         <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
 * @link            http://www.noovias.com
 */

/** @var $this Payone_Core_Block_Payment_Method_Info_DebitPayment */
?>
<?php echo $this->escapeHtml($this->getMethodTitle()) ?>
<br/>
<?php if ($this->getPayoneSepaIban()): ?>
    <?php $iban = $this->strToXXX($this->getPayoneSepaIban());
    echo $this->__('IBAN: %s', $this->escapeHtml(substr($iban, 0, 2) . " " . chunk_split(substr($iban, 2), 4, ' '))) ?><br/>
<?php endif; ?>
<?php if ($this->getPayoneSepaBic()): ?>
    <?php echo $this->__('BIC: %s', $this->escapeHtml($this->getPayoneSepaBic())) ?><br/>
<?php endif; ?>
<?php if ($this->getPayoneAccountOwner()): ?>
    <?php echo $this->__('Account holder: %s', $this->escapeHtml($this->getPayoneAccountOwner())) ?><br/>
<?php endif; ?>
<?php if ($this->getPayoneAccountNumber()): ?>
    <?php echo $this->__('Account number: %s', $this->escapeHtml($this->getPayoneAccountNumber())) ?><br/>
<?php endif; ?>
<?php if ($this->getPayoneBankCode()): ?>
    <?php echo $this->__('Bank code: %s', $this->escapeHtml($this->getPayoneBankCode())) ?><br/>
<?php endif; ?>
<?php if ($this->getLastTransId() == ''): ?>
    <?php echo $this->__('Payment has not been processed yet.') ?>
<?php else: ?>
    <?php echo $this->__('Payone Transaction ID: %s', $this->escapeHtml($this->getLastTransId())) ?>
<?php endif; ?>
<br/>