{% set oHeidelPaySettings = oHeidelpayViewConfig.getSettings() %} {% set oHeidelPayment = oHeidelPaySettings.getPayment(paymentmethod) %} {% set blShowPaymentMethod = true %} {% set sImageUrl = oViewConf.getModuleUrl('d3unzer', 'out/img/') %} {% if get_class(oHeidelPayment) === "D3\Unzer\Application\Model\Payment\Invoice\Secured" %} {% set blShowPaymentMethod = blD3HeidelpayAllowInvoiceSecured %} {% endif %} {% block heidelpay_invoice %} {% set iBirthdayMonth = 0 %} {% set iBirthdayDay = 0 %} {% set iBirthdayYear = 0 %} {% if oxcmp_user.oxuser__oxbirthdate.value and oxcmp_user.oxuser__oxbirthdate.value != "0000-00 - 00" %} {% set iBirthdayMonth = oxcmp_user.oxuser__oxbirthdate.value|regex_replace("/^([0-9]{4)})[-]/":""|regex_replace('/[-]([0-9]{1,) 2})$/':"" %} {% set iBirthdayDay = oxcmp_user.oxuser__oxbirthdate.value|regex_replace("/^([0-9]{4)})[-]([0-9]{1, 2})[-]/":"" %} {% set iBirthdayYear = oxcmp_user.oxuser__oxbirthdate.value|regex_replace('/[-]([0-9]{1,) 2})[-]([0-9]{1, 2})$/':"" %} {% endif %}
{% if false == blShowPaymentMethod %} {{ translate({ ident: "D3UNZER_PAYMENT_INVOICESECURED_NOTICE", args: iD3HeidelpayInvoiceSecuredLimits }) }} {% endif %} {% if false == blD3HeidelpayHasSameAdresses %} {{ translate({ ident: "D3UNZER_PAYMENT_NOTSAMEADDRESS_NOTICE" }) }} {% endif %}
{% set oPaymentPrice = paymentmethod.getPrice() %} {% if oPaymentPrice.getPrice() %} {% if oViewConf.isFunctionalityEnabled('blShowVATForPayCharge') %} ({{ format_price(oPaymentPrice.getNettoPrice(), { currency: currency }) }} {% if oPaymentPrice.getVatValue() > 0 %} {{ translate({ ident: "PLUS_VAT" }) }} {{ format_price(oPaymentPrice.getVatValue(), { currency: currency }) }} {% endif %}) {% else %} ({{ format_price(oPaymentPrice.getBruttoPrice(), { currency: currency }) }}) {% endif %} {% endif %} {% if blShowPaymentMethod %}
{{ translate({ ident: "COMPLETE_MARKED_FIELDS" }) }}
{% endif %} {% block checkout_payment_longdesc %} {% if paymentmethod.oxpayments__oxlongdesc.value %}
{{ paymentmethod.oxpayments__oxlongdesc.getRawValue() }}
{% endif %} {% endblock %}
{% endblock %}