{% 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 %} <div class="lc-vue-js-container" id="lc-order-edit"> <div class="row"> <div v-show="order.valid" class="col-3" > {{ order_macros.box_reference() }} </div> <div class="col-3"> {{ order_macros.box_user_info() }} </div> <div class="col-3"> {{ order_macros.box_total_order() }} </div> <div class="col-3"> {{ order_macros.box_validation_date() }} </div> <div class="col-3"> {{ order_macros.box_status() }} </div> <div v-show="order.mainOrder" class="col-3"> {{ order_macros.box_main_order() }} </div> <div class="col-6"> {{ order_macros.box_payments() }} </div> <div class="col-6"> {{ order_macros.box_documents() }} </div> <div v-show="order.complementaryOrderShops" class="col-6"> {{ order_macros.box_complementary() }} </div> <div v-show="order.tickets" class="col-6"> {{ order_macros.box_tickets() }} </div> <template v-if="order.user"> <div class="col-3"> {{ order_macros.box_address_invoice() }} </div> <div class="col-3"> {{ order_macros.box_address_delivery() }} </div> <div class="col-3"> {{ order_macros.box_delivery_slot() }} </div> </template> <div class="col-12"> {{ macros.card_start('OrderShop.resume') }} {% include '@LcShop/backend/order/form/card_orderproducts.html.twig' %} {{ macros.card_overlay('isLoading') }} {{ macros.card_end() }} </div> {% 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 %} {% include '@LcShop/backend/order/form/modal_orderstatushistories.html.twig' %} </div> </div> {% endblock %} {% block script_javascript %} {{ parent() }} {% include '@LcShop/backend/default/block/script-vuejs.html.twig' %} <script src="{{ asset('bundles/lcshop/js/backend/script/order/vuejs-order.js')|lc_cache }}"></script> {% endblock %}