<div class="right_col" role="main">
<div class="row">
            <div class="col-md-12 col-sm-12 col-xs-12">
              <div class="x_panel">
                <div class="x_title">
                <h2>Solicitudes - Pendientes</h2>
                <div class="clearfix"></div>
              </div>
              <div class="x_content">
                <div class="container-fluid">
                  <?php if(count($solicitudes)>0): ?>                  
                    <div class="row encabezado">
                      <div class="col-xs col-sm-1"><p class="text-center">No.</p></div>
                      <div class="col-xs col-sm-2"><p class="text-center">Numero de control</p></div>
                      <div class="col-xs col-sm-2"><p class="text-center">Programa</p></div>
                      <div class="col-xs col-sm-1"><p class="text-center">Responsable</p></div>
                      <div class="col-xs col-sm-5"><p class="text-center">Opciones</p></div>
                      <!-- Optional: clear the XS cols if their content doesn't match in height -->
                      <div class="clearfix visible-xs-block"></div>
                    </div>
                    <?php ($numero = 0); ?>
                    <?php $__currentLoopData = $solicitudes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $solicitud): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                      <?php if($solicitud->status_sol == 1): ?>
                        <?php ($numero++); ?>
                        <div class="row renglon" id="<?php echo e($solicitud->id_sol); ?>">
                          <div class="col-xs col-sm-1 text-center" id="<?php echo e($numero); ?>"><?php echo e($numero); ?></div>
                          <div class="col-xs col-sm-2" id="nombreDiv<?php echo e($solicitud->id_sol); ?>"><?php echo e($solicitud->ncontrol_alu); ?></div>
                          <div class="col-xs col-sm-2" id="titularDiv<?php echo e($solicitud->id_sol); ?>"><?php echo e($solicitud->programa_sol); ?></div>
                          <div class="col-xs col-sm-1" id="puestoDiv<?php echo e($solicitud->id_sol); ?>"><?php echo e($solicitud->responsable_sol); ?></div>
                          <div class="col-xs col-sm-5" align="center">
                            <button type="button" id="btnConsulta" class="btn btn-consulta btn-turq btn-xs" data-toggle="modal" data-id1="<?php echo e($solicitud->id_sol); ?>" ><span class="fa fa-eye" disabled> </span>Consultar</button>
                            <button type="button" id="btnModificar" class="btn btn-aceptar btn-primary btn-xs" data-toggle="modal" data-id2="<?php echo e($solicitud->id_sol); ?>" ><span class="fa fa-check-square-o" disabled> </span>Aceptar</button>
                            <button type="button" id="btnEliminar" class="btn btn-rechazar btn-danger btn-xs" data-toggle="modal" data-id3="<?php echo e($solicitud->id_sol); ?>" ><span class="fa fa-remove" disabled> </span>Rechazar</button>
                          </div>
                          <!-- Optional: clear the XS cols if their content doesn't match in height -->
                          <div class="clearfix visible-xs-block"></div>
                        </div>
                        
                      <?php endif; ?>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> 

                    <?php else: ?>
                    <h4 align="center">No hay solicitudes pendientes.</h4>
                  
                  <?php endif; ?>
                </div>
              </div>
            </div>            
          </div>      
        </div>
      <!-- /page content -->
      </div>

  <!-- MODAL DE MENSAJES -->
    <div class="modal fade" id="msjModalPrincipal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
      <div class="modal-dialog" role="document">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
              <span aria-hidden="true">&times;</span>
            </button>
            <h4 class="modal-title" id="miModalLabel">Información</h4>
          </div>
          <div class="modal-body">
              <h5 class="mnsjPrincipal"></h5>

              <div class="modal-footer">
                <button type="button" class="btn btn-dark" data-dismiss="modal">
                  <span class='fa fa-remove'></span> Cerrar
                </button>
              </div>
          </div>
        </div>
      </div>
    </div>


    <!-- MODAL DE CONSULTA -->
    <div class="modal fade" id="consultaModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
      <div class="modal-dialog" role="document">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
              <span aria-hidden="true">&times;</span>
            </button>
            <h4 class="modal-title" id="miModalLabel">Información</h4>
          </div>
          <div class="modal-body">
            <form class="form-horizontal" role="form">
              <div class="form-group">
                <label class="control-label col-sm-2" for="id">ID:</label>
                <div class="col-sm-10 col-xs-12">
                  <input type="text" class="form-control" id="id_show" disabled>
                </div>
              </div>
              <div class="form-group">
                <label class="control-label col-sm-2" for="id">Fecha:</label>
                <div class="col-sm-10 col-xs-12">
                  <input type="text" class="form-control" id="fecha_show" disabled>
                </div>
              </div>
              <div class="form-group">
                <label class="control-label col-sm-2" for="id">Número de Control:</label>
                <div class="col-sm-10 col-xs-12">
                  <input type="text" class="form-control" id="ncontrol_show" disabled>
                </div>
              </div>
              <div class="form-group">
                <label class="control-label col-sm-2" for="id">Programa:</label>
                <div class="col-md-10 col-sm-10 col-xs-12">
                  <textarea name="programa_show" class="textarea form-control" id="programa_show" cols="7" rows="2" disabled="" value=""></textarea>
                </div>
              </div>
              <div class="form-group">
                <label class="control-label col-sm-2" for="id">Responsable:</label>
                <div class="col-sm-10 col-xs-12">
                  <input type="text" class="form-control" id="responsable_show" disabled>
                </div>
              </div>
              <div class="form-group">
                <label class="control-label col-sm-2" for="id">Actividades:</label>
                <div class="col-md-10 col-sm-10 col-xs-12">
                  <textarea name="actividades_show" class="textarea form-control" id="actividades_show" cols="7" rows="2" disabled="" value=""></textarea>
                </div>
              </div>
              <div class="form-group">
                <label class="control-label col-sm-2" for="dependencia">Dependencia:</label>
                <div class="col-md-10 col-sm-10 col-xs-12">
                  <textarea name="nomDep_show" class="textarea form-control" id="nomDep_show" cols="7" rows="2" disabled="" value=""></textarea>
                </div>
              </div>
            </form>
              <div class="modal-footer">
                <button type="button" class="btn btn-warning" data-dismiss="modal">
                  <span class='fa fa-remove'></span> Cerrar
                </button>
              </div>
      </div>
    </div>
  </div>
</div>

<!-- MODAL RESPUESTA -->
    <div class="modal fade" id="respuestaModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
      <div class="modal-dialog" role="document">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close btn-modal" data-dismiss="modal" aria-label="Close">
              <span aria-hidden="true">&times;</span>
            </button>
            <h4 class="modal-title" id="miModalLabel">Solicitud</h4>
          </div>
          <div class="modal-body">
            <form class="form-horizontal" name="formRespuesta" id="formRespuesta" role="form">
              <?php echo e(csrf_field()); ?>

              <input type="hidden" name="tipoRes" id="tipoRes">
              <input type="hidden" name="periodoRes" id="periodoRes">
              <div class="form-group">
                <label class="control-label col-sm-2" for="id">ID:</label>
                <div class="col-sm-10 col-xs-12">
                  <input type="text" class="form-control" name="id_mod" id="id_mod" readonly="">
                  <input type="hidden" class="form-control" value="" name="idCorreo" id="idCorreo">
                </div>
              </div>
              <div class="form-group">
                <label class="control-label col-sm-2" for="id">Número de Control:</label>
                <div class="col-sm-10 col-xs-12">
                  <input type="text" class="form-control" name="ncontrol_mod" id="ncontrol_mod" disabled>
                </div>
              </div>
              <div class="form-group">
                <label class="control-label col-sm-2" for="titular">E-mail:</label>
                <div class="col-sm-10 col-xs-12">
                  <input type="name" class="form-control" name="email_mod" id="email_mod" readonly="">
                </div>
              </div>
              <div class="form-group">
                <label class="control-label col-sm-2" for="domicilio">Mensaje:</label>
                <div class="col-sm-10 col-xs-12" id="areamensaje">
                  
                </div>
                <div id="errorMensaje" style="color: red"></div>
              </div>
               <div class="form-group" id="oficio">
                
              </div>
              <div id="errorOficio" style="color: red"></div>
              
              <div class="modal-footer">
                <button type="button" class="btn btn-modal btn-warning" data-dismiss="modal">
                  <span class='fa fa-remove'></span> Cancelar
                </button>
                <button type="button" class="btn btn-envioCorreo btn-success" >
                  <span class='fa fa-envelope'></span> Enviar Correo
                </button>
              </div>
            </form>
      </div>
    </div>
  </div>
</div>