[{assign var="dynvalue" value=$oView->getDynValue()}] [{assign var="iPayError" value=$oView->getPaymentError()}] [{assign var="sImageUrl" value=$oViewConf->getModuleUrl('d3unzer','out/img/')}] [{assign var='oHeidelPaySettings' value=$oHeidelpayViewConfig->getSettings()}] [{assign var='oHeidelPayment' value=$oHeidelPaySettings->getPayment($paymentmethod)}] [{assign var="aBrands" value=$oHeidelpayViewConfig->getHeidelpayNgwBrands($paymentmethod, $oHeidelPayment, $oxcmp_user)}] [{assign var="sBrandIdentELV" value='ELV'}] [{assign var="sFullImageUrl" value=$sImageUrl|cat:'unzer_direct_debit.png'}] [{assign var='blShowPaymentMethod' value=true}] [{if get_class($oHeidelPayment) === "D3\Unzer\Application\Model\Payment\Directdebit\Secured"}] [{assign var='blShowPaymentMethod' value=$blD3HeidelpayHasSameAdresses}] [{/if}] [{capture name="doNotShow"}] [{/capture}] [{oxscript add=$smarty.capture.javaScript}] [{block name="heidelpay_debitnote"}] [{if get_class($oHeidelPayment) === "D3\Unzer\Application\Model\Payment\Directdebit\Secured"}] [{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}] [{/if}]