<div class="page-header">
	<h2> Tipos de Status</h2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<small>mantenimiento de registros</small></h2>
</div>

<hr class="separator" />
<?= anchor('catalogos/status/create','Agregar',array('class' => 'btn btn-info')) ?>
<p></p>

<br />
<table class="table table-bordered table-hover table-condensed" id='dt_status'>
	<thead>
		<tr>
			<th>Clave</th>
			<th>Nombre</th>
			<th>Status</th>
		</tr>
	</thead>

	<tbody>
		<?php foreach ($query as $registro): ?>
		<tr <?= ($registro->status == 'A') ? "class='table-success'" : "class='table-danger'" ?>>
			<td><?= anchor('catalogos/status/edit/'.$registro->pk_cat_status_seguimiento,$registro->pk_cat_status_seguimiento); ?></td>
			<td><?= $registro->descripcion ?></td>
			<td><?= ($registro->status == 'A') ? 'ACTIVO' : 'INACTIVO' ?></td>
		</tr>
		<?php endforeach; ?>
	</tbody>
</table>
<script type="text/javascript">
	$(document).ready(function () {
        mostrarOpcionesTabla("dt_status",false,false,true);
    });
</script>