2020-06-13 22:43:57 +02:00
|
|
|
[{assign var="showLogo" value=$showLogo|default:true}]
|
|
|
|
|
|
|
|
[{block name="pdfHeader"}]
|
|
|
|
<div class="header">
|
|
|
|
[{if $showLogo}]
|
2020-06-14 00:46:17 +02:00
|
|
|
[{* pdf logo is available only in non admin theme *}]
|
|
|
|
[{assign var="isAdmin" value=$oViewConf->isAdmin()}]
|
|
|
|
[{$oViewConf->setAdminMode(false)}]
|
2020-06-13 22:43:57 +02:00
|
|
|
<img class="logo" alt="Logo" src="[{$oViewConf->getImageUrl('pdf_logo.jpg')}]">
|
2020-06-14 00:46:17 +02:00
|
|
|
[{$oViewConf->setAdminMode($isAdmin)}]
|
2020-06-13 22:43:57 +02:00
|
|
|
[{/if}]
|
|
|
|
</div>
|
|
|
|
[{/block}]
|