Your IP : 216.73.216.95


Current Path : /var/www/alh/upload/admin/view/template/extension/shipping/
Upload File :
Current File : /var/www/alh/upload/admin/view/template/extension/shipping/ups.twig

{{ header }}{{ column_left }}
<div id="content">
  <div class="page-header">
    <div class="container-fluid">
      <div class="pull-right">
        <button type="submit" form="form-shipping" data-toggle="tooltip" title="{{ button_save }}" class="btn btn-primary"><i class="fa fa-save"></i></button>
        <a href="{{ cancel }}" data-toggle="tooltip" title="{{ button_cancel }}" class="btn btn-default"><i class="fa fa-reply"></i></a></div>
      <h1>{{ heading_title }}</h1>
      <ul class="breadcrumb">
        {% for breadcrumb in breadcrumbs %}
        <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
        {% endfor %}
      </ul>
    </div>
  </div>
  <div class="container-fluid">
    {% if error_warning %}
    <div class="alert alert-danger alert-dismissible"><i class="fa fa-exclamation-circle"></i> {{ error_warning }}
      <button type="button" class="close" data-dismiss="alert">&times;</button>
    </div>
    {% endif %}
    <div class="panel panel-default">
      <div class="panel-heading">
        <h3 class="panel-title"><i class="fa fa-pencil"></i> {{ text_edit }}</h3>
      </div>
      <div class="panel-body">
        <form action="{{ action }}" method="post" enctype="multipart/form-data" id="form-shipping" class="form-horizontal">
          <div class="form-group required">
            <label class="col-sm-2 control-label" for="input-key"><span data-toggle="tooltip" title="{{ help_key }}">{{ entry_key }}</span></label>
            <div class="col-sm-10">
              <input type="text" name="shipping_ups_key" value="{{ shipping_ups_key }}" placeholder="{{ entry_key }}" id="input-key" class="form-control" />
              {% if error_key %}
              <div class="text-danger">{{ error_key }}</div>
              {% endif %}
            </div>
          </div>
          <div class="form-group required">
            <label class="col-sm-2 control-label" for="input-username"><span data-toggle="tooltip" title="{{ help_username }}">{{ entry_username }}</span></label>
            <div class="col-sm-10">
              <input type="text" name="shipping_ups_username" value="{{ shipping_ups_username }}" placeholder="{{ entry_username }}" id="input-username" class="form-control" />
              {% if error_username %}
              <div class="text-danger">{{ error_username }}</div>
              {% endif %}
            </div>
          </div>
          <div class="form-group required">
            <label class="col-sm-2 control-label" for="input-password"><span data-toggle="tooltip" title="{{ help_password }}">{{ entry_password }}</span></label>
            <div class="col-sm-10">
              <input type="text" name="shipping_ups_password" value="{{ shipping_ups_password }}" placeholder="{{ entry_password }}" id="input-password" class="form-control" />
              {% if error_password %}
              <div class="text-danger">{{ error_password }}</div>
              {% endif %}
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-pickup"><span data-toggle="tooltip" title="{{ help_pickup }}">{{ entry_pickup }}</span></label>
            <div class="col-sm-10">
              <select name="shipping_ups_pickup" id="input-pickup" class="form-control">
                {% for pickup in pickups %}
                {% if pickup.value == shipping_ups_pickup %}
                <option value="{{ pickup.value }}" selected="selected">{{ pickup.text }}</option>
                {% else %}
                <option value="{{ pickup.value }}">{{ pickup.text }}</option>
                {% endif %}
                {% endfor %}
              </select>
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-packaging"><span data-toggle="tooltip" title="{{ help_packaging }}">{{ entry_packaging }}</span></label>
            <div class="col-sm-10">
              <select name="shipping_ups_packaging" id="input-packaging" class="form-control">
                {% for package in packages %}
                {% if package.value == shipping_ups_packaging %}
                <option value="{{ package.value }}" selected="selected">{{ package.text }}</option>
                {% else %}
                <option value="{{ package.value }}">{{ package.text }}</option>
                {% endif %}
               {% endfor %}
              </select>
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-classification"><span data-toggle="tooltip" title="{{ help_classification }}">{{ entry_classification }}</span></label>
            <div class="col-sm-10">
              <select name="shipping_ups_classification" id="input-classification" class="form-control">
                {% for classification in classifications %}
                {% if classification.value == shipping_ups_classification %}
                <option value="{{ classification.value }}" selected="selected">{{ classification.text }}</option>
                {% else %}
                <option value="{{ classification.value }}">{{ classification.text }}</option>
                {% endif %}
                {% endfor %}
              </select>
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-origin"><span data-toggle="tooltip" title="{{ help_origin }}">{{ entry_origin }}</span></label>
            <div class="col-sm-10">
              <select name="shipping_ups_origin" id="input-origin" class="form-control">
                {% for origin in origins %}
                {% if origin.value == shipping_ups_origin %}
                <option value="{{ origin.value }}" selected="selected">{{ origin.text }}</option>
                {% else %}
                <option value="{{ origin.value }}">{{ origin.text }}</option>
                {% endif %}
                {% endfor %}
              </select>
            </div>
          </div>
          <div class="form-group required">
            <label class="col-sm-2 control-label" for="input-city"><span data-toggle="tooltip" title="{{ help_city }}">{{ entry_city }}</span></label>
            <div class="col-sm-10">
              <input type="text" name="shipping_ups_city" value="{{ shipping_ups_city }}" placeholder="{{ entry_city }}" id="input-city" class="form-control" />
              {% if error_city %}
              <div class="text-danger">{{ error_city }}</div>
              {% endif %}
            </div>
          </div>
          <div class="form-group required">
            <label class="col-sm-2 control-label" for="input-state"><span data-toggle="tooltip" title="{{ help_state }}">{{ entry_state }}</span></label>
            <div class="col-sm-10">
              <input type="text" name="shipping_ups_state" value="{{ shipping_ups_state }}" placeholder="{{ entry_state }}" id="input-state" class="form-control" maxlength="2" />
              {% if error_state %}
              <div class="text-danger">{{ error_state }}</div>
              {% endif %}
            </div>
          </div>
          <div class="form-group required">
            <label class="col-sm-2 control-label" for="input-country"><span data-toggle="tooltip" title="{{ help_country }}">{{ entry_country }}</span></label>
            <div class="col-sm-10">
              <input type="text" name="shipping_ups_country" value="{{ shipping_ups_country }}" placeholder="{{ entry_country }}" id="input-country" class="form-control" maxlength="2" />
              {% if error_country %}
              <div class="text-danger">{{ error_country }}</div>
              {% endif %}
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-postcode"><span data-toggle="tooltip" title="{{ help_postcode }}">{{ entry_postcode }}</span></label>
            <div class="col-sm-10">
              <input type="text" name="shipping_ups_postcode" value="{{ shipping_ups_postcode }}" placeholder="{{ entry_postcode }}" id="input-postcode" class="form-control" />
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label"><span data-toggle="tooltip" title="{{ help_test }}">{{ entry_test }}</span></label>
            <div class="col-sm-10">
              <label class="radio-inline">
                {% if shipping_ups_test %}
                <input type="radio" name="shipping_ups_test" value="1" checked="checked" />
                {{ text_yes }}
                {% else %}
                <input type="radio" name="shipping_ups_test" value="1" />
                {{ text_yes }}
                {% endif %}
              </label>
              <label class="radio-inline">
                {% if not shipping_ups_test %}
                <input type="radio" name="shipping_ups_test" value="0" checked="checked" />
                {{ text_no }}
                {% else %}
                <input type="radio" name="shipping_ups_test" value="0" />
                {{ text_no }}
                {% endif %}
              </label>
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-quote-type"><span data-toggle="tooltip" title="{{ help_quote_type }}">{{ entry_quote_type }}</span></label>
            <div class="col-sm-10">
              <select name="shipping_ups_quote_type" id="input-quote-type" class="form-control">
                {% for quote_type in quote_types %}
                {% if quote_type.value == shipping_ups_quote_type %}
                <option value="{{ quote_type.value }}" selected="selected">{{ quote_type.text }}</option>
                {% else %}
                <option value="{{ quote_type.value }}">{{ quote_type.text }}</option>
                {% endif %}
                {% endfor %}
              </select>
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label"><span data-toggle="tooltip" title="{{ help_service }}">{{ entry_service }}</span></label>
            <div class="col-sm-10">
              <div id="service" class="well well-sm" style="height: 150px; overflow: auto;">
                <div id="US">
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_us_01 %}
                      <input type="checkbox" name="shipping_ups_us_01" value="1" checked="checked" />
                      {{ text_next_day_air }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_us_01" value="1" />
                      {{ text_next_day_air }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_us_02 %}
                      <input type="checkbox" name="shipping_ups_us_02" value="1" checked="checked" />
                      {{ text_2nd_day_air }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_us_02" value="1" />
                      {{ text_2nd_day_air }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_us_03 %}
                      <input type="checkbox" name="shipping_ups_us_03" value="1" checked="checked" />
                      {{ text_ground }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_us_03" value="1" />
                      {{ text_ground }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_us_07 %}
                      <input type="checkbox" name="shipping_ups_us_07" value="1" checked="checked" />
                      {{ text_worldwide_express }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_us_07" value="1" />
                      {{ text_worldwide_express }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_us_08 %}
                      <input type="checkbox" name="shipping_ups_us_08" value="1" checked="checked" />
                      {{ text_worldwide_expedited }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_us_08" value="1" />
                      {{ text_worldwide_expedited }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_us_11 %}
                      <input type="checkbox" name="shipping_ups_us_11" value="1" checked="checked" />
                      {{ text_standard }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_us_11" value="1" />
                      {{ text_standard }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_us_12 %}
                      <input type="checkbox" name="shipping_ups_us_12" value="1" checked="checked" />
                      {{ text_3_day_select }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_us_12" value="1" />
                      {{ text_3_day_select }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_us_13 %}
                      <input type="checkbox" name="shipping_ups_us_13" value="1" checked="checked" />
                      {{ text_next_day_air_saver }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_us_13" value="1" />
                      {{ text_next_day_air_saver }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_us_14 %}
                      <input type="checkbox" name="shipping_ups_us_14" value="1" checked="checked" />
                      {{ text_next_day_air_early_am }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_us_14" value="1" />
                      {{ text_next_day_air_early_am }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_us_54 %}
                      <input type="checkbox" name="shipping_ups_us_54" value="1" checked="checked" />
                      {{ text_worldwide_express_plus }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_us_54" value="1" />
                      {{ text_worldwide_express_plus }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_us_59 %}
                      <input type="checkbox" name="shipping_ups_us_59" value="1" checked="checked" />
                      {{ text_2nd_day_air_am }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_us_59" value="1" />
                      {{ text_2nd_day_air_am }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_us_65 %}
                      <input type="checkbox" name="shipping_ups_us_65" value="1" checked="checked" />
                      {{ text_saver }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_us_65" value="1" />
                      {{ text_saver }}
                      {% endif %}
                    </label>
                  </div>
                </div>
                <div id="PR">
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_pr_01 %}
                      <input type="checkbox" name="shipping_ups_pr_01" value="1" checked="checked" />
                      {{ text_next_day_air }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_pr_01" value="1" />
                      {{ text_next_day_air }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_pr_02 %}
                      <input type="checkbox" name="shipping_ups_pr_02" value="1" checked="checked" />
                      {{ text_2nd_day_air }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_pr_02" value="1" />
                      {{ text_2nd_day_air }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_pr_03 %}
                      <input type="checkbox" name="shipping_ups_pr_03" value="1" checked="checked" />
                      {{ text_ground }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_pr_03" value="1" />
                      {{ text_ground }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_pr_07 %}
                      <input type="checkbox" name="shipping_ups_pr_07" value="1" checked="checked" />
                      {{ text_worldwide_express }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_pr_07" value="1" />
                      {{ text_worldwide_express }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_pr_08 %}
                      <input type="checkbox" name="shipping_ups_pr_08" value="1" checked="checked" />
                      {{ text_worldwide_expedited }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_pr_08" value="1" />
                      {{ text_worldwide_expedited }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_pr_14 %}
                      <input type="checkbox" name="shipping_ups_pr_14" value="1" checked="checked" />
                      {{ text_next_day_air_early_am }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_pr_14" value="1" />
                      {{ text_next_day_air_early_am }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_pr_54 %}
                      <input type="checkbox" name="shipping_ups_pr_54" value="1" checked="checked" />
                      {{ text_worldwide_express_plus }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_pr_54" value="1" />
                      {{ text_worldwide_express_plus }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_pr_65 %}
                      <input type="checkbox" name="shipping_ups_pr_65" value="1" checked="checked" />
                      {{ text_saver }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_pr_65" value="1" />
                      {{ text_saver }}
                      {% endif %}
                    </label>
                  </div>
                </div>
                <div id="CA">
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_ca_01 %}
                      <input type="checkbox" name="shipping_ups_ca_01" value="1" checked="checked" />
                      {{ text_express }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_ca_01" value="1" />
                      {{ text_express }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_ca_02 %}
                      <input type="checkbox" name="shipping_ups_ca_02" value="1" checked="checked" />
                      {{ text_expedited }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_ca_02" value="1" />
                      {{ text_expedited }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_ca_07 %}
                      <input type="checkbox" name="shipping_ups_ca_07" value="1" checked="checked" />
                      {{ text_worldwide_express }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_ca_07" value="1" />
                      {{ text_worldwide_express }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_ca_08 %}
                      <input type="checkbox" name="shipping_ups_ca_08" value="1" checked="checked" />
                      {{ text_worldwide_expedited }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_ca_08" value="1" />
                      {{ text_worldwide_expedited }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_ca_11 %}
                      <input type="checkbox" name="shipping_ups_ca_11" value="1" checked="checked" />
                      {{ text_standard }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_ca_11" value="1" />
                      {{ text_standard }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_ca_12 %}
                      <input type="checkbox" name="shipping_ups_ca_12" value="1" checked="checked" />
                      {{ text_3_day_select }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_ca_12" value="1" />
                      {{ text_3_day_select }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_ca_13 %}
                      <input type="checkbox" name="shipping_ups_ca_13" value="1" checked="checked" />
                      {{ text_saver }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_ca_13" value="1" />
                      {{ text_saver }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_ca_14 %}
                      <input type="checkbox" name="shipping_ups_ca_14" value="1" checked="checked" />
                      {{ text_express_early_am }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_ca_14" value="1" />
                      {{ text_express_early_am }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_ca_54 %}
                      <input type="checkbox" name="shipping_ups_ca_54" value="1" checked="checked" />
                      {{ text_worldwide_express_plus }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_ca_54" value="1" />
                      {{ text_worldwide_express_plus }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_ca_65 %}
                      <input type="checkbox" name="shipping_ups_ca_65" value="1" checked="checked" />
                      {{ text_saver }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_ca_65" value="1" />
                      {{ text_saver }}
                      {% endif %}
                    </label>
                  </div>
                </div>
                <div id="MX">
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_mx_07 %}
                      <input type="checkbox" name="shipping_ups_mx_07" value="1" checked="checked" />
                      {{ text_worldwide_express }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_mx_07" value="1" />
                      {{ text_worldwide_express }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_mx_08 %}
                      <input type="checkbox" name="shipping_ups_mx_08" value="1" checked="checked" />
                      {{ text_worldwide_expedited }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_mx_08" value="1" />
                      {{ text_worldwide_expedited }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_mx_54 %}
                      <input type="checkbox" name="shipping_ups_mx_54" value="1" checked="checked" />
                      {{ text_worldwide_express_plus }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_mx_54" value="1" />
                      {{ text_worldwide_express_plus }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_mx_65 %}
                      <input type="checkbox" name="shipping_ups_mx_65" value="1" checked="checked" />
                      {{ text_saver }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_mx_65" value="1" />
                      {{ text_saver }}
                      {% endif %}
                    </label>
                  </div>
                </div>
                <div id="EU">
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_eu_07 %}
                      <input type="checkbox" name="shipping_ups_eu_07" value="1" checked="checked" />
                      {{ text_express }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_eu_07" value="1" />
                      {{ text_express }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_eu_08 %}
                      <input type="checkbox" name="shipping_ups_eu_08" value="1" checked="checked" />
                      {{ text_expedited }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_eu_08" value="1" />
                      {{ text_expedited }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_eu_11 %}
                      <input type="checkbox" name="shipping_ups_eu_11" value="1" checked="checked" />
                      {{ text_standard }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_eu_11" value="1" />
                      {{ text_standard }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_eu_54 %}
                      <input type="checkbox" name="shipping_ups_eu_54" value="1" checked="checked" />
                      {{ text_worldwide_express_plus }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_eu_54" value="1" />
                      {{ text_worldwide_express_plus }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_eu_65 %}
                      <input type="checkbox" name="shipping_ups_eu_65" value="1" checked="checked" />
                      {{ text_saver }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_eu_65" value="1" />
                      {{ text_saver }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_eu_82 %}
                      <input type="checkbox" name="shipping_ups_eu_82" value="1" checked="checked" />
                      {{ text_today_standard }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_eu_82" value="1" />
                      {{ text_today_standard }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_eu_83 %}
                      <input type="checkbox" name="shipping_ups_eu_83" value="1" checked="checked" />
                      {{ text_today_dedicated_courier }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_eu_83" value="1" />
                      {{ text_today_dedicated_courier }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_eu_84 %}
                      <input type="checkbox" name="shipping_ups_eu_84" value="1" checked="checked" />
                      {{ text_today_intercity }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_eu_84" value="1" />
                      {{ text_today_intercity }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_eu_85 %}
                      <input type="checkbox" name="shipping_ups_eu_85" value="1" checked="checked" />
                      {{ text_today_express }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_eu_85" value="1" />
                      {{ text_today_express }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_eu_86 %}
                      <input type="checkbox" name="shipping_ups_eu_86" value="1" checked="checked" />
                      {{ text_today_express_saver }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_eu_86" value="1" />
                      {{ text_today_express_saver }}
                      {% endif %}
                    </label>
                  </div>
                </div>
                <div id="other">
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_other_07 %}
                      <input type="checkbox" name="shipping_ups_other_07" value="1" checked="checked" />
                      {{ text_express }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_other_07" value="1" />
                      {{ text_express }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_other_08 %}
                      <input type="checkbox" name="shipping_ups_other_08" value="1" checked="checked" />
                      {{ text_expedited }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_other_08" value="1" />
                      {{ text_expedited }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_other_11 %}
                      <input type="checkbox" name="shipping_ups_other_11" value="1" checked="checked" />
                      {{ text_standard }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_other_11" value="1" />
                      {{ text_standard }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_other_54 %}
                      <input type="checkbox" name="shipping_ups_other_54" value="1" checked="checked" />
                      {{ text_worldwide_express_plus }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_other_54" value="1" />
                      {{ text_worldwide_express_plus }}
                      {% endif %}
                    </label>
                  </div>
                  <div class="checkbox">
                    <label>
                      {% if shipping_ups_other_65 %}
                      <input type="checkbox" name="shipping_ups_other_65" value="1" checked="checked" />
                      {{ text_saver }}
                      {% else %}
                      <input type="checkbox" name="shipping_ups_other_65" value="1" />
                      {{ text_saver }}
                      {% endif %}
                    </label>
                  </div>
                </div>
              </div>
              <button type="button" onclick="$(this).parent().find(':checkbox').prop('checked', true);" class="btn btn-link">{{ text_select_all }}</button> / <button type="button" onclick="$(this).parent().find(':checkbox').prop('checked', false);" class="btn btn-link">{{ text_unselect_all }}</button></div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label"><span data-toggle="tooltip" title="{{ help_insurance }}">{{ entry_insurance }}</span></label>
            <div class="col-sm-10">
              <label class="radio-inline">
                {% if shipping_ups_insurance %}
                <input type="radio" name="shipping_ups_insurance" value="1" checked="checked" />
                {{ text_yes }}
                {% else %}
                <input type="radio" name="shipping_ups_insurance" value="1" />
                {{ text_yes }}
                {% endif %}
              </label>
              <label class="radio-inline">
                {% if not shipping_ups_insurance %}
                <input type="radio" name="shipping_ups_insurance" value="0" checked="checked" />
                {{ text_no }}
                {% else %}
                <input type="radio" name="shipping_ups_insurance" value="0" />
                {{ text_no }}
                {% endif %}
              </label>
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label">{{ entry_display_weight }}</label>
            <div class="col-sm-10">
              <label class="radio-inline">
                {% if shipping_ups_display_weight %}
                <input type="radio" name="shipping_ups_display_weight" value="1" checked="checked" />
                {{ text_yes }}
                {% else %}
                <input type="radio" name="shipping_ups_display_weight" value="1" />
                {{ text_yes }}
                {% endif %}
              </label>
              <label class="radio-inline">
                {% if not shipping_ups_display_weight %}
                <input type="radio" name="shipping_ups_display_weight" value="0" checked="checked" />
                {{ text_no }}
                {% else %}
                <input type="radio" name="shipping_ups_display_weight" value="0" />
                {{ text_no }}
                {% endif %}
              </label>
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-weight-class"><span data-toggle="tooltip" title="{{ help_weight_class }}">{{ entry_weight_class }}</span></label>
            <div class="col-sm-10">
              <select name="shipping_ups_weight_class_id" id="input-weight-class" class="form-control">
                {% for weight_class in weight_classes %}
                {% if weight_class.weight_class_id == shipping_ups_weight_class_id %}
                <option value="{{ weight_class.weight_class_id }}" selected="selected">{{ weight_class.title }}</option>
                {% else %}
                <option value="{{ weight_class.weight_class_id }}">{{ weight_class.title }}</option>
                {% endif %}
                {% endfor %}
              </select>
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-length-class"><span data-toggle="tooltip" title="{{ help_length_class }}">{{ entry_length_class }}</span></label>
            <div class="col-sm-10">
              <select name="shipping_ups_length_class_id" id="input-length-class" class="form-control">
                {% for length_class in length_classes %}
                {% if length_class.length_class_id == shipping_ups_length_class_id %}
                <option value="{{ length_class.length_class_id }}" selected="selected">{{ length_class.title }}</option>
                {% else %}
                <option value="{{ length_class.length_class_id }}">{{ length_class.title }}</option>
                {% endif %}
                {% endfor %}
              </select>
            </div>
          </div>
          <div class="form-group required">
            <label class="col-sm-2 control-label" for="input-length"><span data-toggle="tooltip" title="{{ help_dimension }}">{{ entry_dimension }}</span></label>
            <div class="col-sm-10">
              <div class="row">
                <div class="col-sm-4">
                  <input type="text" name="shipping_ups_length" value="{{ shipping_ups_length }}" placeholder="{{ entry_length }}" id="input-length" class="form-control" />
                </div>
                <div class="col-sm-4">
                  <input type="text" name="shipping_ups_width" value="{{ shipping_ups_width }}" placeholder="{{ entry_width }}" id="input-width" class="form-control" />
                </div>
                <div class="col-sm-4">
                  <input type="text" name="shipping_ups_height" value="{{ shipping_ups_height }}" placeholder="{{ entry_height }}" id="input-height" class="form-control" />
                </div>
              </div>
              {% if error_dimension %}
              <div class="text-danger">{{ error_dimension }}</div>
              {% endif %}
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-tax-class">{{ entry_tax_class }}</label>
            <div class="col-sm-10">
              <select name="shipping_ups_tax_class_id" id="input-tax-class" class="form-control">
                <option value="0">{{ text_none }}</option>
                {% for tax_class in tax_classes %}
                {% if tax_class.tax_class_id == shipping_ups_tax_class_id %}
                <option value="{{ tax_class.tax_class_id }}" selected="selected">{{ tax_class.title }}</option>
                {% else %}
                <option value="{{ tax_class.tax_class_id }}">{{ tax_class.title }}</option>
                {% endif %}
                {% endfor %}
              </select>
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-geo-zone">{{ entry_geo_zone }}</label>
            <div class="col-sm-10">
              <select name="shipping_ups_geo_zone_id" id="input-geo-zone" class="form-control">
                <option value="0">{{ text_all_zones }}</option>
                {% for geo_zone in geo_zones %}
                {% if geo_zone.geo_zone_id == shipping_ups_geo_zone_id %}
                <option value="{{ geo_zone.geo_zone_id }}" selected="selected">{{ geo_zone.name }}</option>
                {% else %}
                <option value="{{ geo_zone.geo_zone_id }}">{{ geo_zone.name }}</option>
                {% endif %}
                {% endfor %}
              </select>
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-status">{{ entry_status }}</label>
            <div class="col-sm-10">
              <select name="shipping_ups_status" id="input-status" class="form-control">
                {% if shipping_ups_status %}
                <option value="1" selected="selected">{{ text_enabled }}</option>
                <option value="0">{{ text_disabled }}</option>
                {% else %}
                <option value="1">{{ text_enabled }}</option>
                <option value="0" selected="selected">{{ text_disabled }}</option>
                {% endif %}
              </select>
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-sort-order">{{ entry_sort_order }}</label>
            <div class="col-sm-10">
              <input type="text" name="shipping_ups_sort_order" value="{{ shipping_ups_sort_order }}" placeholder="{{ entry_sort_order }}" id="input-sort-order" class="form-control" />
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-debug"><span data-toggle="tooltip" title="{{ help_debug }}">{{ entry_debug }}</span></label>
            <div class="col-sm-10">
              <select name="shipping_ups_debug" id="input-debug" class="form-control">
                {% if shipping_ups_debug %}
                <option value="1" selected="selected">{{ text_enabled }}</option>
                <option value="0">{{ text_disabled }}</option>
                {% else %}
                <option value="1">{{ text_enabled }}</option>
                <option value="0" selected="selected">{{ text_disabled }}</option>
                {% endif %}
              </select>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
  <script type="text/javascript"><!--
$('select[name=\'shipping_ups_origin\']').on('change', function() {
	$('#service > div').hide();	
										 
	$('#' + this.value).show();	
});

$('select[name=\'shipping_ups_origin\']').trigger('change');
//--></script></div>
{{ footer }}