<th>Cliente</th>
                <th>Referencia de Pago</th>
                <th>Fecha de Pago</th>
                <th>Estatus del Contrato</th>
                <th>Monto</th>
                <th>Acciones</th>
            </tr>
        </thead>

        <tbody style="text-transform: uppercase;">
        	<?php 
include_once '../controller/cPagos.php';
include_once '../controller/cUtilerias.php';
$pagos = new cPagos();
$util = new cUtilerias();
$con = $pagos->showPagos($inicio, $fin, "true");
while ($l = $con->NextRow()) {
    ?>
        	<tr>
        		<!-- <td><?php 
    //echo $l['clave_agrupadora']
    ?>
</td>-->
                <td class="text-center"><?php 
    echo $l['id_persona'];
    ?>
</td>
        		<td class=""><?php 
    echo $l['id_contrato'];
    ?>
</td>
            	<th>Clave Usuario</th>
                <th>Folio Contrato</th>
                <th>Cliente</th>
                <th>Referencia de Pago</th>
                <th>Fecha de Pago</th>
                <th>Estatus del Contrato</th>
                <th>Monto</th>
                <th>Acciones</th>
            </tr>
        </thead>

        <tbody style="text-transform: uppercase;">
        	<?php 
include_once '../controller/cPagos.php';
$pagos = new cPagos();
$con = $pagos->showPagos($_POST['inicio'], $_POST['fin'], $_POST['activo']);
while ($l = $con->NextRow()) {
    ?>
        	<tr>
        		<td><?php 
    echo $l['clave_agrupadora'];
    ?>
</td>
        		<td class="odd"><?php 
    echo $l['id_contrato'];
    ?>
</td>
        		<td><?php 
    echo $l['razon'] . $l['nombre'] . ' ' . $l['a_pat'] . ' ' . $l['a_mat'];
    ?>
</td>