<div class="right_col" role="main" style="min-height: 465px;">
          <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="x_panel">
              <div class="x_title">
                <h2>Carta Liberación - Firmar</h2>
                <div class="clearfix"></div>
              </div>
              <div class="x_content">
                <div class="container-fluid">
                  <?php if(count($cartas)>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">Oficio</p></div>
                      <div class="col-xs col-sm-2"><p class="text-center">Nombre</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 = $cartas; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $c): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                      <?php if($c->status_car == 2): ?>
                        <?php ($numero++); ?>
                        <div class="row renglon" id="<?php echo e($c->id_car); ?>">
                          <div class="col-xs col-sm-1 text-center" id="num<?php echo e($numero); ?>"><?php echo e($numero); ?></div>
                          <div class="col-xs col-sm-2" id="nombreDiv<?php echo e($c->id_car); ?>"><?php echo e($c->ncontrol_alu); ?></div>
                          <div class="col-xs col-sm-2" id="titularDiv<?php echo e($c->id_car); ?>"><?php echo e($c->numoficio_car); ?></div>
                          <div class="col-xs col-sm-2" id="puestoDiv<?php echo e($c->id_car); ?>"><?php echo e($c->nombre_alu); ?> <?php echo e($c->apaterno_alu); ?> <?php echo e($c->amaterno_alu); ?></div>
                          <div class="col-xs col-sm-5" align="center">
                            <button type="button" class="btn btnConsulta btn-turq btn-xs" data-toggle="modal" data-id1="<?php echo e($c->id_alu); ?>" onclick="javascript:consulta_liberacion(<?php echo e($c->id_alu); ?>);" ><span class="fa fa-eye"></span> Consultar </button>
                            <button type="button" id="btnFirmaCarta" class="btn btnFirmaCarta btn-success btn-xs" onclick="javascript:firmar_liberacion(<?php echo e($c->id_car); ?>);" ><span class="fa fa-qrcode"></span> Firmar 
                            </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 Cartas de Liberación por firmar.</h4> 
                  
                  <?php endif; ?>
                  
                </div>
              </div>
            </div>            
          </div>      
        </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="consultaAlumnoModal" 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" id="formEvaluaciones" 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_con" value="" readonly="">
                </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_con" value="" disabled>
                </div>
              </div>
              <div class="form-group">
                <label class="control-label col-sm-2" for="id">Nombre:</label>
                <div class="col-md-10 col-sm-10 col-xs-12">
                  <input type="text" class="form-control" id="nombre_con" value="" disabled>
                </div>
              </div>
              <div class="form-group">
                <label class="control-label col-sm-2" for="id">Carrera:</label>
                <div class="col-md-10 col-sm-10 col-xs-12">
                  <input type="text" class="form-control" id="carrera_con" value="" disabled="" >
                </div>
              </div>
              <div class="form-group">
                <label class="control-label col-sm-2" for="id">Evaluaciones:</label>
                <div id="selectEvaluacionesss" class="col-md-10 col-sm-10 col-xs-12">
                  
                </div>
              </div>

              <div class="form-group">
                <div id="consultaevaluacion" class="col-md-12 col-sm-12 col-xs-12">
                  
                </div>
              </div>    


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

<!-- MODAL DE Liberacion -->
    <div class="modal fade" id="liberacionModal" 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">Carta de Liberación de Servicio Social</h4>
          </div>
          <div class="modal-body">
            <form class="form-horizontal" name="formLiberacion" id="formLiberacion" role="form">
              <?php echo e(csrf_field()); ?>

              <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="fechaCarta" id="fechaCarta">
                  <input type="hidden" class="form-control" value="" name="periodoAlu" id="periodoAlu">
                </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" readonly="">
                </div>
              </div>
              <div class="form-group">
                <label class="control-label col-sm-2" for="id">Nombre:</label>
                <div class="col-sm-10 col-xs-12">
                  <input type="text" class="form-control" name="nombre_mod" id="nombre_mod" readonly="">
                </div>
              </div>
              <div class="form-group">
                <label class="control-label col-sm-2" for="titular">Dependencia:</label>
                <div class="col-sm-10 col-xs-12">
                  <input type="text" class="form-control" name="dependencia_mod" id="dependencia_mod" readonly="">
                </div>
              </div>
              <div class="form-group">
                <label class="control-label col-sm-2" for="titular">Programa:</label>
                <div class="col-sm-10 col-xs-12">
                  <input type="text" class="form-control" name="programa_mod" id="programa_mod" readonly="">
                </div>
              </div>
              <div class="form-group">
                <label class="control-label col-sm-2" for="titular">Periodo:</label>
                <div class="col-sm-10 col-xs-12">
                  <input type="text" class="form-control" name="periodo_mod" id="periodo_mod" readonly="">
                </div>
              </div>
              <div class="form-group">
                <label class="control-label col-sm-2" for="titular">Calificación:</label>
                <div class="col-sm-10 col-xs-12">
                  <input type="text" class="form-control" name="calificacion_mod" id="calificacion_mod" readonly="">
                </div>
              </div>
              <div class="form-group">
                <label class="control-label col-sm-2" for="titular">Nivel de Desempeño:</label>
                <div class="col-sm-10 col-xs-12">
                  <input type="text" class="form-control" name="nivel_mod" id="nivel_mod" readonly="">
                </div>
              </div>
              <div class="form-group">
                <label class="control-label col-sm-2" for="domicilio">No. de oficio de carta de liberación:</label>
                <div class="col-sm-10 col-xs-12">
                  <input type="number" name="oficio" id="oficio">
                </div>
              </div>
              
              <div class="modal-footer">
                <button type="button" class="btn btn-warning" data-dismiss="modal">
                  <span class='fa fa-remove'></span> Cancelar
                </button>
                <button type="button" class="btn btn-generaCartaGuardar btn-success" data-dismiss="modal" >
                  <span class='fa fa-file-pdf-o'></span> Generar Carta
                </button>
              </div>
            </form>
      </div>
    </div>
  </div>
</div>