<th style="">interes ordinario</th>
                                                <th style="">interes moratorio</th>
                                                <th style="">gastos de cobranza</th>
                                                <th style="">fecha de vencimiento del pago</th>
                                                <th style="">saldo insoluto</th>
                                                <th style="">fecha de movimiento</th>
                                                
                                                </tr>
                </thead>

 
        <tbody style="text-transform: uppercase;">
        	<?php 
include_once '../controller/cEstadoCliente.php';
$cli = new cCliente();
$con = $cli->listarClientesP($_POST['edo']);
while ($l = $con->NextRow()) {
    ?>
        	<tr>
        	
        		<td class="odd"><?php 
    echo $l['nombre'] . ' ' . $l['a_pat'] . ' ' . $l['a_mat'];
    ?>
</td>
        		<td><?php 
    echo $l['monto'];
    ?>
</td>
        		<td><?php 
    echo $l['tasa_interes'];
    ?>
$pdf->Cell(25, 10, "CONTRATO");
$pdf->Cell(25, 10, "CONTRATO");
$pdf->Cell(25, 10, "CONTRATO");
$pdf->Cell(25, 10, "CONTRATO");
$pdf->Cell(25, 10, "CONTRATO");
$pdf->Cell(25, 10, "CONTRATO");
$pdf->Cell(25, 10, "CONTRATO");
$pdf->Cell(25, 10, "CONTRATO");
$pdf->Cell(25, 10, "CONTRATO");
$pdf->Cell(25, 10, "CONTRATO");
$pdf->Cell(25, 10, "CONTRATO");
$pdf->Cell(25, 10, "CONTRATO");
//crea la tabla
include_once '../controller/cCliente.php';
$cli = new cCliente();
$con = $cli->listarClientesP($_GET['clte'], $_GET['inicio'], $_GET['fin']);
while ($l = $con->NextRow()) {
    $imora = 0.0;
    $gtscobr = 0.0;
    $inmens = 0.0;
    $acapital = 0.0;
    $iordi = 0.0;
    $capertura = 0.0;
    $totl = $l['pjkh'];
    $saldoins = $l['saldo_insoluto'];
    if ($l['n_pago'] == 1) {
        $capertura = $l['comision_apert'];
    }
    if ($capertura > 0) {
        $rg = $totl - $capertura;
        if ($rg >= 0) {