$jxc = new TinyAjax(); function jsaGetCalculos($socio, $acciones, $tipo_de_pago) { $xSoc = new cSocio($socio); $coste = COSTE_POR_ACCION * $acciones; $monto = $tipo_de_pago == "efectivo" ? $coste : 0; $ide = $tipo_de_pago == "efectivo" ? $xSoc->getIDExPagarByPeriodo(false, $monto) : 0; $tab = new TinyAjaxBehavior(); $tab->add(TabSetValue::getBehavior("idCoste", getFMoney($coste))); $tab->add(TabSetValue::getBehavior("idide", getFMoney($ide))); //$tab -> add( TabSetValue::getBehavior("idObservaciones", $xSoc->getMessages("txt") ) ); return $tab->getString(); } $jxc->exportFunction('jsaGetCalculos', array('idsocio', 'idNumeroAcciones', "idtipo_pago")); $jxc->process(); $html = new cHTMLObject(); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Compra de Acciones V 0.09.06</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="<?php echo CSS_GENERAL_FILE; ?> " rel="stylesheet" type="text/css"> </head> <body> <?php //0 Compra //1 Venta
if ($rw["periocidad_de_pago"] == 360) { $FrecuenciaDePagos = $dias_autorizados; } $tdBody .= "\n\t\t<tr>\n\t\t\t<td>{$personalidad}</td>\t<td>{$nombre}</td>\n\t\t\t<td>{$codigo}</td>\n\t\t\t<td>{$credito}</td>\n\t\t\t<td>{$tipo_credito}</td>\n\t\t\t<td>{$MAutorizacion}</td>\n\t\t\t<td>{$IngresoPrioritario}</td>\n\t\t\t<td>{$cumplioPagoSostenido}</td>\n\t\t\t<td>" . EACP_NAME . "</td>\n\t\t\t<td>Caja Solidaria</td>\n\t\t\t<td>{$CondicionDePago}</td>\n\t\t\t<td>{$FechaDeMinistracion}</td>\n\t\t\t<td>{$MontoOriginal}</td>\n\t\t\t<td>{$FechaDeVencimiento}</td>\n\t\t\t<td>{$TasaInteresAnual}</td>\n\t\t\t<td>{$NumeroPagos}</td>\n\t\t\t<td>{$FrecuenciaDePagos}</td>\n\t\t\t<td>{$CapitalInsoluto}</td>\n\t\t\t<td>{$Interesdevengado}</td>\n\t\t\t<td>{$FechaDeMvto}</td>\n\t\t\t<td>{$EstatusCredito}</td>\n\t\t\t<td>{$MontoGarantia}</td>\n\t\t\t<td>SI</td>\n\t\t\t<td>SI</td>\n\t\t\t<td>NO</td>\n\t\t\t<td>SI</td>\n\t\t\t<td>{$Hipoteca}</td>\n\t\t\t<td>{$HipotecaGravamen}</td>\n\t\t\t<td>{$HipotecaSeguro}</td>\n\t\t\t<td>{$HipotecaActualizado}</td>\n\t\t\t<td>{$HipotecaValuacion}</td>\n\t\t\t<td>{$HipotecaMonto}</td>\n\t\t\t<td>0</td>\n\t\t\t<th>{$dias_vencidos}</th>\n\t\t\t<th>" . $VI_Autorizado[$rw["tipo_autorizacion"]] . "</th>\n\t\t\t<th>" . $VATipoIngreso[$rw["tipoingreso"]] . "</th>\n\t\t\t<th>" . $VDBEstatus[$rw["estatus_actual"]] . "</th>\n\t\t\t<th>" . $rw["descripcion_tipoconvenio"] . "</th>\n\t\t\t<th>" . $arrOficiales[$rw["oficial_credito"]] . "</th>\n\t\t\t<th>" . $CausaDeMora . "</th>\n\t\t</tr>\n\t\t"; } if ($input != OUT_EXCEL) { /* $oRpt = new PHPReportMaker(); $oRpt->setDatabase(MY_DB_IN); $oRpt->setUser(RPT_USR_DB); $oRpt->setPassword(RPT_PWD_DB); $oRpt->setSQL($setSql); $oRpt->setXML("../repository/report32.xml"); $oOut = $oRpt->createOutputPlugin($input); $oRpt->setOutputPlugin($oOut); $oRpt->run(); // */ $html = new cHTMLObject("CEDULA DE DATOS DEL INFORME MENSUAL A LA FEDERACION"); $html->addCSS("../css/reporte.css"); echo $html->getHEAD(); echo "<html>\n\t<body>\n\t<table>\n\t<tbody>\n\t{$tdHeader}\n\t{$tdBody}\n\t</tbody>\n\t</table>\n\t</body>\n\t</html>\n\t"; } else { $filename = "export_from_" . date("YmdHi") . "_to_uid-" . $iduser . ".xls"; header("Content-type: application/x-msdownload"); header("Content-Disposition: attachment; filename={$filename}"); header("Pragma: no-cache"); header("Expires: 0"); echo "\n\t<table>\n\t<tbody>\n\n\t{$tdHeader}\n\t{$tdBody}\n\t</tbody>\n\t</table>\n\t"; } if (MODO_DEBUG == true) { //Graba los Mensages del LOG y cierra el Archivo @fwrite($URIFil, $msg); @fclose($URIFil);
</form> <p class="aviso"><?php echo $aviso; ?> </p> <?php $sqlp = $sqlb11 . " ORDER BY fecha_reunion DESC"; $tbl = new cTabla($sqlp); $tbl->setEventKey("setPeriodo"); $tbl->Show("", false); $per = isset($_POST["cPeriodo"]) ? $_POST["cPeriodo"] : EACP_PER_SOLICITUDES; if ($per != EACP_PER_SOLICITUDES) { $xP = new cPeriodoDeCredito($per); $xHT = new cHTMLObject(); echo $xHT->setInHTML($xP->setCambiar($per)); } ?> </fieldset> </body> <script > function setPeriodo(Id){ document.frmupdateperiodo.cPeriodo.value = Id; } function setTerminar(){ window.location = "../utils/clssalir.php"; } function jsToAction(){ if ( document.getElementById("idPeriodo").value == "nuevo" ){ jsGenericWindow("./frmperiodos.php");
// si es falso, eliminar individualmente, modo actualizar $xd = my_query($sqDC); $msg .= $xd["info"] . "\r\n"; } $xe = my_query($sql); $msg .= trim($xe["info"]) == "" ? "" : $xe["info"] . "\r\n"; $msg .= "{$iReg}\tSUCESS\t{$cpostal}\tSe Agrega colonia {$ncolonia} \r\n"; } else { $msg .= "{$iReg}\tALERTA\tLa Linea({$iReg}) no se Imprimio [" . substr($bufer, 0, 20) . "]({$cpostal} :: {$ncolonia})\r\n"; } } $iReg++; } } fclose($gestor); $html = new cHTMLObject(); $xlog = new cFileLog("carga_batch-colonias-" . date("Ymd"), true); $xlog->setWrite($msg); $htmlmsg = $html->setInHTML($msg); $xBtn = new cHButton(""); echo $xBtn->getSalir(); $xlog->setClose(); echo $xlog->getLinkDownload("Archivo de Resultados de la Carga"); //echo "<p class ='aviso'>$htmlmsg</p>"; //echo $msg; } else { echo "<p class='aviso'>EL TIPO DE ARCHIVO DE " . $usrFiles[$i]['name'] . "(" . $mExt . ") NO SE ACEPTA</p>"; } } } }
if ($xPd->getClase() == CAPTACION_TIPO_PLAZO) { $html .= $xPd->getListaDeDias(); } if ($xPd->getDestinoInteres() == CAPTACION_DESTINO_CTA_INTERES) { $xTxt2 = new cHText(); $xSoc = new cSocio($persona); $xSoc->init(); $html .= $xTxt2->getDeCuentaCaptacionInteres("", $xSoc->getCuentaDeCaptacionPrimaria(CAPTACION_TIPO_VISTA, CAPTACION_PRODUCTO_INTERESES)); } // return $html; } $jxc->exportFunction('jsaGetValidacion', array('idsocio', 'idproductocaptacion', 'idorigencaptacion'), "#idotrosdatos"); // ejecuta el script . $jxc->process(); $html = new cHTMLObject(); echo $xHP->getHeader(); //Datos de importacion externa $e_socio = isset($_GET["s"]) ? $_GET["s"] : DEFAULT_SOCIO; $e_origen = isset($_GET["o"]) ? $_GET["o"] : 1; $e_credito = isset($_GET["c"]) ? $_GET["c"] : DEFAULT_CREDITO; $e_tipo = isset($_GET["t"]) ? $_GET["t"] : CAPTACION_TIPO_VISTA; $e_tipotitulo = isset($_GET["ti"]) ? $_GET["ti"] : 99; $e_observacion = isset($_GET["n"]) ? $_GET["n"] : ""; $e_grupo = isset($_GET["g"]) ? $_GET["g"] : DEFAULT_GRUPO; $e_producto = isset($_GET["p"]) ? $_GET["p"] : DEFAULT_SUBPRODUCTO_CAPTACION; $e_cuenta_intereses = isset($_GET["i"]) ? $_GET["i"] : CTA_GLOBAL_CORRIENTE; $e_cuenta = isset($_GET["x"]) ? $_GET["x"] : CTA_GLOBAL_CORRIENTE; $msg = isset($_GET[SYS_MSG]) ? $_GET[SYS_MSG] : ""; $action = parametro("action", SYS_NINGUNO); $contrato = "404.php";
echo $oficial; ?> </td> </tr> <tr> <td> </td> <td></td> <td></td> </tr> </thead> </table> <?php $limit = 0; $filename = $_SERVER['SCRIPT_NAME']; $xHt = new cHTMLObject(); $filename = $xHt->getNombreExportable($filename); $arrConvMvto = array("1" => "D", "-1" => "R"); $sql = "\nSELECT SQL_CACHE\n\t`operaciones_mvtos`.`socio_afectado`,\n\t`operaciones_mvtos`.`docto_afectado`,\n\t`captacion_cuentas`.`saldo_cuenta`,\n\t`eacp_config_bases_de_integracion_miembros`.`afectacion`,\n\t`operaciones_mvtos`.`fecha_afectacion`,\n\t`operaciones_mvtos`.`afectacion_real`,\n\t`operaciones_mvtos`.`detalles`\nFROM\n\t`eacp_config_bases_de_integracion_miembros`\n\t`eacp_config_bases_de_integracion_miembros`\n\t\tINNER JOIN `operaciones_mvtos` `operaciones_mvtos`\n\t\tON `eacp_config_bases_de_integracion_miembros`.`miembro` =\n\t\t`operaciones_mvtos`.`tipo_operacion`\n\t\t\tINNER JOIN `captacion_cuentas` `captacion_cuentas`\n\t\t\tON `captacion_cuentas`.`numero_cuenta` = `operaciones_mvtos`.\n\t\t\t`docto_afectado`\nWHERE\n\t(`eacp_config_bases_de_integracion_miembros`.`codigo_de_base` = 8003)\n\tAND\n\t(`captacion_cuentas`.`saldo_cuenta` > 0)\n\t/* AND\n\t(`captacion_cuentas`.`sucursal` = '" . getSucursal() . "' ) */\n\t/* Agregar tipo de cuenta */\n\tAND\n\t(`captacion_cuentas`.`tipo_cuenta` = 10)\nORDER BY\n\t`eacp_config_bases_de_integracion_miembros`.`codigo_de_base`,\n\t`operaciones_mvtos`.`docto_afectado`,\n\t`operaciones_mvtos`.`fecha_afectacion`\n\t/* LIMIT 0,1000 */ "; $rs = mysql_query($sql, cnnGeneral()); $txt = ""; while ($rw = mysql_fetch_array($rs)) { $socio = $rw["socio_afectado"]; $cuenta = $rw["docto_afectado"]; $importe = $rw["afectacion_real"]; $fecha = $rw["fecha_afectacion"]; $detalles = $rw["detalles"]; if ($cuenta_movible != $cuenta) { $mvto = 0; $saldo = 0; $init = "<tr><td colspan='8' ><hr /></td></tr>";