Browse Source

[Global] Bug retour system pay

feature/tableau_edition_avancee
Fab 4 years ago
parent
commit
29b3f9a2e9
5 changed files with 44 additions and 0 deletions
  1. +3
    -0
      ShopBundle/Resources/translations/lcshop.fr.yaml
  2. +37
    -0
      ShopBundle/Resources/views/backend/order/form/modal_orderstatushistories.html.twig
  3. +1
    -0
      ShopBundle/Resources/views/backend/order/macros.html.twig
  4. +1
    -0
      ShopBundle/Resources/views/backend/order/show-cart.html.twig
  5. +2
    -0
      ShopBundle/Resources/views/backend/order/show.html.twig

+ 3
- 0
ShopBundle/Resources/translations/lcshop.fr.yaml View File

deliveryAddress: Adresse de livraison deliveryAddress: Adresse de livraison
complementary: Commandes complémentaires complementary: Commandes complémentaires
tickets: Tickets relatif à la commande tickets: Tickets relatif à la commande
orderStatusHistories: Historique de changement de statut
Ticket: Ticket:
listMessages: Liste des messages listMessages: Liste des messages
list: Tickets ouverts list: Tickets ouverts
form.empty_value: Aucun(e) form.empty_value: Aucun(e)
add: Ajouter add: Ajouter
valid: Valider valid: Valider
close: Fermer
history: Historique
product: product:
editStock: Gérer les stocks editStock: Gérer les stocks
editProductFamily: Éditer le produit editProductFamily: Éditer le produit

+ 37
- 0
ShopBundle/Resources/views/backend/order/form/modal_orderstatushistories.html.twig View File

{% embed "@LcShop/backend/default/block/embed_modal.twig" %}
{% trans_default_domain 'lcshop' %}
{% block size %}modal-lg{% endblock %}
{% block id %}modal-order-status-histories{% endblock %}
{% block title %}{{ "group.OrderShop.orderStatusHistories"|trans }}{% endblock %}

{% block content %}
<div class="col">
<table class="table table-bordered">
<thead>
<th>Id</th>
<th>Date</th>
<th>Statut</th>
<th>Utilisateur</th>
<th>Origin</th>
</thead>
<tbody>
<template v-for="(orderStatusHistory, i) in order.orderStatusHistories">
<tr>
<td>${orderStatusHistory.id}</td>
<td>${orderStatusHistory.createdAt}</td>
<td>${orderStatusHistory.orderStatus}</td>
<td>${orderStatusHistory.createdBy}</td>
<td>${orderStatusHistory.origin}</td>
</tr>
</template>
</tbody>
</table>
</div>
{% endblock %}

{% block footer %}
<button type="button" class="btn btn-default float-right"
data-dismiss="modal">{{ 'action.close'|trans }}</button>
{% endblock %}

{% endembed %}

+ 1
- 0
ShopBundle/Resources/views/backend/order/macros.html.twig View File

<strong> ${order.orderStatus}</strong> <strong> ${order.orderStatus}</strong>
{% endblock %} {% endblock %}
{% block button %} {% block button %}
{{ order_macros.order_modal_button('#modal-order-status-histories', 'btn-secondary', 'action.history') }}
{{ order_macros.order_modal_button('#modal-order-status') }} {{ order_macros.order_modal_button('#modal-order-status') }}
{% endblock %} {% endblock %}
{% endembed %} {% endembed %}

+ 1
- 0
ShopBundle/Resources/views/backend/order/show-cart.html.twig View File

{% include '@LcShop/backend/order/form/modal_sendpaymentlink.html.twig' %} {% include '@LcShop/backend/order/form/modal_sendpaymentlink.html.twig' %}
{% endif %} {% endif %}


{% include '@LcShop/backend/order/form/modal_orderstatushistories.html.twig' %}
</div> </div>
</div> </div>
{% endblock %} {% endblock %}

+ 2
- 0
ShopBundle/Resources/views/backend/order/show.html.twig View File

{% include '@LcShop/backend/order/form/modal_sendpaymentlink.html.twig' %} {% include '@LcShop/backend/order/form/modal_sendpaymentlink.html.twig' %}
{% endif %} {% endif %}


{% include '@LcShop/backend/order/form/modal_orderstatushistories.html.twig' %}

</div> </div>
</div> </div>
{% endblock %} {% endblock %}

Loading…
Cancel
Save