
<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" name="flowers" title="Please select at least 2 flowers" 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>
          </div>
        </div><!-- col-sm-6 -->
        <?php } ?>
        <?php if($trabaja_distritos == 1) {?>
        <div class="col-sm-3">
          <div id="distritos_form" class="form-group">
            <label id="distritos_label" class="col-sm-12 control-label">Distritos</label><br>
            <select onclick="zonas();" id="distritos"  class="form-control" size="5" multiple="multiple" required>
            </select>
          </div>
        </div><!-- col-sm-6 -->
        <?php } ?>
        <?php if($trabaja_zonas == 1) {?>
        <div class="col-sm-3">
          <div id="zonas_form" class="form-group">
            <label id="zonas_label" class="col-sm-12 control-label">Zonas</label><br>
            <select  id="zonas" class="form-control" size="5" multiple="multiple" required>
            </select>
          </div>
        </div><!-- col-sm-6 -->
        <?php } ?>
        <div class="col-sm-3">
          <div class="form-group">
            <label class="col-sm-6 control-label">Vendedores</label><br>
            <select  id="operadores_moviles" class="form-control" size="5" multiple="multiple" required>
				 <?php
                    foreach ($operadores_moviles_array as &$v_operadores_moviles) {?>
                       <option selected="selected" value="<?php echo $v_operadores_moviles["NroOperadorMovil"]; ?>"><?php echo $v_operadores_moviles["NombreApellido"] ?></option>
                 <?php } ?>
            </select>
          </div>
        </div><!-- col-sm-6 -->
      </div><!-- row -->
      <div class="panel-footer">
      <div class="row">
          <button id="filtrarBtn_resumen" class="btn btn-primary">Filtrar</button>
<!-- <button onclick="test();" class="btn btn-primary">Filtrar</button>-->
            <div id="loader_resumen" 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>