add: include, Line breaks

This commit is contained in:
MaxBUhe 2020-06-12 09:45:42 +02:00
parent 007ea1a41f
commit 916e0807b4
3 changed files with 62 additions and 8 deletions

View File

@ -0,0 +1,23 @@
[{block name="heidelpay_bank_data"}]
[{d3modcfgcheck modid="d3heidelpay"}][{/d3modcfgcheck}]
[{if $mod_d3heidelpay}]
[{assign var="oPrePaymentData" value=$order->getHeidelpayBankTransferData()}]
[{if $oPrePaymentData}]
<div>
<h3 style="font-size: 16px;"><strong>[{oxmultilang ident="BANK_DETAILS"}]</strong></h3>
<p>
[{oxmultilang ident="D3_HEIDELPAY_BANK_INFO"}]<br>
[{oxmultilang ident="D3_HEIDELPAY_PURPOSE_OF_USE"}]<br/><br/>
[{oxmultilang ident="D3HEIDELPAY_EMAIL_PREPAYMENT_ACCOUNTHOLDER"}] [{$oPrePaymentData->Holder}]<br/>
[{oxmultilang ident="D3HEIDELPAY_EMAIL_PREPAYMENT_IBAN"}] [{$oPrePaymentData->Iban}]<br/>
[{oxmultilang ident="D3HEIDELPAY_EMAIL_PREPAYMENT_BIC"}] [{$oPrePaymentData->Bic}]<br/>
hier shortID: [{$oPrePaymentData->getShortId()}]
<strong>[{oxmultilang ident="D3HEIDELPAY_EMAIL_PREPAYMENT_AMOUNT"}] [{$order->getFormattedTotalOrderSum()}] [{$oPrePaymentData->Currency}]</strong><br/>
<strong class="color">[{oxmultilang ident="D3HEIDELPAY_EMAIL_PREPAYMENT_REASON"}] [{$oPrePaymentData->Reference}]</strong>
</p>
</div>
<br><br>
[{/if}]
[{/if}]
[{/block}]

View File

@ -1,14 +1,43 @@
[{block name="pdfPastThankFile"}] [{block name="pdfPastThankFile"}]
<table class="past_thank_width100 borderSpacingUnset paddingTop10"> <table class="past_thank_width100 borderSpacingUnset paddingTop10">
<tr><td class="paddingTop15 past_thank_width100 fontSize12">[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_USED_PAYMENTMETHOD"}] [{$payment->getFieldData('oxdesc')}]</td></tr> <tr>
<td class="paddingTop15 past_thank_width100 fontSize12">
[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_USED_PAYMENTMETHOD"}]
[{$payment->getFieldData('oxdesc')}]
</td>
</tr>
[{* +++++++Individueller Zahlungstext+++++++ *}] [{* +++++++Individueller Zahlungstext+++++++ *}]
[{if $order->getFieldData('d3pdftextbestellbestaetigung')}] [{if $order->getFieldData('d3pdftextbestellbestaetigung')}]
<tr><td class="past_thank_width100 fontSize12">[{$order->getFieldData('d3pdftextbestellbestaetigung')|nl2br}]</td></tr> <tr>
<td class="past_thank_width100 fontSize12">
[{$order->getFieldData('d3pdftextbestellbestaetigung')|nl2br}]
</td>
</tr>
[{/if}]
[{d3modcfgcheck modid="d3heidelpay"}][{/d3modcfgcheck}]
[{if $mod_d3heidelpay}]
<tr>
<td class="past_thank_width100 paddingTop10 fontSize12">
[{include file="d3Heidelpay_bank_data.tpl"}]
</td>
</tr>
[{else}]
<tr>
<td class="past_thank_width100 paddingTop10 fontSize12">
[{$payment->getFieldData('d3shortdescpdf')|nl2br}]
</td>
</tr>
[{/if}] [{/if}]
<tr><td class="past_thank_width100 paddingTop10 fontSize12">[{$payment->getFieldData('d3shortdescpdf')|nl2br}]</td></tr>
[{**Schlusstext/ Abschied***}] [{**Schlusstext/ Abschied***}]
<tr><td class="past_thank_width100 paddingTop10 fontSize12">[{oxmultilang ident="ORDER_OVERVIEW_PDF_GREETINGS_AUFTRAG_1"}]</td></tr> <tr>
<tr><td class="past_thank_width100 fontSize12">[{oxmultilang ident="ORDER_OVERVIEW_PDF_GREETINGS_AUFTRAG_2"}]</td></tr> <td class="past_thank_width100 paddingTop10 fontSize12">
[{oxmultilang ident="ORDER_OVERVIEW_PDF_GREETINGS_AUFTRAG_1"}]
</td>
</tr>
<tr>
<td class="past_thank_width100 fontSize12">
[{oxmultilang ident="ORDER_OVERVIEW_PDF_GREETINGS_AUFTRAG_2"}]
</td>
</tr>
</table> </table>
[{/block}] [{/block}]

View File

@ -64,7 +64,9 @@ $aModule = [
'd3pdfheader.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/inc/header.tpl', 'd3pdfheader.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/inc/header.tpl',
'd3pdffooter.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/inc/footer.tpl', 'd3pdffooter.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/inc/footer.tpl',
'd3din5008.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/inc/din5008.tpl', 'd3din5008.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/inc/din5008.tpl',
'd3pdfstyle.css' => 'd3/pdfdocuments/out/src/css/pdfStyling.css' 'd3pdfstyle.css' => 'd3/pdfdocuments/out/src/css/pdfStyling.css',
'd3Heidelpay_bank_data.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/invoice/includingFiles/heidelpay_bank_data.tpl'
], ],
'events' => [], 'events' => [],
'blocks' => [ 'blocks' => [