{% trans_default_domain 'lcshop' %}

{% import '@LcShop/backend/default/block/macros.html.twig' as macros %}

<div class="row">
    <div class="col-8">
        {{ macros.card_start('Merchant.delivery','light') }}

        {% if form.merchantConfigs['delivery-depository-only'] is defined %}
            <div class="col-12">
                {{ form_row(form.merchantConfigs['delivery-depository-only']) }}
            </div>
        {% endif %}
        {% if form.merchantConfigs['image-zones'] is defined %}
            <div class="col-12">
                {{ form_row(form.merchantConfigs['image-zones']) }}
            </div>
        {% endif %}
        {% if form.merchantConfigs['downtime-per-customer'] is defined %}
            <div class="col-12">
                {{ form_row(form.merchantConfigs['downtime-per-customer']) }}
            </div>
        {% endif %}
        <div class="col-12">
            {{ form_row(form.deliveryTaxRate) }}
        </div>
        {% if form.merchantConfigs['bike-delivery-url-map'] is defined %}
            <div class="col-12">
                {{ form_row(form.merchantConfigs['bike-delivery-url-map']) }}
            </div>
        {% endif %}
        {{ macros.card_end() }}
    </div>
</div>
