@if (count($externos)>0)
  <div class="table mt-3">
    <div class="row encabezado">
      <div class="col-md-1 col-sm-1 d-none d-sm-block">No.</div>
      <div class="col-md-1 col-sm-1 d-none d-sm-block">No.Control</div>
      <div class="col-md-4 col-sm-4 d-none d-sm-block">Nombre</div>
      <div class="col-md-2 col-sm-2 d-none d-sm-block">Correo</div>
      <div class="col-md-2 col-sm-2 d-none d-sm-block">Teléfono</div>
      <div class="col-md-2 col-sm-2 d-none d-sm-block">Examen</div>
      <!--<div class="col-md-1 col-sm-1 d-none d-sm-block">Acciones</div>-->
    </div>
    <div class="row contenido-500">
      @foreach($externos as $e)
        <div class="col-md-12">
          <div class="row cuerpo row_detalle_presupuesto">
            <div class="col-6 d-block d-sm-none bg-dark-blue text-white text-center">No.</div>
            <div class="col-md-1 col-sm-1 col-6 d-block d-sm-none bg-dark-blue text-white text-center">{{ $loop->iteration }}</div>
            <div class="col-md-1 col-sm-1 col-6 d-none d-sm-block text-center">{{ $loop->iteration }}</div>
            
            <div class="col-6 d-block d-sm-none text-center">No. Control</div>
            <div class="col-md-1 col-sm-1 col-6 text-center">{{ $e->id }}</div>
            
            <div class="col-6 d-block d-sm-none text-center">Nombre</div>
            <div class="col-md-4 col-sm-4 col-6">{{ $e->nombre }} {{ $e->ap_paterno }} {{ $e->ap_materno }}</div>

            <div class="col-6 d-block d-sm-none text-center">Correo</div>
            <div class="col-md-2 col-sm-2 col-6">{{ $e->correo }}</div>

            <div class="col-6 d-block d-sm-none text-center">Teléfono</div>
            <div class="col-md-2 col-sm-2 col-6 text-center">{{ $e->telefono }}</div>

            <div class="col-6 d-block d-sm-none text-center">Examen</div>
            <div class="col-md-2 col-sm-2 col-6 text-center">{{ $e->estado->nombre }}</div>
            
            <!--<div class="col-6 d-block d-sm-none text-center">Acciones</div>
            <div class="col-md-1 col-sm-1 col-6 text-center">
            		<div class="btn-group btn-group-xs" role="group" aria-label="...">
                  <!-respetar los colores y botones para consultar, modificar y eliminar ->
                  <button class="btn btn-outline-primary" type="button" data-toggle="tooltip" data-placement="left" title="Consultar" onclick="javascript: ngl_consulta_examen({{ $e->id }});"><i class="fa fa-folder-open"></i></button>
                </div>
            </div>-->
          </div> 
        </div>
      @endforeach
    </div>
  </div>

  @if ($no_pag)
    <div class="d-flex justify-content-end">
      {{ $externos->links() }}
    </div>
  @endif


@else 
<div class="row mt-3">
  <div class="col text-center">
    <label>No se encontraron resultados.</label>
  </div>
</div>


@endif