[{if !$oView->canGenerateOxidPdf()}] [{assign var="blNoPdf" value="disabled"}] [{else}] [{assign var="blNoPdf" value=""}] [{/if}] [{block name="ordermanager_admin_action_generatepdf"}]
[{include file="@d3ordermanager/admin/inc/d3ordermanager_activeswitch.tpl" oActionRequ=$oAction blActionRestriction=$blActionRestriction readonly=$readonly}]
[{if $oView->isEditMode()}] [{block name="ordermanager_admin_action_generatepdf_editor"}] [{block name="ordermanager_admin_action_generatepdf_editor_type"}] getValue('blActionOrderPdfTypeInvoice') == 1}]checked[{/if}] [{$blActionRestriction}] [{$blNoPdf}] [{$readonly}]>
getValue('blActionOrderPdfTypeDelnote') == 1}]checked[{/if}] [{$blActionRestriction}] [{$blNoPdf}] [{$readonly}]> [{/block}]
[{block name="ordermanager_admin_action_generatepdf_editor_send"}] getValue('blActionOrderPdfSendAttach') == 1}]checked[{/if}] [{$blActionRestriction}] [{$blNoPdf}] [{$readonly}]> [{oxinputhelp ident="D3_ORDERMANAGER_ACTION_ORDERGENERATEPDFATTACH_DESC"}]
getValue('blActionOrderPdfSendSave') == 1}]checked[{/if}] [{$blActionRestriction}] [{$blNoPdf}] [{$readonly}]> [{$edit->getShopDir()}] [{/block}] [{/block}] [{else}] [{block name="ordermanager_admin_action_generatepdf_viewer"}] [{block name="ordermanager_admin_action_generatepdf_viewer_type"}] [{if $edit->getValue('blActionOrderPdfTypeInvoice') == 1}]
[{/if}] [{if $edit->getValue('blActionOrderPdfTypeDelnote') == 1}] [{/if}] [{/block}]
[{block name="ordermanager_admin_action_generatepdf_viewer_send"}] [{if $edit->getValue('blActionOrderPdfSendAttach') == 1}] [{oxinputhelp ident="D3_ORDERMANAGER_ACTION_ORDERGENERATEPDFATTACH_DESC"}]
[{/if}] [{if $edit->getValue('blActionOrderPdfSendSave') == 1}] [{$edit->getShopDir()}][{$edit->getValue('sActionOrderPdfSaveDir')}] [{/if}] [{/block}] [{/block}] [{/if}] [{oxinputhelp ident="D3_ORDERMANAGER_ACTION_ORDERGENERATEPDF_DESC"}]
[{/block}]