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.

39 line
1.4KB

  1. {% trans_default_domain 'lcshop' %}
  2. {% import '@LcShop/backend/default/block/macros.html.twig' as macros %}
  3. <div class="row">
  4. {{ macros.startCard(8, 'ReductionCart.conditions') }}
  5. {{ macros.fieldReductionDateRange(form) }}
  6. {{ macros.fieldReductionList(form, 'deliveryZones') }}
  7. {{ macros.fieldReductionList(form, 'deliverySlots') }}
  8. {{ macros.fieldReductionList(form, 'pointSales') }}
  9. {{ macros.fieldReductionList(form, 'groupUsers') }}
  10. {{ macros.fieldReductionList(form, 'users') }}
  11. <div class="col-12">
  12. <div class="form-group">
  13. <div class="form-group">
  14. {{ form_widget(form.combinable, {"attr" : {'v-model' : 'reductionCombinable' } }) }}
  15. </div>
  16. </div>
  17. </div>
  18. <div class="col-6">
  19. <div class="form-widget" :class="reductionCombinable == false ? '' : 'hidden'">
  20. {{ form_row(form.uncombinableTypes, {"attr" : {'ref' : 'reductionUncombinableTypes', 'v-model' : 'reductionUncombinableTypes' } }) }}
  21. </div>
  22. </div>
  23. <div class="col-6">
  24. <div class="form-widget" :class="reductionCombinable == false ? '' : 'hidden'">
  25. {{ form_row(form.uncombinables, {"attr" : {'ref' : 'reductionUncombinables', 'v-model' : 'reductionUncombinables' } }) }}
  26. </div>
  27. </div>
  28. <div class="col-12">
  29. {{ form_row(form.orderAmountMin) }}
  30. </div>
  31. {{ macros.endCard() }}
  32. </div>