Browse Source

Correctifs backoffice

feature/export_comptable
Fab 4 years ago
parent
commit
3bb0a3e64d
3 changed files with 28 additions and 1 deletions
  1. +0
    -0
      ShopBundle/Resources/views/backend/order/form/modal_addorderreductioncart.html.twig
  2. +27
    -0
      ShopBundle/Resources/views/backend/order/form/modal_addorderreductioncredit.html.twig
  3. +1
    -1
      ShopBundle/Resources/views/backend/order/form/modal_addreductioncredit.html.twig

ShopBundle/Resources/views/backend/order/form/modal_addreductioncart.html.twig → ShopBundle/Resources/views/backend/order/form/modal_addorderreductioncart.html.twig View File


+ 27
- 0
ShopBundle/Resources/views/backend/order/form/modal_addorderreductioncredit.html.twig View File

@@ -0,0 +1,27 @@
{% embed "@LcShop/backend/default/block/embed_modal.twig" %}
{% trans_default_domain 'lcshop' %}

{% block id %}modal-reduction-credit{% endblock %}
{% block title %}{{ "action.order.addReductionCredit"|trans }}{% endblock %}

{% block form_start %}
{{ form_start(form_add_order_reduction_credit, {'attr': {'class': 'row', 'id' : 'addOrderReductionCreditForm'}}) }}
{% form_theme form_add_order_reduction_credit '@LcShop/backend/form/custom_bootstrap_4.html.twig' %}
{% endblock %}

{% block content %}
<div class="col">
{{ form_row(form_add_order_reduction_credit.reductionCredit) }}
</div>
{% endblock %}

{% block footer %}
{{ parent() }}
{{ form_row(form_add_order_reduction_credit.add, {"attr": {'class' : 'btn btn-primary', '@click': 'addOrderReductionCredit'}}) }}
{% endblock %}

{% block form_end %}
{{ form_end(form_add_order_reduction_credit) }}
{% endblock %}

{% endembed %}

+ 1
- 1
ShopBundle/Resources/views/backend/order/form/modal_addreductioncredit.html.twig View File

@@ -1,7 +1,7 @@
{% embed "@LcShop/backend/default/block/embed_modal.twig" %}
{% trans_default_domain 'lcshop' %}

{% block id %}modal-reduction-credit{% endblock %}
{% block id %}modal-add-order-reduction-credit{% endblock %}
{% block title %}{{ "action.order.addReductionCredit"|trans }}{% endblock %}

{% block form_start %}

Loading…
Cancel
Save