diff --git a/views/smarty/documents/deliverynote/deliverynote.tpl b/views/smarty/documents/deliverynote/deliverynote.tpl index de5a96f..7414f74 100644 --- a/views/smarty/documents/deliverynote/deliverynote.tpl +++ b/views/smarty/documents/deliverynote/deliverynote.tpl @@ -1,19 +1,19 @@ [{assign var="pagePadding" value=","|explode:"45,15,30,25"}] [{* top, right, bottom, left *}] [{assign var="showLogo" value=$showLogo|default:true}] -[{capture append="pdfBlock_style"}] +[{capture assign="pdfBlock_style"}] [{block name="pdfStyles"}] [{include file="@d3PdfDocuments/assets/d3pdfstyles.css.tpl"}] [{/block}] [{/capture}] -[{capture append="pdfBlock_header"}] +[{capture assign="pdfBlock_header"}] [{block name="pdfHeader"}] [{include file="@d3PdfDocuments/documents/inc/page/header.tpl" showLogo=$showLogo}] [{/block}] [{/capture}] -[{capture append="pdfBlock_content"}] +[{capture assign="pdfBlock_content"}] [{include file="@d3PdfDocuments/documents/inc/elements/foldmarks.tpl" pagePadding=$pagePadding}] [{block name="pdfAddressArea"}] @@ -37,10 +37,10 @@ [{/block}] [{/capture}] -[{capture append="pdfBlock_footer"}] +[{capture assign="pdfBlock_footer"}] [{block name="pdfFooter"}] [{include file="@d3PdfDocuments/documents/inc/page/footer.tpl" pagePadding=$pagePadding}] [{/block}] [{/capture}] -[{include file="@d3PdfDocuments/documents/inc/page/base.tpl" pagePadding=$pagePadding}] \ No newline at end of file +[{include file="@d3PdfDocuments/documents/inc/page/base.tpl" pagePadding=$pagePadding}] diff --git a/views/smarty/documents/invoice/invoice.tpl b/views/smarty/documents/invoice/invoice.tpl index 018b30e..f78960e 100644 --- a/views/smarty/documents/invoice/invoice.tpl +++ b/views/smarty/documents/invoice/invoice.tpl @@ -1,19 +1,19 @@ [{assign var="pagePadding" value=","|explode:"45,15,30,25"}] [{* top, right, bottom, left *}] [{assign var="showLogo" value=$showLogo|default:true}] -[{capture append="pdfBlock_style"}] +[{capture assign="pdfBlock_style"}] [{block name="pdfStyles"}] [{include file="@d3PdfDocuments/assets/d3pdfstyles.css.tpl"}] [{/block}] [{/capture}] -[{capture append="pdfBlock_header"}] +[{capture assign="pdfBlock_header"}] [{block name="pdfHeader"}] [{include file="@d3PdfDocuments/documents/inc/page/header.tpl" showLogo=$showLogo}] [{/block}] [{/capture}] -[{capture append="pdfBlock_content"}] +[{capture assign="pdfBlock_content"}] [{* include file="@d3PdfDocuments/documents/inc/helper/rulers" pagePadding=$pagePadding *}] [{include file="@d3PdfDocuments/documents/inc/elements/foldmarks.tpl" pagePadding=$pagePadding}] @@ -42,10 +42,10 @@ [{/block}] [{/capture}] -[{capture append="pdfBlock_footer"}] +[{capture assign="pdfBlock_footer"}] [{block name="pdfFooter"}] [{include file="@d3PdfDocuments/documents/inc/page/footer.tpl" pagePadding=$pagePadding}] [{/block}] [{/capture}] -[{include file="@d3PdfDocuments/documents/inc/page/base.tpl" pagePadding=$pagePadding}] +[{include file="@d3PdfDocuments/documents/inc/page/base.tpl" pagePadding=$pagePadding}] \ No newline at end of file