prevent page break in important chapters

This commit is contained in:
Daniel Seifert 2020-06-30 23:37:08 +02:00
parent 2cf6ce6f4f
commit 7c3608efaf
Signed by: DanielS
GPG Key ID: 6A513E13AEE66170
3 changed files with 34 additions and 28 deletions

View File

@ -1,9 +1,11 @@
[{block name="conclusion"}]
<table class="conclusion_table">
<tr>
<td>
[{oxmultilang ident="D3_DELIVERYNOTE_PDF_PAYABLEUNTIL"}] 20.05.2020
</td>
</tr>
</table>
<nobreak>
<table class="conclusion_table">
<tr>
<td>
[{oxmultilang ident="D3_DELIVERYNOTE_PDF_PAYABLEUNTIL"}] 20.05.2020
</td>
</tr>
</table>
</nobreak>
[{/block}]

View File

@ -125,10 +125,12 @@
[{/block}]
[{if $showPrices}]
[{block name="articleCosts"}]
<table class="article_costs_table">
[{block name="d3_article_costs_summary"}]
[{include file="d3pdfarticlecostsummary.tpl"}]
[{/block}]
</table>
<nobreak>
<table class="article_costs_table">
[{block name="d3_article_costs_summary"}]
[{include file="d3pdfarticlecostsummary.tpl"}]
[{/block}]
</table>
</nobreak>
[{/block}]
[{/if}]

View File

@ -1,22 +1,24 @@
[{block name="conclusion"}]
<table class="conclusion_table">
[{block name="conclusion_paymethod"}]
<nobreak>
<table class="conclusion_table">
[{block name="conclusion_paymethod"}]
<tr>
<td>
[{oxmultilang ident="D3_PDFDOCUMENTS_USED_PAYMENTMETHOD" suffix="COLON"}]
[{$payment->getFieldData('oxdesc')}]
</td>
</tr>
[{/block}]
<tr>
<td>
[{oxmultilang ident="D3_PDFDOCUMENTS_USED_PAYMENTMETHOD" suffix="COLON"}]
[{$payment->getFieldData('oxdesc')}]
[{oxmultilang ident="D3_PDFDOCUMENTS_THANKYOU_1"}]
</td>
</tr>
[{/block}]
<tr>
<td>
[{oxmultilang ident="D3_PDFDOCUMENTS_THANKYOU_1"}]
</td>
</tr>
<tr>
<td>
[{oxmultilang ident="D3_PDFDOCUMENTS_THANKYOU_2" args=$shop->getFieldData('oxname')}]
</td>
</tr>
</table>
<tr>
<td>
[{oxmultilang ident="D3_PDFDOCUMENTS_THANKYOU_2" args=$shop->getFieldData('oxname')}]
</td>
</tr>
</table>
</nobreak>
[{/block}]