<?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_frontend_base_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_OnlineBankTransfer */
?>
<?php echo $this->escapeHtml($this->getOnlinebanktransferType()) ?>
<br/>
<?php if ($this->getOnlinebanktransferType()): ?>
    <?php echo $this->__('Transfer Type: %s', $this->escapeHtml($this->getOnlinebanktransferType())) ?><br/>
<?php endif; ?>
<?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->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/>