[{assign var='oHeidelPaySettings' value=$oHeidelpayViewConfig->getSettings()}] [{assign var='oHeidelPayment' value=$oHeidelPaySettings->getPayment($paymentmethod)}] [{assign var="responseParameter" value=$oView->sendHeidelpayPayolutionRequest($sPaymentID)}] [{assign var='disableFields' value="disabled"}] [{if $blD3HeidelpayHasSameAdresses && $blD3HeidelpayAllowPayolution}] [{assign var='disableFields' value=""}] [{/if}] [{block name="heidelpay_payolution"}] [{assign var="iBirthdayMonth" value=0}] [{assign var="iBirthdayDay" value=0}] [{assign var="iBirthdayYear" value=0}] [{if $oxcmp_user->oxuser__oxbirthdate->value && $oxcmp_user->oxuser__oxbirthdate->value != "0000-00-00" && false == is_array($oxcmp_user->oxuser__oxbirthdate->value)}] [{assign var="iBirthdayMonth" value=$oxcmp_user->oxuser__oxbirthdate->value|regex_replace:"/^([0-9]{4})[-]/":""|regex_replace:'/[-]([0-9]{1,2})$/':""}] [{assign var="iBirthdayDay" value=$oxcmp_user->oxuser__oxbirthdate->value|regex_replace:"/^([0-9]{4})[-]([0-9]{1,2})[-]/":""}] [{assign var="iBirthdayYear" value=$oxcmp_user->oxuser__oxbirthdate->value|regex_replace:'/[-]([0-9]{1,2})[-]([0-9]{1,2})$/':""}] [{assign var="birthdate" value=$oxcmp_user->oxuser__oxbirthdate->value}] [{elseif is_array($oxcmp_user->oxuser__oxbirthdate->value)}] [{assign var="iBirthdayMonth" value=$oxcmp_user->oxuser__oxbirthdate->value.month}] [{assign var="iBirthdayDay" value=$oxcmp_user->oxuser__oxbirthdate->value.day}] [{assign var="iBirthdayYear" value=$oxcmp_user->oxuser__oxbirthdate->value.year}] [{assign var="birthdate" value="`$iBirthdayYear`-`$iBirthdayMonth`-`$iBirthdayDay`"}] [{/if}]
getCheckedPaymentId() == $paymentmethod->oxpayments__oxid->value}]checked[{/if}] [{else}] [{$disableFields}] [{/if}] > [{if false == $blD3HeidelpayHasSameAdresses}] [{oxmultilang ident="D3HEIDELPAY_PAYMENT_NOTSAMEADDRESS_NOTICE"}] [{/if}] [{if false == $blD3HeidelpayAllowPayolution}] [{assign_adv var="d3PayolutionLimits" value='array("'|cat:$oHeidelPayment->getMinimumLimit()|cat:'", "'|cat:$oHeidelPayment->getMaximumLimit()|cat:'")'}] [{oxmultilang ident="D3HEIDELPAY_PAYMENT_PAYOLUTION_NOTICE" args=$d3PayolutionLimits}] [{/if}]
[{if $paymentmethod->getPrice()}] [{assign var="oPaymentPrice" value=$paymentmethod->getPrice()}] [{if $oViewConf->isFunctionalityEnabled('blShowVATForPayCharge')}] ([{oxprice price=$oPaymentPrice->getNettoPrice() currency=$currency}] [{if $oPaymentPrice->getVatValue() > 0}] [{oxmultilang ident="PLUS_VAT"}] [{oxprice price=$oPaymentPrice->getVatValue() currency=$currency}] [{/if}]) [{else}] ([{oxprice price=$oPaymentPrice->getBruttoPrice() currency=$currency}]) [{/if}] [{/if}]
[{html_select_date field_array="d3birthdate[`$sPaymentID`]" start_year='-80' time=$birthdate reverse_years=true end_year='-18' display_days=false display_months=false all_extra='class="oxYear form-control" required=""'|cat:$disableFields year_empty="-"}]
[{if $blD3HeidelpayPayolutionRequirePhone}]
[{/if}]
[{oxmultilang ident="COMPLETE_MARKED_FIELDS"}]
[{$responseParameter.configoptintext}]
[{if $paymentmethod->oxpayments__oxlongdesc->value}]
[{$paymentmethod->oxpayments__oxlongdesc->value}]
[{/if}]
[{/block}]