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.

edit-cart.html.twig 3.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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 orderMacros %}
  5. {% block main %}
  6. {# {% form_theme form_order_reduction_cart '@LcShop/backend/form/custom_bootstrap_4.html.twig' %}
  7. {% form_theme form_add_product_to_order '@LcShop/backend/form/custom_bootstrap_4.html.twig' %}
  8. {% form_theme form_order_reduction_credit '@LcShop/backend/form/custom_bootstrap_4.html.twig' %}#}
  9. <div class="lc-vue-js-container" id="lc-order-edit">
  10. <div class="row">
  11. {{ orderMacros.mainInfo() }}
  12. <template v-if="order.user">
  13. {{ orderMacros.addressInfo() }}
  14. </template>
  15. {{ macros.startCard(12, 'OrderShop.resume') }}
  16. {% include '@LcShop/backend/order/form/card_orderproducts.html.twig' %}
  17. {{ macros.cardOverlay('isLoading') }}
  18. {{ macros.endCard() }}
  19. {% if form_order_invoice_address is defined %}
  20. {% include '@LcShop/backend/order/form/modal_invoiceaddress.html.twig' %}
  21. {% endif %}
  22. {% if form_order_delivery_address is defined %}
  23. {% include '@LcShop/backend/order/form/modal_deliveryaddress.html.twig' %}
  24. {% endif %}
  25. {% if form_order_delivery_availability is defined %}
  26. {% include '@LcShop/backend/order/form/modal_deliveryavailability.html.twig' %}
  27. {% endif %}
  28. {% if form_order_status is defined %}
  29. {% include '@LcShop/backend/order/form/modal_orderstatus.html.twig' %}
  30. {% endif %}
  31. {% if form_add_order_reduction_credit is defined %}
  32. {% include '@LcShop/backend/order/form/modal_addreductioncredit.html.twig' %}
  33. {% endif %}
  34. {% if form_add_order_reduction_cart is defined %}
  35. {% include '@LcShop/backend/order/form/modal_addreductioncart.html.twig' %}
  36. {% endif %}
  37. {% if form_delete_order_reduction_cart is defined %}
  38. {% include '@LcShop/backend/order/form/modal_deletereductioncart.html.twig' %}
  39. {% endif %}
  40. {% if form_delete_order_reduction_credit is defined %}
  41. {% include '@LcShop/backend/order/form/modal_deletereductioncredit.html.twig' %}
  42. {% endif %}
  43. {% if form_add_product_to_order is defined %}
  44. {% include '@LcShop/backend/order/form/modal_addproducttoorder.html.twig' %}
  45. {% endif %}
  46. {% if form_order_payment is defined %}
  47. {% include '@LcShop/backend/order/form/modal_orderpayment.html.twig' %}
  48. {% endif %}
  49. {% if form_delete_order_payment is defined %}
  50. {% include '@LcShop/backend/order/form/modal_deleteorderpayment.html.twig' %}
  51. {% endif %}
  52. {% if form_add_redelivery_order_product is defined %}
  53. {% include '@LcShop/backend/order/form/modal_addredeliveryorderproduct.html.twig' %}
  54. {% endif %}
  55. {# {{ macros.startCard(3, 'OrderShop.addProduct', 'success') }}
  56. {% include '@LcShop/backend/order/form/addproducttoorder.html.twig' %}
  57. {{ macros.endCard(3) }}
  58. {{ macros.startCard(0, 'OrderShop.orderReductionCart', 'success') }}
  59. {{ form_start(form_order_reduction_cart, {'attr': { 'id' : 'orderReductionCartForm'}}) }}
  60. {{ form_end(form_order_reduction_credit) }}
  61. {{ macros.endCard(3) }}#}
  62. </div>
  63. </div>
  64. {% endblock %}
  65. {% block script_javascript %}
  66. {{ parent() }}
  67. {% include '@LcShop/backend/default/block/script-vuejs.html.twig' %}
  68. <script src="{{ asset('bundles/lcshop/js/backend/script/order/vuejs-order.js') }}"></script>
  69. {% endblock %}