|
|
@@ -2,6 +2,14 @@ |
|
|
|
|
|
|
|
{% import '@LcShop/backend/default/block/macros.html.twig' as macros %} |
|
|
|
|
|
|
|
<script> |
|
|
|
window.merchantPanelOrderValues = { |
|
|
|
{% if form.type.vars.value %}isOpenFullTime: '{{ form.type.vars.value }}'{% endif %} |
|
|
|
}; |
|
|
|
</script> |
|
|
|
|
|
|
|
{{ dump(form.merchantConfigs['is-open-full-time']) }} |
|
|
|
|
|
|
|
<div class="row"> |
|
|
|
<div class="col-8"> |
|
|
|
{{ macros.card_start('Merchant.order','light') }} |
|
|
@@ -11,6 +19,21 @@ |
|
|
|
<div class="col-6"> |
|
|
|
{{ form_row(form.merchantConfigs['maximum-order-week']) }} |
|
|
|
</div> |
|
|
|
{% if form.merchantConfigs['is-open-full-time'] is defined %} |
|
|
|
<div class="col-12"> |
|
|
|
{{ form_row(form.merchantConfigs['is-open-full-time'], {'attr': {"v-model" : 'isOpenFullTime'}}) }} |
|
|
|
</div> |
|
|
|
{% endif %} |
|
|
|
{% if form.merchantConfigs['message-site-opening-background'] is defined %} |
|
|
|
<div v-show="isOpenFullTime == true" class="col-6"> |
|
|
|
{{ form_row(form.merchantConfigs['message-site-opening-background']) }} |
|
|
|
</div> |
|
|
|
{% endif %} |
|
|
|
{% if form.merchantConfigs['message-site-opening'] is defined %} |
|
|
|
<div v-show="isOpenFullTime == true" class="col-6"> |
|
|
|
{{ form_row(form.merchantConfigs['message-site-opening']) }} |
|
|
|
</div> |
|
|
|
{% endif %} |
|
|
|
<div class="col-6"> |
|
|
|
{{ form_row(form.merchantConfigs['order-open-day']) }} |
|
|
|
</div> |