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.

65 lines
2.8KB

  1. {% extends '@LcShop/backend/default/show.html.twig' %}
  2. {% import '@LcShop/backend/default/block/macros.html.twig' as macros %}
  3. {% import '@LcShop/backend/order/macros.html.twig' as orderMacros %}
  4. {% block main %}
  5. {% form_theme form_order_reduction_cart '@LcShop/backend/form/custom_bootstrap_4.html.twig' %}
  6. {% form_theme form_add_product_to_order '@LcShop/backend/form/custom_bootstrap_4.html.twig' %}
  7. {% form_theme form_order_reduction_credit '@LcShop/backend/form/custom_bootstrap_4.html.twig' %}
  8. <div class="lc-vue-js-container" id="lc-order-edit">
  9. <div class="row">
  10. {{ orderMacros.mainInfo() }}
  11. <template v-if="order.user">
  12. {{ orderMacros.addressInfo() }}
  13. </template>
  14. {{ macros.startCard(12, 'OrderShop.resume') }}
  15. {% include '@LcShop/backend/order/form/card_orderproducts.html.twig' %}
  16. {#
  17. {{ macros.startCard(0, 'OrderShop.orderReductionCredit', 'success') }}
  18. {{ form_start(form_order_reduction_credit, {'attr': { 'id' : 'orderReductionCredit'}}) }}
  19. {{ form_end(form_order_reduction_credit) }}
  20. {{ macros.endCard }}#}
  21. {# {% include '@LcShop/backend/order/form/modal_reductioncart.html.twig' %}#}
  22. {{ macros.cardOverlay('isLoading') }}
  23. {{ macros.endCard() }}
  24. {% include '@LcShop/backend/order/form/modal_invoiceaddress.html.twig' %}
  25. {% include '@LcShop/backend/order/form/modal_deliveryaddress.html.twig' %}
  26. {% include '@LcShop/backend/order/form/modal_deliveryavailability.html.twig' %}
  27. {% include '@LcShop/backend/order/form/modal_orderstatus.html.twig' %}
  28. {% include '@LcShop/backend/order/form/modal_reductioncredit.html.twig' %}
  29. {% include '@LcShop/backend/order/form/modal_reductioncart.html.twig' %}
  30. {% include '@LcShop/backend/order/form/modal_addproducttoorder.html.twig' %}
  31. {# {{ macros.startCard(3, 'OrderShop.addProduct', 'success') }}
  32. {% include '@LcShop/backend/order/form/addproducttoorder.html.twig' %}
  33. {{ macros.endCard(3) }}
  34. {{ macros.startCard(0, 'OrderShop.orderReductionCart', 'success') }}
  35. {{ form_start(form_order_reduction_cart, {'attr': { 'id' : 'orderReductionCartForm'}}) }}
  36. {{ form_end(form_order_reduction_credit) }}
  37. {{ macros.endCard(3) }}#}
  38. </div>
  39. </div>
  40. {% endblock %}
  41. {% block script_javascript %}
  42. {{ parent() }}
  43. {% include '@LcShop/backend/default/block/script-vuejs.html.twig' %}
  44. <script src="{{ asset('bundles/lcshop/js/backend/script/order/vuejs-order.js') }}"></script>
  45. {% endblock %}