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 |
{% 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 %} |
<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 %} |
{% 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 %} |
{% 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 %} |