[{$smarty.block.parent}]

[{assign var="oPrePaymentData" value=$order->getHeidelpayBankTransferData()}]
[{if isset($oPrePaymentData)}]
    [{if $oView->d3CheckForMobileTheme() == false}]
        <div class="status corners error">
            <p>
                [{if $oPrePaymentData->Type == "d3_d3heidelpay_models_payment_billsafe"}]
                    [{$oPrePaymentData->Billsafe_Note}]
                    <br/>
                    <br/>
                    [{$oPrePaymentData->Billsafe_LegalNote}]
                    <br/>
                    <br/>
                    <a class="submitButton largeButton"
                       href="[{$oPrePaymentData->Billsafe_PdfUrl}]"
                       target="_blank">[{oxmultilang ident="D3HEIDELPAY_THANKYOU_PAYMENTFORMPDF"}]</a>
                    <br/>
                    <br/>
                [{else}]
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_INFOTEXT1"}]
                    <br/>
                    <span style="color: red;">[{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_INFOTEXT2"}]</span>
                [{/if}]
            </p>

            [{if $oPrePaymentData->Type == "d3_d3heidelpay_models_payment_billsafe"}] [{* Bereich BillSAFE*}]
                <p>
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_ACCOUNTHOLDER"}] [{$oPrePaymentData->Holder}]<br />
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_BANKNAME"}] [{$oPrePaymentData->Bankname}]<br />
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_IBAN"}] [{$oPrePaymentData->Iban}]<br />
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_BIC"}] [{$oPrePaymentData->Bic}]<br />
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_AMOUNT"}] [{$oPrePaymentData->Amount}] [{$oPrePaymentData->Currency}]<br />
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_REASON"}] [{$oPrePaymentData->Reference}]
                </p>
            [{elseif $oPrePaymentData->blSEPAMode }] [{* Bereich SEPA fuer Vorkasse / Rechnungskauf *}]
                <p>
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_ACCOUNTHOLDER"}] [{$oPrePaymentData->Holder}]<br />
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_IBAN"}] [{$oPrePaymentData->Iban}]<br />
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_BIC"}] [{$oPrePaymentData->Bic}]<br />
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_AMOUNT"}] [{$oPrePaymentData->Amount}] [{$oPrePaymentData->Currency}]<br />
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_REASON"}] [{$oPrePaymentData->Reference}]
                </p>
            [{else}] [{* Bereich BLZ/Kto fuer Vorkasse / Rechnungskauf *}]
                <p>
                    <b>[{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_TRANSFER_DE"}]</b><br/>
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_BANKCODE"}] [{$oPrePaymentData->Bank}]<br/>
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_ACCOUNT"}] [{$oPrePaymentData->Number}]<br/>
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_ACCOUNTHOLDER"}] [{$oPrePaymentData->Holder}]<br/>
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_REASON"}] [{$oPrePaymentData->Reference}]<br/>
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_AMOUNT"}] [{$oPrePaymentData->Amount}] [{$oPrePaymentData->Currency}]
                    <br/>
                </p>

                <p>
                    <b>[{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_TRANSFER_EU"}]</b><br/>
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_BIC"}] [{$oPrePaymentData->Bic}]<br/>
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_IBAN"}] [{$oPrePaymentData->Iban}]<br/>
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_ACCOUNTHOLDER"}] [{$oPrePaymentData->Holder}]<br/>
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_REASON"}] [{$oPrePaymentData->Reference}]<br/>
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_AMOUNT"}] [{$oPrePaymentData->Amount}] [{$oPrePaymentData->Currency}]
                </p>
            [{/if}]
        </div>
    [{else}]
        <div class="alert alert-error">
            <p>
                [{if $oPrePaymentData->Type == "d3_d3heidelpay_models_payment_billsafe"}]
                    [{$oPrePaymentData->Billsafe_Note}]
                    <br/>
                    <br/>
                    [{$oPrePaymentData->Billsafe_LegalNote}]
                    <br/>
                    <br/>
                    <a class="btn"
                       href="[{$oPrePaymentData->Billsafe_PdfUrl}]"
                       target="_blank">[{oxmultilang ident="D3HEIDELPAY_THANKYOU_PAYMENTFORMPDF"}]</a>
                    <br/>
                    <br/>
                [{else}]
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_INFOTEXT1"}]
                    <br/>
                    <span style="color: red;">[{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_INFOTEXT2"}]</span>
                [{/if}]
            </p>

            [{if $oPrePaymentData->Type == "d3_d3heidelpay_models_payment_billsafe"}] [{* Bereich BillSAFE*}]
                <p>
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_ACCOUNTHOLDER"}] [{$oPrePaymentData->Holder}]<br />
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_BANKNAME"}] [{$oPrePaymentData->Bankname}]<br />
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_IBAN"}] [{$oPrePaymentData->Iban}]<br />
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_BIC"}] [{$oPrePaymentData->Bic}]<br />
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_AMOUNT"}] [{$oPrePaymentData->Amount}] [{$oPrePaymentData->Currency}]<br />
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_REASON"}] [{$oPrePaymentData->Reference}]
                </p>
            [{elseif $oPrePaymentData->blSEPAMode }] [{* Bereich SEPA fuer Vorkasse / Rechnungskauf *}]
                <p>
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_ACCOUNTHOLDER"}] [{$oPrePaymentData->Holder}]<br />
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_IBAN"}] [{$oPrePaymentData->Iban}]<br />
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_BIC"}] [{$oPrePaymentData->Bic}]<br />
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_AMOUNT"}] [{$oPrePaymentData->Amount}] [{$oPrePaymentData->Currency}]<br />
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_REASON"}] [{$oPrePaymentData->Reference}]
                </p>
            [{else}] [{* Bereich BLZ/Kto fuer Vorkasse / Rechnungskauf *}]
                <p>
                    <b>[{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_TRANSFER_DE"}]</b><br/>
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_BANKCODE"}] [{$oPrePaymentData->Bank}]<br/>
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_ACCOUNT"}] [{$oPrePaymentData->Number}]<br/>
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_ACCOUNTHOLDER"}] [{$oPrePaymentData->Holder}]<br/>
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_REASON"}] [{$oPrePaymentData->Reference}]<br/>
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_AMOUNT"}] [{$oPrePaymentData->Amount}] [{$oPrePaymentData->Currency}]
                    <br/>
                </p>

                <p>
                    <b>[{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_TRANSFER_EU"}]</b><br/>
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_BIC"}] [{$oPrePaymentData->Bic}]<br/>
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_IBAN"}] [{$oPrePaymentData->Iban}]<br/>
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_ACCOUNTHOLDER"}] [{$oPrePaymentData->Holder}]<br/>
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_REASON"}] [{$oPrePaymentData->Reference}]<br/>
                    [{oxmultilang ident="D3HEIDELPAY_THANKYOU_PREPAYMENT_AMOUNT"}] [{$oPrePaymentData->Amount}] [{$oPrePaymentData->Currency}]
                </p>
            [{/if}]
        </div>

    [{/if}]
[{/if}]
