您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

show.html.twig 4.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. {% extends '@LcShop/backend/default/show.html.twig' %}
  2. {% trans_default_domain 'lcshop' %}
  3. {% import '@LcShop/backend/default/block/macros.html.twig' as macros %}
  4. {% import '@LcShop/backend/order/macros.html.twig' as order_macros %}
  5. {% block main %}
  6. <div class="lc-vue-js-container" id="lc-order-edit">
  7. <div class="row">
  8. <div v-show="order.valid" class="col-3" >
  9. {{ order_macros.box_reference() }}
  10. </div>
  11. <div class="col-3">
  12. {{ order_macros.box_user_info() }}
  13. </div>
  14. <div class="col-3">
  15. {{ order_macros.box_validation_date() }}
  16. </div>
  17. <div class="col-3">
  18. {{ order_macros.box_total_order() }}
  19. </div>
  20. <div class="col-3">
  21. {{ order_macros.box_status() }}
  22. </div>
  23. <div v-show="order.mainOrder" class="col-3">
  24. {{ order_macros.box_main_order() }}
  25. </div>
  26. <div class="col-6">
  27. {{ order_macros.box_payments() }}
  28. </div>
  29. <div class="col-6">
  30. {{ order_macros.box_documents() }}
  31. </div>
  32. <div v-show="order.complementaryOrderShops" class="col-6">
  33. {{ order_macros.box_complementary() }}
  34. </div>
  35. <div v-show="order.tickets" class="col-6">
  36. {{ order_macros.box_tickets() }}
  37. </div>
  38. <template v-if="order.user">
  39. <div class="col-3">
  40. {{ order_macros.box_address_invoice() }}
  41. </div>
  42. <div class="col-3">
  43. {{ order_macros.box_address_delivery() }}
  44. </div>
  45. <div class="col-3">
  46. {{ order_macros.box_delivery_slot() }}
  47. </div>
  48. </template>
  49. <div class="col-12">
  50. {{ macros.card_start('OrderShop.resume') }}
  51. {% include '@LcShop/backend/order/form/card_orderproducts.html.twig' %}
  52. {{ macros.card_overlay('isLoading') }}
  53. {{ macros.card_end() }}
  54. </div>
  55. {% if form_order_invoice_address is defined %}
  56. {% include '@LcShop/backend/order/form/modal_invoiceaddress.html.twig' %}
  57. {% endif %}
  58. {% if form_order_delivery_address is defined %}
  59. {% include '@LcShop/backend/order/form/modal_deliveryaddress.html.twig' %}
  60. {% endif %}
  61. {% if form_order_delivery_availability is defined %}
  62. {% include '@LcShop/backend/order/form/modal_deliveryavailability.html.twig' %}
  63. {% endif %}
  64. {% if form_order_status is defined %}
  65. {% include '@LcShop/backend/order/form/modal_orderstatus.html.twig' %}
  66. {% endif %}
  67. {% if form_add_order_reduction_credit is defined %}
  68. {% include '@LcShop/backend/order/form/modal_addreductioncredit.html.twig' %}
  69. {% endif %}
  70. {% if form_add_order_reduction_cart is defined %}
  71. {% include '@LcShop/backend/order/form/modal_addreductioncart.html.twig' %}
  72. {% endif %}
  73. {% if form_delete_order_reduction_cart is defined %}
  74. {% include '@LcShop/backend/order/form/modal_deletereductioncart.html.twig' %}
  75. {% endif %}
  76. {% if form_delete_order_reduction_credit is defined %}
  77. {% include '@LcShop/backend/order/form/modal_deletereductioncredit.html.twig' %}
  78. {% endif %}
  79. {% if form_add_product_to_order is defined %}
  80. {% include '@LcShop/backend/order/form/modal_addproducttoorder.html.twig' %}
  81. {% endif %}
  82. {% if form_order_payment is defined %}
  83. {% include '@LcShop/backend/order/form/modal_orderpayment.html.twig' %}
  84. {% endif %}
  85. {% if form_delete_order_payment is defined %}
  86. {% include '@LcShop/backend/order/form/modal_deleteorderpayment.html.twig' %}
  87. {% endif %}
  88. {% if form_add_redelivery_order_product is defined %}
  89. {% include '@LcShop/backend/order/form/modal_addredeliveryorderproduct.html.twig' %}
  90. {% endif %}
  91. {% if form_order_send_payment_link is defined %}
  92. {% include '@LcShop/backend/order/form/modal_sendpaymentlink.html.twig' %}
  93. {% endif %}
  94. </div>
  95. </div>
  96. {% endblock %}
  97. {% block script_javascript %}
  98. {{ parent() }}
  99. {% include '@LcShop/backend/default/block/script-vuejs.html.twig' %}
  100. <script src="{{ asset('bundles/lcshop/js/backend/script/order/vuejs-order.js') }}"></script>
  101. {% endblock %}