<?php include_once "../controller/cUtilerias.php"; $util = new cUtilerias(); include_once '../controller/cCliente.php'; $cli = new cCliente(); $datos = $cli->totalAliquidar($_POST['cliente'], $_POST['contrato']); $liquidar = 0; while ($row = $datos->NextRow()) { $liquidar = round($row['debe'], 2); } $datos = $cli->getDetallesContrato($_POST['cliente'], $_POST['contrato']); while ($row = $datos->NextRow()) { // print_r($row); $id_cliente = $row['id_cliente']; $id_contrato = $row['id_contrato']; $nombre = $row['razon'] . ' ' . $row['a_pat'] . ' ' . $row['a_mat'] . ' ' . $row['nombre']; $capital_inicial = $row['monto']; $total_pagar = $row['monto_pagar']; $interes_ordinario = $row['tasa_interes']; $interes_ordinario_anual = round($row['tasa_interes'], 2) . '%'; $interes_moratorio = round($row['moratorio_anual'], 2) . '%'; $monto_comision_apertura = round($row['monto_comision_apertura'], 2); $comision_apertura = $row['comision_apertura'] . '%'; switch ($row['vigente']) { // marca si el prestamos está vigente (-1=cancelado,1= vigente,2= finalizado,0=cancelado, 3= en convenio,4=Es un convenio) case -1: $tipo = 'cancelado'; break; case 1: $tipo = 'vigente';
<h4><span class="semi-bold">Filtros</span></h4> <div class="tools"> <a href="javascript:;" class="collapse"></a> <a href="javascript:;" class="reload"></a> </div> </div> <div class="grid-body"> <div class="row"> <div class="col-lg-3"> <div class="form-group"> <label>Clientes</label> <select style="width: 100%;" class="cmbCliente" id="cmbCliente"> <option value="0">Todos</option> <?php include_once '../controller/cCliente.php'; $clientes = new cCliente(); $con = $clientes->listarCliente(); while ($fila = $con->NextRow()) { ?> <option value="<?php echo $fila["id_cliente"]; ?> "><?php echo strtoupper($fila["razon"] . " " . $fila["nombre"] . " " . $fila["a_pat"] . " " . $fila["a_mat"]); ?> </option> <?php } ?> </select> </div>
<th style="">abono a capital</th> <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'];
<?php include_once '../controller/cCliente.php'; $exp = new cCliente(); $det = $exp->getCliente($_POST['id']); //cliente $emp = $exp->getDetallesEmpClte($_POST['id']); //empledo del cliente $detp = $exp->getDatosDetClte($_POST['id']); //detalles del empleo del cliente ?> <div class="page-title"> <i class="fa fa-book"></i> <h3>Consultar Detalles del Expediente</h3> </div> <div class="row-fluid"> <div class="span12"> <div class="grid simple "> <div class="grid-body "> <br> <div class="row"> <div class="col-lg-4"> <h4>Datos de Cliente <a href="#" onclick="editDatosGral()"><i class="fa fa-edit"></i></a></h4>
</div> <th style="">Contrato</th> <th style="">nombre</th> <th style="">saldo insoluto al momento</th> <th style="">Fecha del último pago</th> <th style="">referencia del último pago</th> <th style="">fecha del pago vencido</th> </tr> </thead> <tbody style="text-transform: uppercase;"> <?php include_once '../controller/cCliente.php'; $cli = new cCliente(); $con = $cli->getCarteraVencida(); while ($l = $con->NextRow()) { ?> <tr> <td><?php echo $l['id_contrato']; ?> </td> <td class="odd"><?php echo $l['nombre'] . ' ' . $l['a_pat'] . ' ' . $l['a_mat']; ?> </td> <td><?php echo $l['saldo_insoluto']; ?>
$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"); $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;