<tr> <td>Clave Cliente</td> <th>Folio de Contrato</th> <th>Nombre/Razón</th> <th>Fecha del Contrato</th> <th>Monto</th> <th>Plazo(meses)</th> <th>Acciones</th> </tr> </thead> <tbody style="text-transform: uppercase;"> <?php include_once '../controller/cContratos.php'; $contr = new cContratos(); $contratos = $contr->getContratosVig($_POST['inicio'], $_POST['fin'], $_POST['activo']); while ($l = $contratos->NextRow()) { ?> <tr> <td><?php echo $l['id_persona']; ?> </td> <td><?php echo $l['id_contrato']; ?> </td> <td class="odd"><?php echo $l['razon'] . $l['cliente']; ?> </td>
<th>Folio de Contrato</th> <th>Nombre/Razón</th> <th>Fecha del Contrato</th> <th>Monto</th> <th>Plazo(meses)</th> <th>Acciones</th> </tr> </thead> <tbody style="text-transform: uppercase;"> <?php include_once '../controller/cContratos.php'; include_once '../controller/cUtilerias.php'; $contr = new cContratos(); $util = new cUtilerias(); $contratos = $contr->getContratosVig($inicio, $fin, "true"); while ($l = $contratos->NextRow()) { ?> <tr> <td><?php echo $l['id_persona']; ?> </td> <td><?php echo $l['id_contrato']; ?> </td> <td class="odd"><?php echo $l['razon'] . $l['cliente']; ?> </td>
<?php if ($_POST) { switch ($_POST['opcion']) { case 'finanzas': include_once "../controller/cContratos.php"; $cContratos = new cContratos(); echo $cContratos->listaConvenios($_POST['fecha_inicio'], $_POST['fecha_fin'], $_POST['activo']); sleep(1); break; case 'nuevoConvenio': include_once "../controller/cContratos.php"; $cContratos = new cContratos(); $datos = $cContratos->getContratosVig($_POST['fecha_inicio'], $_POST['fecha_fin'], $_POST['activo']); ?> <table id="example" class="table table-hover table-striped" data-page-length='15'> <thead> <tr> <th>Clave persona</th> <th>Clave expedente</th> <th>Folio de Contrato</th> <th>Nombre/Razón</th> <th>Fecha del Contrato</th> <th>Monto</th> <th>Plazo(meses)</th> <th>Acciones</th> </tr> </thead> <tbody style="text-transform: uppercase;"> <?php while ($row = $datos->NextRow()) {
<div class="col-lg-12"> <table id="example" class="table table-hover dataTable" data-page-length='25'> <thead> <tr> <th>Nombre/Razón</th> <th>Estado</th> <th>Ciudad</th> <th>Acciones</th> </tr> </thead> <tbody style="text-transform: uppercase;"> <?php include '../controller/cContratos.php'; $cont = new cContratos(); $con = $cont->getContratosVig(); while ($l = $con->NextRow()) { ?> <tr> <td><?php echo $l['razon'] . ' ' . $l['nombre'] . ' ' . $l['a_pat'] . ' ' . $l['a_mat']; ?> </td> <td><?php echo $l['monto']; ?> </td> <td><?php echo $l['fecha_inicio']; ?> </td>