{#
 # For the full copyright and license information, please view the
 # docs/licenses/LICENSE.txt file that was distributed with this source code.
 #}
<div class="card d-none" id="shipping-block">
  <h3 class="card-header">
    {{ 'Shipping'|trans({}, 'Admin.Actions') }}
  </h3>
  <div class="card-body">

    <form class="js-shipping-form d-none">
      <div class="form-group row">
        <label class="col-md-6 col-xl-3 text-md-right col-form-label" for="delivery-option-select">
          {{ 'Delivery option'|trans({}, 'Admin.Orderscustomers.Feature') }}
        </label>
        <div class="col-md-6 col-xl-4">
          <select class="form-control" id="delivery-option-select" name="carrier-id"></select>
        </div>
      </div>
      <div class="form-group row">
        <span class="col-md-6 col-xl-3 text-md-right col-form-label">
          {{ 'Shipping price (Tax incl.)'|trans({}, 'Admin.Orderscustomers.Feature') }}
        </span>
        <div class="col-md-6 col-xl-4">
          <span class="js-total-shipping-tax-inc font-weight-bold"></span>
        </div>
      </div>
      <div class="form-group row">
        <label class="col-md-6 col-xl-3 text-md-right col-form-label" for="free-shipping_0">
          {{ 'Free shipping'|trans({}, 'Admin.Shipping.Feature') }}
        </label>
        <div class="col-md-6 col-xl-4">
        <span class="ps-switch">
          <input id="free-shipping_0" class="js-free-shipping-switch" name="free_shipping" value="0" type="radio">
          <label for="free-shipping_0">{{ 'No'|trans({}, 'Admin.Global') }}</label>
          <input id="free-shipping_1" class="js-free-shipping-switch" name="free_shipping" value="1" checked="" type="radio">
          <label for="free-shipping_1">{{ 'Yes'|trans({}, 'Admin.Global') }}</label>
          <span class="slide-button"></span>
        </span>
        </div>
      </div>
      <div class="form-group row {% if not recycledPackagingEnabled %}d-none{% endif %}">
        <label class="col-md-6 col-xl-3 text-md-right col-form-label" for="recycled-packaging_0">
          {{ 'Recycled packaging'|trans({}, 'Admin.Orderscustomers.Feature') }}
        </label>
        <div class="col-md-6 col-xl-4">
          <span class="ps-switch">
            <input id="recycled-packaging_0" class="js-recycled-packaging-switch" name="recycled_packaging" value="0" checked="" type="radio">
            <label for="recycled-packaging_0">{{ 'No'|trans({}, 'Admin.Global') }}</label>
            <input id="recycled-packaging_1" class="js-recycled-packaging-switch" name="recycled_packaging" value="1" type="radio">
            <label for="recycled-packaging_1">{{ 'Yes'|trans({}, 'Admin.Global') }}</label>
            <span class="slide-button"></span>
          </span>
        </div>
      </div>
      <div class="form-group row {% if not giftSettingsEnabled %}d-none{% endif %}">
        <label class="col-md-6 col-xl-3 text-md-right col-form-label" for="is-gift_0">
          {{ 'Gift'|trans({}, 'Admin.Orderscustomers.Feature') }}
        </label>
        <div class="col-md-6 col-xl-4">
          <span class="ps-switch">
            <input id="is-gift_0" class="js-is-gift-switch" name="is_gift" value="0" checked="" type="radio">
            <label for="is-gift_0">{{ 'No'|trans({}, 'Admin.Global') }}</label>
            <input id="is-gift_1" class="js-is-gift-switch" name="is_gift" value="1" type="radio">
            <label for="is-gift_1">{{ 'Yes'|trans({}, 'Admin.Global') }}</label>
            <span class="slide-button"></span>
          </span>
        </div>

      </div>
      <div class="form-group row type-text {% if not giftSettingsEnabled %}d-none{% endif %}">
        <label class="col-md-6 col-xl-3 text-md-right col-form-label" for="cart_gift_message">
          {{ 'Gift message'|trans({}, 'Admin.Orderscustomers.Feature') }}
        </label>
        <div class="col-md-6 col-xl-4">
          <textarea id="cart_gift_message" name="cart_gift_message" class="form-control" cols="40" rows="4"></textarea>
        </div>
      </div>
    </form>

    <div class="js-no-carrier-block d-none">
      <div class="alert alert-warning">
        <div class="alert-text">
          {{ 'No carrier can be applied to this order'|trans({}, 'Admin.Orderscustomers.Notification') }}
        </div>
      </div>
    </div>
  </div>
</div>
