|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- {% 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') }}"></script>
- {% endblock %}
|