add: database require, nl2br

This commit is contained in:
MaxBUhe 2020-06-11 10:19:31 +02:00
parent eb88aaf327
commit 86521638b9

View File

@ -1,14 +1,14 @@
[{block name="pdfPastThankFile"}]
<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>
[{* +++++++Individueller Zahlungstext+++++++ *}]
[{if $order->oxorder__d3pdftextbestellbestaetigung->value}]
<tr><td class="past_thank_width100 fontSize12">[{$order->oxorder__d3pdftextbestellbestaetigung->value}]</td></tr>
[{else}]
<tr><td class="past_thank_width100 fontSize12">[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_USED_GREETINGSORDER"}]</td></tr>
[{if $order->getFieldData('d3pdftextbestellbestaetigung')}]
<tr><td class="past_thank_width100 fontSize12">[{$order->getFieldData('d3pdftextbestellbestaetigung')|nl2br}]</td></tr>
[{/if}]
<tr><td class="past_thank_width100 paddingTop10 fontSize12">[{$payment->getFieldData('d3shortdescpdf')|nl2br}]</td></tr>
[{**Schlusstext/ Abschied***}]
<tr><td class="marginTop5 past_thank_width100 fontSize12">[{oxmultilang ident="ORDER_OVERVIEW_PDF_GREETINGS_AUFTRAG_1"}]</td></tr>
<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>
[{/block}]