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

100 行
4.0KB

  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 class="col-3">
  9. {{ order_macros.box_user_info() }}
  10. </div>
  11. <div class="col-3">
  12. {{ order_macros.box_validation_date() }}
  13. </div>
  14. <div class="col-3">
  15. {{ order_macros.box_total_order() }}
  16. </div>
  17. <div class="col-3">
  18. {{ order_macros.box_status() }}
  19. </div>
  20. <template v-if="order.user">
  21. <div class="col-3">
  22. {{ order_macros.box_address_invoice() }}
  23. </div>
  24. <div class="col-3">
  25. {{ order_macros.box_address_delivery() }}
  26. </div>
  27. <div class="col-3">
  28. {{ order_macros.box_delivery_slot() }}
  29. </div>
  30. </template>
  31. <div class="col-12">
  32. {{ macros.card_start('OrderShop.resume') }}
  33. {% include '@LcShop/backend/order/form/card_orderproducts.html.twig' %}
  34. {{ macros.card_end('isLoading') }}
  35. </div>
  36. <div class="col-6">
  37. {{ order_macros.box_payments() }}
  38. </div>
  39. {% if form_order_invoice_address is defined %}
  40. {% include '@LcShop/backend/order/form/modal_invoiceaddress.html.twig' %}
  41. {% endif %}
  42. {% if form_order_delivery_address is defined %}
  43. {% include '@LcShop/backend/order/form/modal_deliveryaddress.html.twig' %}
  44. {% endif %}
  45. {% if form_order_delivery_availability is defined %}
  46. {% include '@LcShop/backend/order/form/modal_deliveryavailability.html.twig' %}
  47. {% endif %}
  48. {% if form_order_status is defined %}
  49. {% include '@LcShop/backend/order/form/modal_orderstatus.html.twig' %}
  50. {% endif %}
  51. {% if form_add_order_reduction_credit is defined %}
  52. {% include '@LcShop/backend/order/form/modal_addorderreductioncredit.html.twig' %}
  53. {% endif %}
  54. {% if form_add_order_reduction_cart is defined %}
  55. {% include '@LcShop/backend/order/form/modal_addorderreductioncart.html.twig' %}
  56. {% endif %}
  57. {% if form_delete_order_reduction_cart is defined %}
  58. {% include '@LcShop/backend/order/form/modal_deletereductioncart.html.twig' %}
  59. {% endif %}
  60. {% if form_delete_order_reduction_credit is defined %}
  61. {% include '@LcShop/backend/order/form/modal_deletereductioncredit.html.twig' %}
  62. {% endif %}
  63. {% if form_add_product_to_order is defined %}
  64. {% include '@LcShop/backend/order/form/modal_addproducttoorder.html.twig' %}
  65. {% endif %}
  66. {% if form_order_payment is defined %}
  67. {% include '@LcShop/backend/order/form/modal_orderpayment.html.twig' %}
  68. {% endif %}
  69. {% if form_delete_order_payment is defined %}
  70. {% include '@LcShop/backend/order/form/modal_deleteorderpayment.html.twig' %}
  71. {% endif %}
  72. {% if form_add_redelivery_order_product is defined %}
  73. {% include '@LcShop/backend/order/form/modal_addredeliveryorderproduct.html.twig' %}
  74. {% endif %}
  75. {% if form_order_send_payment_link is defined %}
  76. {% include '@LcShop/backend/order/form/modal_sendpaymentlink.html.twig' %}
  77. {% endif %}
  78. </div>
  79. </div>
  80. {% endblock %}
  81. {% block script_javascript %}
  82. {{ parent() }}
  83. {% include '@LcShop/backend/default/block/script-vuejs.html.twig' %}
  84. <script src="{{ asset('bundles/lcshop/js/backend/script/order/vuejs-order.js') }}"></script>
  85. {% endblock %}