Unzer/views/smarty/admin/channels/sub/creditcard.tpl

79 lines
3.2 KiB
Smarty

[{*
<div class="form-group">
<label class="control-label col-md-3" for="d3HeidelpayTransactionType">
[{oxmultilang ident="D3DYN_HEIDELPAY_PARAM_BOOKINGTYPE"}]
</label>
<div class="col-md-1">
[{oxinputhelp ident="HELP_D3DYN_HEIDELPAY_PARAM_BOOKINGTYPE"}]
</div>
<div class="col-md-8">
[{assign var='actualSelection' value=$currentChannel->getTransactionType()}]
<select class="form-control"
id="d3HeidelpayTransactionType"
name="editval[transactionType]"
title="[{oxmultilang ident="D3DYN_HEIDELPAY_PARAM_BOOKINGTYPE"}]"
>
<option value="auth"[{if $actualSelection === 'auth'}] selected[{/if}]>[{oxmultilang ident="D3DYN_HEIDELPAY_PARAM_BOOKINGTYPE_DIRECT"}]</option>
<option value="preauth"[{if $actualSelection === 'preauth'}] selected[{/if}]>[{oxmultilang ident="D3DYN_HEIDELPAY_PARAM_BOOKINGTYPE_RESERVE"}]</option>
<option value="auth_but_foreign_preauth"[{if $actualSelection === 'auth_but_foreign_preauth'}] selected[{/if}]>[{oxmultilang ident="D3DYN_HEIDELPAY_PARAM_BOOKINGTYPE_FOREIGNRESERVE"}]</option>
</select>
</div>
</div>
*}]
[{*TODO: useregistratione and savedreference must work together*}][{*
<div class="form-group">
<label class="control-label col-md-3" for="d3HeidelpayUsingRegistration">
[{oxmultilang ident="D3DYN_HEIDELPAY_PARAM_CARDS_USE_RG"}]
</label>
<div class="col-md-1">
[{oxinputhelp ident="HELP_D3DYN_HEIDELPAY_PARAM_CARDS_USE_RG"}]
</div>
<div class="col-md-8">
<label class="checkbox-inline">
<input type="hidden" name="editval[usingRegistration]" value="0">
<input type="checkbox"
id="d3HeidelpayUsingRegistration"
name="editval[usingRegistration]"
value="1" [{$readonly}][{if $currentChannel->isUsingRegistration()}] checked[{/if}]>
</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-md-3" for="d3HeidelpayisUsingStoredCardData">
[{oxmultilang ident="D3DYN_HEIDELPAY_PARAM_STOREDDATA"}]
</label>
<div class="col-md-1">
[{oxinputhelp ident="HELP_D3DYN_HEIDELPAY_PARAM_STOREDDATA"}]
</div>
<div class="col-md-8">
<label class="checkbox-inline">
<input type="hidden" name="editval[isUsingStoredCardData]" value="0">
<input type="checkbox"
id="d3HeidelpayisUsingStoredCardData"
name="editval[isUsingStoredCardData]"
value="1" [{$readonly}][{if $currentChannel->isUsingStoredCardData()}] checked[{/if}]>
</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-md-3" for="d3HeidelpayCardTypeTimeout">
[{oxmultilang ident="D3UNZER_CARDTYPE_TIMEOUT"}]
</label>
<div class="col-md-1">
[{oxinputhelp ident="HELP_D3UNZER_CARDTYPE_TIMEOUT"}]
</div>
<div class="col-md-8">
<label class="checkbox-inline">
<input type="number"
id="d3HeidelpayCardTypeTimeout"
name="editval[cardTypeTimeout]"
value="[{$currentChannel->getCardTypeTimeout()}]" [{$readonly}]>
</label>
</div>
</div>
*}]