{% extends '@LcShop/backend/default/show.html.twig' %} {% trans_default_domain 'lcshop' %} {% import '@LcShop/backend/default/block/macros.html.twig' as macros %} {% import '@LcShop/backend/order/macros.html.twig' as order_macros %} {% 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' %}#}
{{ order_macros.mainInfo() }} {% macro addressInfo() %}
{{ "field.default.invoiceAddress"|trans({}, 'lcshop') }}
{{ _self.order_modal_button('#modal-order-invoice-address') }}
{{ "field.default.deliveryAddress"|trans({}, 'lcshop') }}
{{ "field.default.deliveryPointSale"|trans({}, 'lcshop') }} :
Aucun lieu de livraison défini.
{{ _self.order_modal_button('#modal-order-delivery-address') }}
{{ "field.default.deliveryAvailabilty"|trans({}, 'lcshop') }} :
{{ _self.order_modal_button('#modal-order-delivery-availability') }}
{% endmacro addressInfo %} {{ macros.startCard(9, 'OrderShop.resume') }} {% include '@LcShop/backend/order/form/card_orderproducts.html.twig' %} {{ macros.cardOverlay('isLoading') }} {{ macros.endCard() }} {% if form_order_invoice_address is defined %} {% include '@LcShop/backend/order/form/modal_invoiceaddress.html.twig' %} {% endif %} {% if form_order_delivery_address is defined %} {% include '@LcShop/backend/order/form/modal_deliveryaddress.html.twig' %} {% endif %} {% if form_order_delivery_availability is defined %} {% include '@LcShop/backend/order/form/modal_deliveryavailability.html.twig' %} {% endif %} {% if form_order_status is defined %} {% include '@LcShop/backend/order/form/modal_orderstatus.html.twig' %} {% endif %} {% if form_add_order_reduction_credit is defined %} {% include '@LcShop/backend/order/form/modal_addreductioncredit.html.twig' %} {% endif %} {% if form_add_order_reduction_cart is defined %} {% include '@LcShop/backend/order/form/modal_addreductioncart.html.twig' %} {% endif %} {% if form_delete_order_reduction_cart is defined %} {% include '@LcShop/backend/order/form/modal_deletereductioncart.html.twig' %} {% endif %} {% if form_delete_order_reduction_credit is defined %} {% include '@LcShop/backend/order/form/modal_deletereductioncredit.html.twig' %} {% endif %} {% if form_add_product_to_order is defined %} {% include '@LcShop/backend/order/form/modal_addproducttoorder.html.twig' %} {% endif %} {% if form_order_payment is defined %} {% include '@LcShop/backend/order/form/modal_orderpayment.html.twig' %} {% endif %} {% if form_delete_order_payment is defined %} {% include '@LcShop/backend/order/form/modal_deleteorderpayment.html.twig' %} {% endif %} {% if form_add_redelivery_order_product is defined %} {% include '@LcShop/backend/order/form/modal_addredeliveryorderproduct.html.twig' %} {% endif %} {% if form_order_send_payment_link is defined %} {% include '@LcShop/backend/order/form/modal_sendpaymentlink.html.twig' %} {% endif %} {# {{ 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 %}