<?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_Creditcard */
?>
<?php echo $this->escapeHtml($this->getMethodTitle()) ?>
<br/>
<?php
    if($this->getInfo()):
      echo $this->__('Credit Card Type: %s', $this->escapeHtml($this->getCcType())) ?>
<br/>
<?php echo $this->__('Credit Card Number: %s', $this->escapeHtml($this->getCcNumberEnc())) ?>
<br/>
<?php if( $this->getCcExpMonth() != '0' && $this->getCcExpYear() != '0' ) {
        echo $this->__('Expiration Date: %s/%s', $this->escapeHtml($this->getCcExpMonth()), $this->escapeHtml($this->getCcExpYear()));
      }
endif;?>
<br/>
<?php echo $this->__('Name on the Card: %s', $this->escapeHtml($this->getCcOwner())) ?>
<br/>
<?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/>