Ordermanager/views/twig/admin/Actions/d3ordermanager_action_changedelcosts.html.twig

18 lines
1.5 KiB
Twig

{% block ordermanager_admin_action_changedelcost %}
<dl class="{{ blActionRestriction }}">
{% include "@d3ordermanager/admin/inc/d3ordermanager_activeswitch.html.twig" with {oActionRequ: oAction, blActionRestriction: blActionRestriction, readonly: readonly} %}
<dd>
{% if oView.isEditMode() %}
{% block ordermanager_admin_action_changedelcost_editor %}
<input id="ActionOrderChangeDelCostsValue" type="text" style="text-align: right;" name="value[sActionChangeDelCostValue]" size="10" maxlength="50" value="{% if edit.getValue('sActionChangeDelCostValue') %}{{ edit.getValue('sActionChangeDelCostValue') }}{% else %}0.00{% endif %}" {{ blActionRestriction }} {{ readonly }}> <label for="ActionOrderChangeDelCostsValue">{{ translate({ ident: "D3_ORDERMANAGER_ACTION_GENERALORDERCURR" }) }}</label>
{% endblock %}
{% else %}
{% block ordermanager_admin_action_changedelcost_viewer %}
{% if edit.getValue('sActionChangeDelCostValue') %}{{ edit.getValue('sActionChangeDelCostValue') }}{% else %}0.00{% endif %} {{ translate({ ident: "D3_ORDERMANAGER_ACTION_GENERALORDERCURR" }) }}
{% endblock %}
{% endif %}
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_ORDERMANAGER_ACTION_ORDERCHANGEDELCOSTS_DESC"), 'sHelpText': help_text("D3_ORDERMANAGER_ACTION_ORDERCHANGEDELCOSTS_DESC")} %}
</dd>
<div class="spacer"></div>
</dl>
{% endblock %}