[{if !$oView->canGeneratePdfDocuments()}] [{assign var="blNoPdf" value="disabled"}] [{else}] [{assign var="blNoPdf" value=""}] [{/if}] [{block name="ordermanager_admin_action_getpdfdocument"}]
[{include file="@d3ordermanager/admin/inc/d3ordermanager_activeswitch.tpl" oActionRequ=$oAction blActionRestriction=$blActionRestriction readonly=$readonly}]
[{if $oView->isEditMode()}] [{block name="ordermanager_admin_action_getpdfdocument_editor"}] [{block name="ordermanager_admin_action_getpdfdocument_editor_type"}] [{foreach from=$oAction->getDocumentList() item="oDocument"}] [{assign var="documentRequestId" value=$oAction->getDocumentRequestId($oDocument)}] getValue($documentRequestId) == 1}]checked[{/if}] [{$blActionRestriction}] [{$blNoPdf}] [{$readonly}]>
[{/foreach}] [{/block}]
[{block name="ordermanager_admin_action_getpdfdocument_editor_send"}] getValue('blActionOrderPdfDocumentSendAttach') == 1}]checked[{/if}] [{$blActionRestriction}] [{$blNoPdf}] [{$readonly}]> [{oxinputhelp ident="D3_ORDERMANAGER_ACTION_ORDERGETPDFDOCUMENTATTACH_DESC"}]
getValue('blActionOrderPdfDocumentSendSave') == 1}]checked[{/if}] [{$blActionRestriction}] [{$blNoPdf}] [{$readonly}]> [{$edit->getShopDir()}] [{/block}] [{/block}] [{else}] [{block name="ordermanager_admin_action_getpdfdocument_viewer"}] [{block name="ordermanager_admin_action_getpdfdocument_viewer_type"}] [{foreach from=$oAction->getDocumentList() item="oDocument"}] [{assign var="documentRequestId" value=$oAction->getDocumentRequestId($oDocument)}] [{if $edit->getValue($documentRequestId) == 1}]
[{/if}] [{/foreach}] [{/block}]
[{block name="ordermanager_admin_action_getpdfdocument_viewer_send"}] [{if $edit->getValue('blActionOrderPdfDocumentSendAttach') == 1}] [{oxinputhelp ident="D3_ORDERMANAGER_ACTION_ORDERGETPDFDOCUMENTATTACH_DESC"}]
[{/if}] [{if $edit->getValue('blActionOrderPdfDocumentSendSave') == 1}] [{$edit->getShopDir()}][{$edit->getValue('sActionOrderPdfDocumentSaveDir')}] [{/if}] [{/block}] [{/block}] [{/if}] [{oxinputhelp ident="D3_ORDERMANAGER_ACTION_ORDERGETPDFDOCUMENT_DESC"}]
[{/block}]