<?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, Copyright (c) 2017 <info@e3n.com> - www.e3n.de
 * @author          Matthias Walter <info@noovias.com>, Tim Rein <web.it.rein@gmail.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_Form_Wallet */
$code = $this->getMethodCode();
$paymentConfigId = $this->getPaymentMethodConfigId();

if($paymentConfigId == 0){
    $paymentConfigId = $this->getPaymentConfig()->getId();
}
$getWalletTyp = $this->walletTypeMapping();

?>
<fieldset class="form-list">
    <ul id="payment_form_<?php echo $code ?>" style="display:none">
        <!-- Wallet type : -->
        <li>
            <div class="field">
                <input type="hidden" id="<?php echo $code ?>_type_select" name="payment[payone_wallet_type]"
                       value="<?php echo $getWalletTyp[$code] ?>">

                <input type="hidden" name="payment[payone_config_payment_method_id]"
                       id="<?php echo $code ?>_config_id" value="<?php echo $paymentConfigId; ?>"/>
            </div>
        </li>
    </ul>
</fieldset>