<link href="{{asset('components/datatables/media/css/jquery.dataTables.min.css')}}" rel="stylesheet">
<div class="col-md-12 text-center">
	<div class="col-md-2">
	</div>

	<div class="col-md-8">
		<h4>Cuits en Mantenimiento</h4>
	<table class="table table-bordered" id="listado_cuits">
		<thead>
			<tr>
				<th>Nombre</th>
				<th class = "text-center">Cuit</th>
				<th class = "text-center">Sección</th>
				<th class = "text-center">Fecha Vigencia</th>
				<th class = "text-center">Última Novedad</th>
				<th class = "text-center">Acción</th>
				<th class = "text-center">Ver Historico</th>
			</tr>
		</thead>
		<tbody>
				@foreach($cuits as $cuit)
				<tr class="obj text-center">
					<td class="text-left">{{$cuit->nombre_persona or ''}}</td>
					<td class="text-center">{{$cuit->cuit or 'No Informa'}}</td>
					<td class="text-center">{{$cuit->seccion_mantenimiento or ''}}</td>
					<td class="text-center">{{$cuit->fecha_vigencia_mantenimiento or 'No Informa'}}</td>
					<td class="text-center">@if($cuit->fecha_modificacion)<div class="td-monitoreos alert alert-success">{{$cuit->fecha_modificacion}}</div>@else NO Informa @endif</td>
					<td class="text-center"><form class="form_eliminar_mantenimiento_cuit">
						{{ csrf_field() }}
						<input type="hidden" name="id_mantenimiento"  value="{{$cuit->id_mantenimiento}}"><button type="submit" class="btn btn-danger">Eliminar</button></form>
					</td>
					
					<td class="text-center">
					<form id="form_ver_historico_cuit" method="get" action="/monitoreo/historial">
						<input type="hidden" name="cuit"  value="{{ $cuit->cuit }}">
						<button type="submit" class="btn btn-info">Ver Cuit</button>
					</form>
					</td>

				</tr>
			@endforeach
		</tbody>
	</table>
	</div>

	<div class="col-md-2">
	</div>
	<!--div class="col-md-7">
		<h4>Cheques en Mantenimiento</h4>
		<table class="table table-bordered" id="listado_cheques">
			<thead>
				<tr>
					<th>Nro. Cheque</th>
					<th>Nombre</th>
					<th>Cuit</th>
					<th>Fecha Cheque</th>
					<th>Importe</th>
					<th>Última Novedad</th>
					<th>Acción</th>
				</tr>
			</thead>
			<tbody>
			@foreach($cheques as $cheque)
				<tr class="obj">
					<td class="text-left">{{$cheque->nro_cheque or 'No Informa'}}</td>
					<td class="text-left">{{$cheque->nombre_persona or ''}}</td>
					<td class="text-left">{{$cheque->cuit or 'No Informa'}}</td>
					<td class="text-left">{{$cheque->fecha_cheque or 'No Informa'}}</td>
					<td class="text-left">{{$cheque->importe or 'No Informa'}}</td>
					<td class="text-left">@if($cheque->fecha_modificacion)<div class="td-monitoreos alert alert-success">{{$cheque->fecha_modificacion}}</div>@else NO Informa @endif</td>
					<td class="text-left"><form class="form_eliminar_mantenimiento_cheque"><input type="hidden" name="id_mantenimiento" value="{{$cheque->id_mantenimiento}}">
					{{ csrf_field() }}
					<button type="submit" class="btn btn-danger">Eliminar</button></form></td>
				</tr>
			@endforeach
			</tbody>
		</table>
	</div-->
</div>
<script type="text/javascript" src="{{ URL::asset('components/datatables/media/js/jquery.dataTables.min.js') }}"> </script>
