[{assign var='oHeidelPaySettings' value=$oHeidelpayViewConfig->getSettings()}] [{assign var='oHeidelPayment' value=$oHeidelPaySettings->getPayment($paymentmethod)}] [{assign var='blShowPaymentMethod' value=true}] [{assign var="sImageUrl" value=$oViewConf->getModuleUrl('d3unzer','out/img/')}] [{if get_class($oHeidelPayment) === "D3\Unzer\Application\Model\Payment\Invoice\Secured"}] [{assign var='blShowPaymentMethod' value=$blD3HeidelpayAllowInvoiceSecured}] [{/if}] [{block name="heidelpay_invoice"}] [{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"}] [{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})$/':""}] [{/if}]