<div class="panel panel-default">
    <div class="panel-heading">
      <div class="panel-btns">
        <a href="#" class="minimize">-</a>
      </div>
      <h4 class="panel-title">Filtros</h4>
    </div>
    <div class="panel-body">
      <div class="row">
        <div class="col-sm-4">
          <div class="form-group">
            <label class="col-sm-8 control-label">Fecha Desde</label>
            <input readonly="readonly" type="text" value="" class="form-control" placeholder="dd/mm/yyyy" id="fecha_desde">
            <input type="hidden" value="" id="fecha_desde_hidden">
          </div>
        </div><!-- col-sm-6 -->
        <div class="col-sm-4">
          <div class="form-group">
            <label class="col-sm-8 control-label">Fecha Hasta</label>
            <input readonly="readonly" type="text" value="" class="form-control" placeholder="dd/mm/yyyy" id="fecha_hasta">
            <input type="hidden" value="" id="fecha_hasta_hidden">
          </div>
        </div><!-- col-sm-6 -->
      </div><!-- row -->
      
      <div class="row">
        <?php if($trabaja_sucursales == 1) {?>
        <div class="col-sm-3">
          <div class="form-group">
            <label class="col-sm-6 control-label">Sucursales</label><br>
            <select onclick="distritos();" id="sucursales"  class="form-control" size="5" multiple="multiple" required>
             <?php
                foreach ($sucursales_array as &$v_sucursales) {?>
                    <?php if(in_array($v_sucursales["LocalizacionJerarquicaID"], $sucursales_asociadas_array)) {?>
                    <option selected="selected" value="<?php echo $v_sucursales["LocalizacionJerarquicaID"]; ?>"><?php echo $v_sucursales["Descripcion"] ?></option>
                    <?php } ?>
             <?php } ?>
            </select>
            <label class="error" for="fruits"></label>
          </div>
        </div><!-- col-sm-6 -->
        <?php } ?>
        <?php if($trabaja_distritos == 1) {?>
        <div class="col-sm-3">
          <div class="form-group">
            <label class="col-sm-6 control-label"><input onclick="habilitar_distritos();" id="habilita_distritos" type="checkbox" >Distritos</label><br>
            <select disabled="disabled" onclick="zonas();" id="distritos"  class="form-control" size="5" multiple="multiple" required>
            </select>
            <label class="error" for="fruits"></label>
          </div>
        </div><!-- col-sm-6 -->
        <?php } ?>
        <?php if($trabaja_zonas == 1) {?>
        <div class="col-sm-3">
          <div class="form-group">
            <label class="col-sm-6 control-label"><input disabled="disabled" onclick="habilitar_zonas();" id="habilita_zonas" type="checkbox" >Zonas</label><br>
            <select disabled="disabled" id="zonas" class="form-control" size="5" multiple="multiple" required>
            </select>
            <label class="error" for="fruits"></label>
          </div>
        </div><!-- col-sm-6 -->
        <?php } ?>
      </div><!-- row -->
      <div class="panel-footer">
      <div class="row">
          <button id="filtrarBtn_informes" class="btn btn-primary">Filtrar</button>
          <div id="loader_eficiencia" class="well well-sm hide">
            <img style="margin-right:10px;" src="../Web_Tools/images/loaders/loader6.gif" alt="">Procesando
          </div>
      </div>
      
    </div>
    </div><!-- panel-body -->

  </div>
