shop.balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

ebay_profile_shipping_international_calculated.twig (2153B)


      1 <input type="hidden" value="{{ data.international.calculated.count }}" id="calculated_count_international" />
      2 {% if data.international.calculated.service_id is not empty %}
      3   {% for key,service in data.international.calculated.service_id %}
      4     <div class="well" id="international_calculated_{{ key }}">
      5       <div class="row form-group">
      6         <div class="col-sm-1 text-right"><label class="control-label">{{ text_shipping_service }}</label></div>
      7         <div class="col-sm-11">
      8           <select name="data[international][calculated][service_id][{{ key }}]" class="form-control">
      9             {% for service_key,service_type in data.international.calculated.types.service %}
     10               <option value="{{ service_key }}" {% if service_key = service %} selected{% endif %}>{{ service_type.description }}</option>
     11             {% endfor %}
     12           </select>
     13         </div>
     14       </div>
     15       <div class="row form-group">
     16         <div class="col-sm-1 text-right">
     17           <label class="control-label">{{ text_shipping_zones }}</label>
     18         </div>
     19         <div class="col-sm-10">
     20           <label class="checkbox-inline">
     21             <input type="checkbox" name="data[international][calculated][shipto][{{ key }}][]" value="Worldwide"{% if "Worldwide" in data.international.calculated.shipto[key] %} checked="checked"{% endif %} /> {{ text_shipping_worldwide }}
     22           </label>
     23           {% for zone in zones %}
     24           <label class="checkbox-inline">
     25             <input type="checkbox" name="data[international][calculated][shipto][{{ key }}][]" value="{{ zone.shipping_location }}"{% if zone.shipping_location in data.international.calculated.shipto[key] %} checked="checked"{% endif %} /> {{ zone.description }}
     26           </label>
     27           {% endfor %}
     28         </div>
     29       </div>
     30       <div class="row form-group">
     31         <div class="col-sm-3 pull-right text-right">
     32           <a onclick="removeShipping('international','{{ key }}', 'calculated');" class="btn btn-danger"><i class="fa fa-minus-circle"></i> {{ button_delete }}</a>
     33         </div>
     34       </div>
     35     </div>
     36   {% endfor %}
     37 {% endif %}