{% extends '@LcShop/backend/default/show.html.twig' %} {% import '@LcShop/backend/default/block/macros.html.twig' as macros %} {% import '@LcShop/backend/order/macros.html.twig' as orderMacros %} {% block main %} {# {% form_theme form_order_reduction_cart '@LcShop/backend/form/custom_bootstrap_4.html.twig' %} {% form_theme form_add_product_to_order '@LcShop/backend/form/custom_bootstrap_4.html.twig' %} {% form_theme form_order_reduction_credit '@LcShop/backend/form/custom_bootstrap_4.html.twig' %}#}
{{ orderMacros.mainInfo() }} {{ macros.startCard(12, 'OrderShop.resume') }} {% include '@LcShop/backend/order/form/card_orderproducts.html.twig' %} {{ macros.cardOverlay('isLoading') }} {#
Historiques des paiments
#}{#TODO: afficher si la commande est règlé et afficher une alerte si le montant des paiments est supérieur au montant total de la commande#}{##}{##}{##}{##}{# ${order.orderPaid}
  • ${orderPayment}
#} {{ macros.endCard() }} {% include '@LcShop/backend/order/form/modal_invoiceaddress.html.twig' %} {% include '@LcShop/backend/order/form/modal_deliveryaddress.html.twig' %} {% include '@LcShop/backend/order/form/modal_deliveryavailability.html.twig' %} {% include '@LcShop/backend/order/form/modal_orderstatus.html.twig' %} {% include '@LcShop/backend/order/form/modal_addreductioncredit.html.twig' %} {% include '@LcShop/backend/order/form/modal_addreductioncart.html.twig' %} {% include '@LcShop/backend/order/form/modal_deletereductioncart.html.twig' %} {% include '@LcShop/backend/order/form/modal_deletereductioncredit.html.twig' %} {% include '@LcShop/backend/order/form/modal_addproducttoorder.html.twig' %} {# {{ macros.startCard(3, 'OrderShop.addProduct', 'success') }} {% include '@LcShop/backend/order/form/addproducttoorder.html.twig' %} {{ macros.endCard(3) }} {{ macros.startCard(0, 'OrderShop.orderReductionCart', 'success') }} {{ form_start(form_order_reduction_cart, {'attr': { 'id' : 'orderReductionCartForm'}}) }} {{ form_end(form_order_reduction_credit) }} {{ macros.endCard(3) }}#}
{% endblock %} {% block script_javascript %} {{ parent() }} {% include '@LcShop/backend/default/block/script-vuejs.html.twig' %} {% endblock %}