|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% import '@LcShop/backend/default/block/macros.html.twig' as macros %} |
|
|
{% import '@LcShop/backend/default/block/macros.html.twig' as macros %} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
window.merchantPanelOrderValues = { |
|
|
window.merchantPanelOrderValues = { |
|
|
{% if form.type.vars.value %}isOpenFullTime: '{{ form.type.vars.value }}'{% endif %} |
|
|
|
|
|
|
|
|
{% if form.merchantConfigs['is-open-full-time'] is defined %}isOpenFullTime: {{ form.merchantConfigs['is-open-full-time'].vars.data.value }}{% endif %} |
|
|
}; |
|
|
}; |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
{{ dump(form.merchantConfigs['is-open-full-time']) }} |
|
|
|
|
|
|
|
|
|
|
|
<div class="row"> |
|
|
<div class="row"> |
|
|
<div class="col-8"> |
|
|
<div class="col-8"> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
{% if form.merchantConfigs['is-open-full-time'] is defined %} |
|
|
{% if form.merchantConfigs['is-open-full-time'] is defined %} |
|
|
<div class="col-12"> |
|
|
<div class="col-12"> |
|
|
{{ form_row(form.merchantConfigs['is-open-full-time'], {'attr': {"v-model" : 'isOpenFullTime'}}) }} |
|
|
|
|
|
|
|
|
{% for field in form.merchantConfigs['is-open-full-time'] %} |
|
|
|
|
|
{% if field.vars.name == 'value' %} |
|
|
|
|
|
{{ form_row(field, {'attr': {"v-model" : 'isOpenFullTime'}}) }} |
|
|
|
|
|
{% else %} |
|
|
|
|
|
{{ form_row(field) }} |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
{% endfor %} |
|
|
</div> |
|
|
</div> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{% if form.merchantConfigs['message-site-opening-background'] is defined %} |
|
|
{% if form.merchantConfigs['message-site-opening-background'] is defined %} |
|
|
|
|
|
|
|
|
{{ form_row(form.merchantConfigs['message-site-opening']) }} |
|
|
{{ form_row(form.merchantConfigs['message-site-opening']) }} |
|
|
</div> |
|
|
</div> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
<div class="col-6"> |
|
|
|
|
|
|
|
|
<div v-show="isOpenFullTime == false" class="col-6"> |
|
|
{{ form_row(form.merchantConfigs['order-open-day']) }} |
|
|
{{ form_row(form.merchantConfigs['order-open-day']) }} |
|
|
</div> |
|
|
</div> |
|
|
<div class="col-6"> |
|
|
|
|
|
|
|
|
<div v-show="isOpenFullTime == false" class="col-6"> |
|
|
{{ form_row(form.merchantConfigs['order-open-time']) }} |
|
|
{{ form_row(form.merchantConfigs['order-open-time']) }} |
|
|
</div> |
|
|
</div> |
|
|
{% if form.merchantConfigs['order-open-day-vip'] is defined %} |
|
|
{% if form.merchantConfigs['order-open-day-vip'] is defined %} |
|
|
<div class="col-6"> |
|
|
|
|
|
|
|
|
<div v-show="isOpenFullTime == false" class="col-6"> |
|
|
{{ form_row(form.merchantConfigs['order-open-day-vip']) }} |
|
|
{{ form_row(form.merchantConfigs['order-open-day-vip']) }} |
|
|
</div> |
|
|
</div> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{% if form.merchantConfigs['order-open-time-vip'] is defined %} |
|
|
{% if form.merchantConfigs['order-open-time-vip'] is defined %} |
|
|
<div class="col-6"> |
|
|
|
|
|
|
|
|
<div v-show="isOpenFullTime == false" class="col-6"> |
|
|
{{ form_row(form.merchantConfigs['order-open-time-vip']) }} |
|
|
{{ form_row(form.merchantConfigs['order-open-time-vip']) }} |
|
|
</div> |
|
|
</div> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
<div class="col-6"> |
|
|
|
|
|
|
|
|
<div v-show="isOpenFullTime == false" class="col-6"> |
|
|
{{ form_row(form.merchantConfigs['order-close-day']) }} |
|
|
{{ form_row(form.merchantConfigs['order-close-day']) }} |
|
|
</div> |
|
|
</div> |
|
|
<div class="col-6"> |
|
|
|
|
|
|
|
|
<div v-show="isOpenFullTime == false" class="col-6"> |
|
|
{{ form_row(form.merchantConfigs['order-close-time']) }} |
|
|
{{ form_row(form.merchantConfigs['order-close-time']) }} |
|
|
</div> |
|
|
</div> |
|
|
<div class="col-6"> |
|
|
|
|
|
|
|
|
<div v-show="isOpenFullTime == false" class="col-6"> |
|
|
{{ form_row(form.dateBeginHoliday) }} |
|
|
{{ form_row(form.dateBeginHoliday) }} |
|
|
</div> |
|
|
</div> |
|
|
<div class="col-6"> |
|
|
|
|
|
|
|
|
<div v-show="isOpenFullTime == false" class="col-6"> |
|
|
{{ form_row(form.dateEndHoliday) }} |
|
|
{{ form_row(form.dateEndHoliday) }} |
|
|
</div> |
|
|
</div> |
|
|
{{ macros.card_end() }} |
|
|
{{ macros.card_end() }} |