<td class='mny'>" . getFMoney($capital) . "</td> <td class='mny'>" . getFMoney($interes) . "</td> <td class='mny'>" . getFMoney($iva) . "</td> $tdAhorro $tdOtros <td class='mny'>" . getFMoney($total) . "</td> <td class='mny'>" . getFMoney($saldo) . "</td> </tr>";*/ } $PFin = $PInit; } //TODO: verificar error en este mvto $trs .= $tds; $SumTotal = $SUMCap + $SUMAh + $SUMInt + $SUMIva + $SUMOtros; $netoNivel = $SumTotal; $thAhorro = " <th>" . $xHP->lang("Ahorro") . "</th>"; $thOtros = "<th>{$nombre_otro}</th>"; $thIVA = "<th>" . $xHP->lang("impuesto_al_consumo") . "</th>"; $tfAhorro = "<th class='mny'>" . getFMoney($SUMAh) . "</th>"; $tfOtros = "<th class='mny'>" . getFMoney($SUMOtros) . "</th>"; $tfIVA = "<th class='mny'>" . getFMoney($SUMIva) . "</th>"; if ($SUMAh == 0) { $thAhorro = ""; $tfAhorro = ""; } if ($SUMOtros == 0) { $thOtros = ""; $tfOtros = ""; } if ($SUMIva == 0) { $thIVA = "";
$fecha_vencimiento = $xFecha->setSumarDias($dias_solicitados, $fecha_ministracion); } $xConv = new cProductoDeCredito($tipoconvenio); $xConv->init(); if (USE_OFICIAL_BY_PRODUCTO == true) { $oficial_de_seguimiento = $xConv->getOficialDeSeguimiento(); } if ($esrenovado == true) { $TipoDeAutorizacion = CREDITO_AUTORIZACION_RENOVADO; $msg .= "WARN\tCredito marcado como Renovado \r\n"; } $xCred = new cCredito(); $result = $xCred->add($tipoconvenio, $persona, $contrato_corriente, $monto_solicitado, $periocidad, $numeropagos, $dias_solicitados, $rubro_destino, false, $grupo_asociado, $amp_destino, $observaciones, $oficial_de_credito, $fecha_solicitud, $tipo_de_pago, INTERES_POR_SALDO_INSOLUTO, false, $fecha_ministracion, $xSoc->getClaveDeEmpresa(), $TipoDeAutorizacion); if ($result == false) { $xFRM->addToolbar($xBtn->getRegresar("solicitud_de_credito.frm.php", true)); $xFRM->addAviso($xHP->lang(MSG_ERROR_SAVE)); $xFL = new cFileLog(); $xFL->setWrite($xCred->getMessages(OUT_TXT)); $xFL->setWrite($xSoc->getMessages()); $xFL->setClose(); $xFRM->addToolbar($xFL->getLinkDownload("Log de eventos", "")); $xFRM->addAviso($xCred->getMessages()); } else { $xCred->init(); $credito = $xCred->getNumeroDeCredito(); //Si es Automatizado $xCat = new cCreditosOtrosDatos(); if ($tieneprops == true) { $xCred->setOtrosDatos($xCat->AML_CON_PROPIETARIO, "1"); } if ($tieneprovs == true) {
*/ //===================================================================================================== include_once "../core/go.login.inc.php"; include_once "../core/core.error.inc.php"; include_once "../core/core.html.inc.php"; include_once "../core/core.init.inc.php"; include_once "../core/core.db.inc.php"; $theFile = __FILE__; $permiso = getSIPAKALPermissions($theFile); if ($permiso === false) { header("location:../404.php?i=999"); } $_SESSION["current_file"] = addslashes($theFile); //===================================================================================================== $xHP = new cHPage("REPORTE DE ", HP_REPORT); $xHP->setTitle($xHP->lang("catalogo de", "riesgo")); $oficial = elusuario($iduser); /** */ $xF = new cFecha(); $clave = isset($_GET["clave"]) ? $_GET["clave"] : SYS_NINGUNO; echo $xHP->getHeader(); echo $xHP->setBodyinit("initComponents();"); $xFMT = new cFormato(151); $xGar = new cCreditosGarantias($clave); $xGar->init(); $xFMT->setPersona($xGar->getClaveDePersona()); $xFMT->setCredito($xGar->getClaveDeCredito()); $xFMT->setGarantiaDeCredito($clave); $xFMT->setProcesarVars(); echo $xFMT->get();
*/ //===================================================================================================== include_once "../core/go.login.inc.php"; include_once "../core/core.error.inc.php"; include_once "../core/core.html.inc.php"; include_once "../core/core.init.inc.php"; include_once "../core/core.db.inc.php"; $theFile = __FILE__; $permiso = getSIPAKALPermissions($theFile); if ($permiso === false) { header("location:../404.php?i=999"); } $_SESSION["current_file"] = addslashes($theFile); //===================================================================================================== $xHP = new cHPage("REPORTE DE ", HP_REPORT); $xHP->setTitle($xHP->lang("catalogo de", "perfil_transaccional")); /** */ $xF = new cFecha(); $estatus = isset($_GET["estado"]) ? $_GET["estado"] : SYS_TODAS; $frecuencia = isset($_GET["periocidad"]) ? $_GET["periocidad"] : SYS_TODAS; $convenio = isset($_GET["convenio"]) ? $_GET["convenio"] : SYS_TODAS; $empresa = isset($_GET["empresa"]) ? $_GET["empresa"] : SYS_TODAS; $out = isset($_GET["out"]) ? $_GET["out"] : SYS_DEFAULT; $fechaInicial = isset($_GET["on"]) ? $xF->getFechaISO($_GET["on"]) : FECHA_INICIO_OPERACIONES_SISTEMA; $fechaFinal = isset($_GET["off"]) ? $xF->getFechaISO($_GET["off"]) : fechasys(); echo $xHP->getHeader(); echo $xHP->setBodyinit("initComponents();"); echo getRawHeader(); $xRPT = new cReportes(); echo $xRPT->getEncabezado($xHP->getTitle());
$precomandos = parametro("idcomando", "", MQL_RAW); $intentcheck = parametro("idcomandocheck", "", MQL_RAW); $contenido = parametro("idcontenido", "", MQL_RAW); $programacion = parametro("idprogramacion"); $tipodeprog = parametro("idtipodeprogramacion"); $generadoen = parametro("idgeneradoen"); $mails = parametro("idmails", "", MQL_RAW); $medios = ""; $destinatarios = ""; $medios = $ByMail == true ? ",MAIL" : ""; $medios = $BySMS == true ? ",SMS" : ""; $programacion = $generadoen == SYS_ALERTA_POR_EVENTO ? $programacion : "{$tipodeprog}:{$programacion}"; if ($action == SYS_UNO) { if ($titulo == "" or trim("{$oficiales} {$empresas} {$personas} {$mails}") == "") { //$msg .= "$titulo |$oficiales| $empresas |$personas |$mails \r\n"; $msg .= $xHP->lang(MSG_ERROR_SAVE); if (MODO_DEBUG == true) { $xErr = new cError(); $msg .= $xErr->getREQVars(); } } else { $xA = new cAlertasDelSistema(); $destinatarios .= $oficiales == "" ? "" : "OFICIALES:{$oficiales}|"; $destinatarios .= $empresas == "" ? "" : "EMPRESAS:{$empresas}|"; $destinatarios .= $personas == "" ? "" : "PERSONAS:{$personas}|"; $destinatarios .= $mails == "" ? "" : "CORREO:{$mails}|"; $xA->setAgregarProgramacion($titulo, $contenido, $destinatarios, $programacion, $generadoen, $medios, $precomandos, $intentcheck); $msg .= $xA->getMessages(); $msg .= $xHP->lang(MSG_READY_SAVE); } }
$xHP = new cHPage("", HP_FORM); $xQL = new MQL(); $DDATA = $_REQUEST; $action = isset($DDATA["action"]) ? $DDATA["action"] : SYS_CERO; //$jxc = new TinyAjax(); //$jxc ->exportFunction('datos_del_pago', array('idsolicitud', 'idparcialidad'), "#iddatos_pago"); //$jxc ->process(); echo $xHP->getHeader(); $jsb = new jsBasicForm("frmdocumentos"); //$jxc ->drawJavaScript(false, true); $ByType = ""; echo $xHP->setBodyinit(); $xFRM = new cHForm("frmsdn", "sdn.upload.frm.php?action=" . SYS_UNO); $xFRM->setEnc("multipart/form-data"); $xFRM->setTitle($xHP->getTitle()); $arrOps = array("ADR" => $xHP->lang("domicilio") . "(ADD.PIP)", "SDN" => $xHP->lang("persona") . "(SDN.PIP)", "ALT" => $xHP->lang("alias") . "(ALT.PIP)"); $xBtn = new cHButton(); $xTxt = new cHText(); $xTxt2 = new cHText(); $xSel = new cHSelect("idtipoimportacion", $arrOps); $xF = new cFecha(); $xT = new cTipos(); $msg = ""; if ($action == SYS_CERO) { $xFRM->addHElem("<div class='tx4'><label for='f1'>" . $xFRM->lang("archivo") . "</label><input type='file' name='f1' id='f1' /></div>"); $xFRM->addHElem($xSel->get("", "TR.tipo de importacion")); //$xFRM->addHElem( $xTxt2->getDeMoneda("idnumeropagina", $xFRM->lang("numero de", "pagina")) ); $xFRM->addHElem($xTxt->get("idobservaciones", "", "Observaciones")); $xFRM->addSubmit(); $xFRM->addFootElement('<input type="hidden" name="MAX_FILE_SIZE" value="1024000">'); echo $xFRM->get();
//===================================================================================================== //=====> INICIO_H include_once "../core/go.login.inc.php"; include_once "../core/core.error.inc.php"; include_once "../core/core.html.inc.php"; include_once "../core/core.init.inc.php"; $theFile = __FILE__; $permiso = getSIPAKALPermissions($theFile); if ($permiso === false) { header("location:../404.php?i=999"); } $_SESSION["current_file"] = addslashes($theFile); //<===== FIN_H //===================================================================================================== $xHP = new cHPage("TR.Cobranza.- Efectivo", HP_FORM); $xHP->setTitle($xHP->lang("cobro en", "efectivo")); $xJS = new jsBasicForm("frmCobrosEnEfectivo"); //=========================== AJAX $jxc = new TinyAjax(); function jsaSetPago($Recibo, $MontoRecibido, $Moneda, $MontoOriginal) { $xCaja = new cCaja(); if ($Moneda != AML_CLAVE_MONEDA_LOCAL) { $op = $xCaja->setCobroEfectivo($Recibo, $MontoOriginal, 0, "", false, $Moneda, $MontoRecibido); } else { $op = $xCaja->setCobroEfectivo($Recibo, $MontoRecibido, 0, "", false, $Moneda, $MontoOriginal); } if ($op == false) { return $xCaja->getMessages(OUT_HTML); } }
include_once "../core/go.login.inc.php"; include_once "../core/core.error.inc.php"; include_once "../core/core.html.inc.php"; include_once "../core/core.init.inc.php"; $theFile = __FILE__; $permiso = getSIPAKALPermissions($theFile); if ($permiso === false) { header("location:../404.php?i=999"); } $_SESSION["current_file"] = addslashes($theFile); //<===== FIN_H $iduser = $_SESSION["log_id"]; //===================================================================================================== $xHP = new cHPage("Creditos.- Solicitudes"); $oficial = elusuario($iduser); $xHP->setTitle($xHP->lang(array("solicitud", "de", "credito"))); //------------------------------------------------------------- $jxc = new TinyAjax(); function calcula_vencimientos($idcuenta) { } function jsaGetLetrasByNumero($monto = 0) { return convertirletras($monto); } function jsaValidarMontoDeCredito($socio, $convenio, $monto) { $msg = ""; $xT = new cTipos(); $xSoc = new cSocio($socio); $xSoc->init();
//=====> INICIO_H include_once "../core/go.login.inc.php"; include_once "../core/core.error.inc.php"; include_once "../core/core.html.inc.php"; include_once "../core/core.init.inc.php"; $theFile = __FILE__; $permiso = getSIPAKALPermissions($theFile); if ($permiso === false) { header("location:../404.php?i=999"); } $_SESSION["current_file"] = addslashes($theFile); //<===== FIN_H $iduser = $_SESSION["log_id"]; //===================================================================================================== $xHP = new cHPage(); $xHP->setTitle($xHP->lang(array("registro", "de", "flujo_de_efectivo"))); $idsolicitud = $_GET["solicitud"]; echo $xHP->getHeader(true); ?> <script> function checkvalue() { if (document.frmflujoefvo.montoflujo.value > 0 ) { document.frmflujoefvo.submit(); } else { alert('El Valor Indicado debe ser Mayor a 0'); return 0; } } </script> <body>
//$jxc ->process(); echo $xHP->getHeader(); echo $xHP->setBodyinit("initComponents()"); $fecha = fechasys(); //$xFrm->addHElem() $xTxt = new cHText(); $xBtn = new cHButton(); $xSel = new cHSelect(); $xFRM = new cHForm("bancos_operaciones", "movimientos_bancarios.frm.php"); //id, label value, size, class, options[]) $selBanco = $xSel->getListaDeCuentasBancarias(""); $selBanco->addEspOption(SYS_TODAS); $selBanco->setOptionSelect(SYS_TODAS); //$xSel->setOptionSelect($numero_de_cuenta); $xHSel = new cHSelect(); $xHSel->addOptions(array("cheque" => $xHP->lang("Cheque"), "deposito" => $xHP->lang("Deposito"), "retiro" => $xHP->lang("Retiro"))); $selOperacion = $xHSel->get("idoperacion", $xHP->lang("operacion"), $operacion); $xHSel->setClearOptions(); $xHSel->addOptions(array("autorizado" => $xHP->lang("Autorizado"), "noautorizado" => $xHP->lang("No Autorizado"), "cancelado" => $xHP->lang("Cancelado"))); $selEstatus = $xHSel->get("idestatus", $xHP->lang("Estatus")); $xF = new cHDate(0, $fecha, TIPO_FECHA_OPERATIVA); $xF2 = new cHDate(1, $fecha, TIPO_FECHA_OPERATIVA); $xFRM->addHElem($xF->get($xHP->lang("Fecha Inicial"))); $xFRM->addHElem($xF2->get($xHP->lang("Fecha Final"))); $xFRM->addHElem($selBanco->get("TR.Cuenta Bancaria", true)); $xFRM->addHElem($selOperacion); $xFRM->addHElem($selEstatus); $xFRM->addHElem($xTxt->getNormal("idbeneficiario", "", "TR.Beneficiario")); $xFRM->addToolbar($xBtn->getBasic($xHP->lang("Obtener"), "jsGetReporte", "guardar", "cmdsave", false)); //$xFRM->addSubmit("Guardar Movimiento", "setGuardar"); $xFRM->addFootElement("<div id='content'><object type=\"text/html\" id=\"idFPrincipal\" data=\"./utils/frm_calendar_tasks.php\" width='100%' height=\"1200px\" ></object></div>");
$tab->add(TabSetValue::getBehavior('idTFijo', $telefono)); $tab->add(TabSetValue::getBehavior('idTMovil', $telefonomovil)); $tab->add(TabSetValue::getBehavior('idDomicilio', $domicilio)); return $tab->getString(); } } $jxc->exportFunction('JSsetDomicilioMismo', array('idSocioRelacionado', 'idcalle')); $jxc->exportFunction('JsaGetDatosHeredados', array('idNumeroSocio')); $jxc->exportFunction('jsaGetCurpByIdSocio', array('idNumeroSocio')); $jxc->process(); $idsocio = parametro("socio"); $docto = parametro("d", DEFAULT_CREDITO); $relacionado = parametro("r", DEFAULT_SOCIO); $msg = parametro("msg"); if ($msg == "OK") { $msg = $xHP->lang(MSG_READY_SAVE); } /* verifica si el socio o datos son validos */ $arrD = array(); if ($relacionado == DEFAULT_SOCIO) { $arrD = array("idsocios_relaciones" => 0, "socio_relacionado" => $idsocio, "credito_relacionado" => DEFAULT_CREDITO, "tipo_relacion" => 11, "numero_socio" => DEFAULT_SOCIO, "nombres" => '', "apellido_paterno" => '', "apellido_materno" => '', "domicilio_completo" => 'mismo', "telefono_residencia" => '0', "telefono_movil" => '0', "fecha_nacimiento" => fechasys(), "monto_relacionado" => 0, "porcentaje_relacionado" => 1, "curp" => 'POR_REGISTRAR', "observaciones" => '', "consanguinidad" => 3, "estatus" => 0, "dependiente" => 1, "ocupacion" => 'POR_REGISTRAR', "calificacion_del_referente" => 0, "codigopostal" => 0); } else { $xSoc = new cSocio($idsocio); $arrD = $xSoc->getDatosRelacionInArray($relacionado); } //Parche $arrD["calle"] = ""; $arrD["numero"] = ""; $arrD["colonia"] = ""; $arrD["codigopostal"] = ""; //$xH = new cHTMLObject("Partes Relacionadas de Socios");
if (setNoMenorQueCero($recibo) > 0) { $xRec = new cReciboDeOperacion(false, false, $recibo); $xRec->init(); $DRec = $xRec->getDatosInArray(); $MontoOperacion = $xRec->getTotal(); // $DRec["total_operacion"]; $xFRM = new cHForm("frmPagosEnCheques", "pago-cheques-internos.frm.php"); $xTxt = new cHText(""); $xDat = new cHDate(); $xHSel = new cHSelect(); $xHNot = new cHNotif(); $xFRM->addGuardar("jsActualizarPago()"); $xTxt->addEvent("this.select()", "onfocus"); $xTxt->addEvent("jsActualizarPago()", "onblur"); $xFRM->addHElem($xHSel->getListaDeCuentasBancarias("idcuentabancaria", true)->get("TR.Cuenta Bancaria del Cheque", true)); $xFRM->addHElem($xHNot->get($xHP->lang("importe") . " : " . getFMoney($MontoOperacion), "idimporte")); $xFRM->ODate("idfechapago", $xRec->getFechaDeRecibo(), "TR.Fecha del Cheque"); $xFRM->addHElem($xTxt->getDeMoneda("idcheque", "TR.Codigo de Cheque")); $xFRM->OHidden("iMonto", $MontoOperacion, ""); $xFRM->addHTML("<input type='hidden' id='iRecibo' name='iRecibo' value='{$recibo}' />"); $xFRM->addHTML("<input type='hidden' id='iTotal' name='iTotal' value='{$MontoOperacion}' />"); $xFRM->addHTML("<div id='avisos'></div>"); echo $xFRM->get(); $jxc->drawJavaScript(false, true); } ?> <script> var oMnt = $("#iMonto"); var oTot = $("#iTotal"); var oFecha = $("#idfechapago"); var oidcheq = $("#idcheque");
if (setNoMenorQueCero($recibo) > 0) { $xRec = new cReciboDeOperacion(false, false, $recibo); $xRec->init(); $DRec = $xRec->getDatosInArray(); $MontoOperacion = $xRec->getTotal(); // $DRec["total_operacion"]; $xFRM = new cHForm("frmCobrosEnEfectivo", "cobro-efectivo.frm.php"); $xTxt = new cHText("id"); $xDat = new cHDate(); $xHSel = new cHSelect(); $xHNot = new cHNotif(); $xFRM->addGuardar("jsActualizarPago()"); $xTxt->addEvent("this.select()", "onfocus"); $xTxt->addEvent("jsActualizarPago", "onkeyup"); $xFRM->addHElem($xHSel->getListaDeCuentasBancarias("iBancos", true)->get("TR.Cuenta Bancaria de Deposito", true)); $xFRM->addHElem($xHNot->get($xHP->lang("importe") . " : " . getFMoney($MontoOperacion), "idimporte")); $xFRM->addHElem($xHSel->getListaDeTipoDePerfilTransaccional("", SYS_SALIDAS)->get(true)); $xFRM->addHElem($xHSel->getListadoDeBancos()->get("TR.Banco de Origen", true)); //TODO: Agregar cuenta de origen ultimo 4 digitos $xFRM->addHElem($xDat->get("TR.Fecha de Deposito", $xRec->getFechaDeRecibo())); $xFRM->addHElem($xTxt->getDeMoneda("iMonto", $xHP->lang("Monto de", "Deposito"), 0)); $xFRM->addHElem($xHNot->get($xHP->lang("total") . " : <mark id='idtotal'>0</mark>", "idavisopago", $xHNot->WARNING)); $xFRM->addHTML("<input type='hidden' id='iRecibo' name='iRecibo' value='{$recibo}' />"); $xFRM->addHTML("<input type='hidden' id='iDiferencia' name='iDiferencia' value='0' />"); $xFRM->addHTML("<input type='hidden' id='iTotal' name='iTotal' value='{$MontoOperacion}' />"); $xFRM->addHTML("<div id='avisos'></div>"); echo $xFRM->get(); $jxc->drawJavaScript(false, true); } $xHP->setBodyEnd(); ?>
$xT->setTipoSalida($out); $xT->setFootSum(array(4 => "monto", 9 => "unidades", 10 => "equivalencia")); $body = $xRPT->getEncabezado($xHP->getTitle(), $FechaInicial, $FechaFinal); $xRPT->setBodyMail($body); $xRPT->addContent($body); $xRPT->addContent($xSoc->getFicha(true)); //$xT->setEventKey("jsGoPanel"); //$xT->setKeyField("creditos_solicitud"); $xRPT->addContent($xT->Show($xHP->getTitle())); $xT = new cTabla($xL->getListadoDePerfil($persona)); $xRPT->addContent($xT->Show()); if (MODO_DEBUG == true) { $periodo_inicial = date("Ym", $xF->getInt($FechaInicial)); $periodo_final = date("Ym", $xF->getInt($FechaFinal)); $xT2 = new cTabla($xL->getAMLAcumuladoDeEgresos($periodo_inicial, $periodo_final, $persona)); $xRPT->addContent($xT2->Show()); } $xRPT->addContent("<h3>" . $xHP->lang("Mensaje") . "</h3>"); //============ Agregar HTML //$xRPT->addContent( $xHP->init($jsEvent) ); //$xRPT->addContent( $xHP->end() ); $xAml = new cAMLPersonas($persona); $xAml->init(); $validar = false; //(MODO_DEBUG == true) ? true : false; $xAml->setVerificarPerfilTransaccional(false, $validar); $xAml->setVerificarOperacionesSemestrales(); $xRPT->addContent($xAml->getMessages(OUT_HTML)); $xRPT->setResponse(); $xRPT->setSenders($senders); echo $xRPT->render(true);
//=====> INICIO_H include_once "../core/go.login.inc.php"; include_once "../core/core.error.inc.php"; include_once "../core/core.html.inc.php"; include_once "../core/core.init.inc.php"; $theFile = __FILE__; $permiso = getSIPAKALPermissions($theFile); if ($permiso === false) { header("location:../404.php?i=999"); } $_SESSION["current_file"] = addslashes($theFile); //<===== FIN_H $iduser = $_SESSION["log_id"]; //===================================================================================================== $xHP = new cHPage(); $xHP->setTitle($xHP->lang(array("registro", "de", "garantia", "real"))); $jxc = new TinyAjax(); function JSsetDatosHeredados($socio, $form) { $DSocio = getDatosSocio($socio); $DDom = getDatosDomicilio($socio); $telefono = $DDom["telefono_residencial"]; $telefonomovil = $DDom["telefono_movil"]; $domicilio = domicilio($socio); $tab = new TinyAjaxBehavior(); $tab->add(TabSetValue::getBehavior('idTFijo', $telefono)); $tab->add(TabSetValue::getBehavior('idDomicilio', $domicilio)); $tab->add(TabSetValue::getBehavior('idTMovil', $telefonomovil)); $tab->add(TabSetValue::getBehavior('idNombres', $DSocio["nombrecompleto"])); $tab->add(TabSetValue::getBehavior('idApPaterno', $DSocio["apellidopaterno"])); $tab->add(TabSetValue::getBehavior('idApMaterno', $DSocio["apellidomaterno"]));
*/ //===================================================================================================== include_once "../core/go.login.inc.php"; include_once "../core/core.error.inc.php"; include_once "../core/core.html.inc.php"; include_once "../core/core.init.inc.php"; include_once "../core/core.db.inc.php"; $theFile = __FILE__; $permiso = getSIPAKALPermissions($theFile); if ($permiso === false) { header("location:../404.php?i=999"); } $_SESSION["current_file"] = addslashes($theFile); //===================================================================================================== $xHP = new cHPage("REPORTE DE ", HP_REPORT); $xHP->setTitle($xHP->lang("catalogo de", "documentacion")); $oficial = elusuario($iduser); /** */ $xF = new cFecha(); $estatus = isset($_GET["estado"]) ? $_GET["estado"] : SYS_TODAS; $frecuencia = isset($_GET["periocidad"]) ? $_GET["periocidad"] : SYS_TODAS; $convenio = isset($_GET["convenio"]) ? $_GET["convenio"] : SYS_TODAS; $empresa = isset($_GET["empresa"]) ? $_GET["empresa"] : SYS_TODAS; $out = isset($_GET["out"]) ? $_GET["out"] : SYS_DEFAULT; $fechaInicial = isset($_GET["on"]) ? $xF->getFechaISO($_GET["on"]) : FECHA_INICIO_OPERACIONES_SISTEMA; $fechaFinal = isset($_GET["off"]) ? $xF->getFechaISO($_GET["off"]) : fechasys(); echo $xHP->getHeader(); echo $xHP->setBodyinit("initComponents();"); echo getRawHeader(); $xRPT = new cReportes();
$xAml->init(); $xAml->setGuardarDocumentoValidado($documento, AML_KYC_DOCTO_REAL, $observaciones); return $xAml->getMessages(OUT_HTML); } function jsaMarcarSinInfo($documento, $observaciones, $persona) { $xAml = new cAMLPersonas($persona); $xAml->init(); $xAml->setGuardarDocumentoValidado($documento, AML_KYC_DOCTO_NO_VERIFICADO, $observaciones); return $xAml->getMessages(OUT_HTML); } $jxc->exportFunction('jsaMarcarFalso', array('iddocumento', 'idobservaciones', 'idpersona'), '#idmsg'); $jxc->exportFunction('jsaMarcarReal', array('iddocumento', 'idobservaciones', 'idpersona'), '#idmsg'); $jxc->exportFunction('jsaMarcarSinInfo', array('iddocumento', 'idobservaciones', 'idpersona'), '#idmsg'); $jxc->process(); $xHP->setTitle($xHP->lang("validacion de", "documentos")); echo $xHP->getHeader(); $jsb = new jsBasicForm(""); //$jxc ->drawJavaScript(false, true); echo $xHP->setBodyinit(); $xFRM = new cHForm("frmvalidardocumentos", "./"); $xBtn = new cHButton(); $xTxt = new cHText(); $xAt = new cHTextArea(); $xFRM->setTitle($xHP->getTitle()); $sql = "SELECT\r\n\t`personas_documentacion`.`clave_de_control`,\r\n\t`personas_documentacion`.`clave_de_persona`,\r\n\t`socios`.`nombre`,\r\n\t`personas_documentacion`.`fecha_de_carga`,\r\n\t`personas_documentacion_tipos`.`nombre_del_documento`,\r\n\t`personas_documentacion`.`observaciones`,\r\n\t`personas_documentacion`.`estado_en_sistema`,\r\n\t`personas_documentacion`.`tipo_de_documento` \r\nFROM\r\n\t`personas_documentacion` `personas_documentacion` \r\n\t\tINNER JOIN `socios` `socios` \r\n\t\tON `personas_documentacion`.`clave_de_persona` = `socios`.`codigo` \r\n\t\t\tINNER JOIN `personas_documentacion_tipos` \r\n\t\t\t`personas_documentacion_tipos` \r\n\t\t\tON `personas_documentacion`.`tipo_de_documento` = \r\n\t\t\t`personas_documentacion_tipos`.`clave_de_control` \r\nWHERE\r\n\t(`personas_documentacion`.`estado_en_sistema` =1)"; $ql = new cPersonas_documentacion(); $tdocto = new cPersonas_documentacion_tipos(); $sel = $ql->query()->select(); $sel->set($sql); $data = $sel->exec();
//===================================================================================================== include_once "../core/go.login.inc.php"; include_once "../core/core.error.inc.php"; include_once "../core/core.html.inc.php"; include_once "../core/core.init.inc.php"; include_once "../core/core.db.inc.php"; $theFile = __FILE__; $permiso = getSIPAKALPermissions($theFile); if ($permiso === false) { header("location:../404.php?i=999"); } $_SESSION["current_file"] = addslashes($theFile); //===================================================================================================== $xHP = new cHPage(); $xHP->setTitle($xHP->lang(array("imprimir", "solicitud", "de", "credito"))); echo $xHP->getHeader(); ?> <body> <?php $idsolicitud = $_GET["solicitud"]; if (!$idsolicitud) { exit("NO HAY SUFICIENTES DATOS PARA LLEVAR A CABO EL INFORME"); } // enumera los conceptos a imprimir, por defecto todos estan aceptado. ?> <fieldset> <legend>IMPRIMIR SOLICITUD DE CREDITO.- OPCIONES DE IMPRESION</legend> <form name="frmlist" action="rptsolicitudcredito1.php" method="post"> <table> <tr>
*/ //===================================================================================================== include_once "../core/go.login.inc.php"; include_once "../core/core.error.inc.php"; include_once "../core/core.html.inc.php"; include_once "../core/core.init.inc.php"; include_once "../core/core.db.inc.php"; $theFile = __FILE__; $permiso = getSIPAKALPermissions($theFile); if ($permiso === false) { header("location:../404.php?i=999"); } $_SESSION["current_file"] = addslashes($theFile); //===================================================================================================== $xHP = new cHPage("", HP_FORM); $xHP->setTitle($xHP->lang("REPORTAR", "CONDUCTA_INADECUADA")); $DDATA = $_REQUEST; $action = isset($DDATA["action"]) ? $DDATA["action"] : SYS_NINGUNO; //$jxc = new TinyAjax(); //$jxc ->exportFunction('datos_del_pago', array('idsolicitud', 'idparcialidad'), "#iddatos_pago"); //$jxc ->process(); echo $xHP->getHeader(); $jsb = new jsBasicForm(""); //$jxc ->drawJavaScript(false, true); echo $xHP->setBodyinit(); $xFRM = new cHForm("frmreporteempleado", "reportar_empleado.frm.php?action=" . SYS_UNO); $xBtn = new cHButton(); $xTxt = new cHText(); $xSel = new cHSelect(); $xFec = new cHDate(); $xTa = new cHTextArea();