@include('header')
<link href="{{asset('components/datatables/media/css/jquery.dataTables.min.css')}}" rel="stylesheet">
@include('navegador')
	<div class="col-md-12 text-center"><h3>CONSULTAS REALIZADAS</h3></div>
@if(!$consultas_realizadas)
	<p>No se registran consultas Realizadas</p>
@else
<div class="container">
	<div class="col-md-12 text-center">
		<table class="table table-striped" id="consultas_realizadas">
	   	<thead>
				<tr>
					<th>Nombre</th>
					<th  class="text-center">CUIT</th>
					<th  class="text-right">Fecha Consulta</th>
				</tr>
	   	</thead>
			<tbody>
			@foreach($consultas_realizadas as $consulta)
				<tr>
					<td class="text-left">{{$consulta->nombre_persona}}</td>
					<td  class="text-center">{{$consulta->cuit_consultado}}</td>
					<td  class="text-right">{{$consulta->fecha}}</td>
				</tr>
			@endforeach
			</tbody>
		</table>
	</div>
</div>
@endif
<script type="text/javascript" src="{{ URL::asset('components/datatables/media/js/jquery.dataTables.min.js') }}"> </script>

  <script type="text/javascript" src="{{ URL::asset('js/consultas_realizadas.js') }}"> </script>

@include('footer')
