echo "<td>" . $table[$i]['interes_tiempo'] . "%</td>"; echo "<td>\$" . $table[$i]['interes'] . "</td>"; echo "<td>\$" . $table[$i]['pago'] . "</td>"; echo "<td>" . $table[$i]['fecha_corte'] . "</td>"; echo "</tr>"; } ?> </tbody> </div> <?php } else { if ($_POST['operacion'] == 'alerta') { include_once "../model/mAlertasAutomaticas.php"; $alertas = new AlertasMan(); // print_r($_POST); $respuesta = $alertas->creditoSalario($_POST['id_cliente'], $_POST['id_usuario'], $_POST['abono']); if (!$respuesta) { echo -1; // echo "<script>alert('EL MONTO A PAGAR QUINCENALMENTE POR PARTE DEL CLIENTE ES MAYOR DE LA TERCERA PARTE DE SU INGRESO');</script>"; } else { echo "monto permitido"; } } } } if ($_GET) { $tabla = new Tabla(); $pdf = new imprimeTabla(); $pdf->AliasNbPages(); $pdf->AddPage(); $pdf->SetFont('Times', '', 12);