You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

show-cart.html.twig 4.0KB

пре 4 година
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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_addreductioncredit.html.twig' %}
  53. {% endif %}
  54. {% if form_add_order_reduction_cart is defined %}
  55. {% include '@LcShop/backend/order/form/modal_addreductioncart.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 %}