{% if not oView.canGeneratePdfDocuments() %} {% set blNoPdf = "disabled" %} {% else %} {% set blNoPdf = "" %} {% endif %} {% block ordermanager_admin_action_getpdfdocument %}
{% include "@d3ordermanager/admin/inc/d3ordermanager_activeswitch.html.twig" with {oActionRequ: oAction, blActionRestriction: blActionRestriction, readonly: readonly} %}
{% if oView.isEditMode() %} {% block ordermanager_admin_action_getpdfdocument_editor %} {% block ordermanager_admin_action_getpdfdocument_editor_type %} {% for oDocument in oAction.getDocumentList() %} {% set documentRequestId = oAction.getDocumentRequestId(oDocument) %}
{% endfor %} {% endblock %}
{% block ordermanager_admin_action_getpdfdocument_editor_send %} {% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_ORDERMANAGER_ACTION_ORDERGETPDFDOCUMENTATTACH_DESC"), 'sHelpText': help_text("D3_ORDERMANAGER_ACTION_ORDERGETPDFDOCUMENTATTACH_DESC")} %}
{{ edit.getShopDir() }} {% endblock %} {% endblock %} {% else %} {% block ordermanager_admin_action_getpdfdocument_viewer %} {% block ordermanager_admin_action_getpdfdocument_viewer_type %} {% for oDocument in oAction.getDocumentList() %} {% set documentRequestId = oAction.getDocumentRequestId(oDocument) %} {% if edit.getValue(documentRequestId) == 1 %}
{% endif %} {% endfor %} {% endblock %}
{% block ordermanager_admin_action_getpdfdocument_viewer_send %} {% if edit.getValue('blActionOrderPdfDocumentSendAttach') == 1 %} {% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_ORDERMANAGER_ACTION_ORDERGETPDFDOCUMENTATTACH_DESC"), 'sHelpText': help_text("D3_ORDERMANAGER_ACTION_ORDERGETPDFDOCUMENTATTACH_DESC")} %}
{% endif %} {% if edit.getValue('blActionOrderPdfDocumentSendSave') == 1 %} {{ edit.getShopDir() }}{{ edit.getValue('sActionOrderPdfDocumentSaveDir') }} {% endif %} {% endblock %} {% endblock %} {% endif %} {% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_ORDERMANAGER_ACTION_ORDERGETPDFDOCUMENT_DESC"), 'sHelpText': help_text("D3_ORDERMANAGER_ACTION_ORDERGETPDFDOCUMENT_DESC")} %}
{% endblock %}