{% if not oView.canGenerateOxidPdf() %} {% set blNoPdf = "disabled" %} {% else %} {% set blNoPdf = "" %} {% endif %} {% block ordermanager_admin_action_generatepdf %}
{% include "@d3ordermanager/admin/inc/d3ordermanager_activeswitch.html.twig" with {oActionRequ: oAction, blActionRestriction: blActionRestriction, readonly: readonly} %}
{% if oView.isEditMode() %} {% block ordermanager_admin_action_generatepdf_editor %} {% block ordermanager_admin_action_generatepdf_editor_type %}
{% endblock %}
{% block ordermanager_admin_action_generatepdf_editor_send %} {% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_ORDERMANAGER_ACTION_ORDERGENERATEPDFATTACH_DESC"), 'sHelpText': help_text("D3_ORDERMANAGER_ACTION_ORDERGENERATEPDFATTACH_DESC")} %}
{{ edit.getShopDir() }} {% endblock %} {% endblock %} {% else %} {% block ordermanager_admin_action_generatepdf_viewer %} {% block ordermanager_admin_action_generatepdf_viewer_type %} {% if edit.getValue('blActionOrderPdfTypeInvoice') == 1 %}
{% endif %} {% if edit.getValue('blActionOrderPdfTypeDelnote') == 1 %} {% endif %} {% endblock %}
{% block ordermanager_admin_action_generatepdf_viewer_send %} {% if edit.getValue('blActionOrderPdfSendAttach') == 1 %} {% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_ORDERMANAGER_ACTION_ORDERGENERATEPDFATTACH_DESC"), 'sHelpText': help_text("D3_ORDERMANAGER_ACTION_ORDERGENERATEPDFATTACH_DESC")} %}
{% endif %} {% if edit.getValue('blActionOrderPdfSendSave') == 1 %} {{ edit.getShopDir() }}{{ edit.getValue('sActionOrderPdfSaveDir') }} {% endif %} {% endblock %} {% endblock %} {% endif %} {% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_ORDERMANAGER_ACTION_ORDERGENERATEPDF_DESC"), 'sHelpText': help_text("D3_ORDERMANAGER_ACTION_ORDERGENERATEPDF_DESC")} %}
{% endblock %}