$xFRM->OButton("TR.Datos Generales", "jsGoToGeneral()", "ejecutar"); $xFRM->OButton("TR.Tasas", "jsGoToTasas()", "tasa"); $xFRM->OButton("TR.Dias", "jsGoToDias()", "fecha"); $xFRM->OButton("TR.cantidades", "jsGoToCantidades()", "moneda"); $xFRM->OButton("TR.Garantias", "jsGoToGarantias()", "garantia"); $xFRM->OButton("TR.Contabilidad de Capital", "jsGoToContableCapital()", "contabilidad"); $xFRM->OButton("TR.Contabilidad de Intereses", "jsGoToContableInteres()", "contabilidad"); $xFRM->OButton("TR.Comisiones", "jsGoToComisiones()", "dinero"); $xFRM->OButton("TR.Permisos", "jsGoToPermisos()", "permisos"); $xFRM->OButton("TR.Scripting", "jsGoToScript()", "codigo"); $xFRM->OButton("TR.Duplicar", "jsClonarProducto()", $xFRM->ic()->EJECUTAR); $xFRM->OButton("TR.Otros parametros", "jsOtrosParametros()", $xFRM->ic()->CONTROL); //$xSel->setDivClass(); $msg = ""; //$xFRM->addSubmit(); $xFRM->addDivSolo($xSel->getListaDeProductosDeCredito()->get()); //$xFRM->addHTML("<div id=\"content\"><object type=\"text/html\" id=\"idFPrincipal\" data=\"../utils/frm_system_tasks.php\" width='100%' height=\"800px\" ></object></div>"); echo $xFRM->get(); ?> <script > var xG = new Gen(); function jsGoToGeneral(){jsLoadObject("generales"); } function jsGoToTasas(){jsLoadObject("tasas"); } function jsGoToDias(){jsLoadObject("dias"); } function jsGoToCantidades(){jsLoadObject("cantidades"); } function jsGoToPermisos(){ jsLoadObject("permisos"); } function jsGoToScript(){ jsLoadObject("codigo"); } function jsGoToComisiones(){ jsLoadObject("comisiones"); } function jsGoToGarantias(){ jsLoadObject("garantias"); } function jsGoToContableCapital(){ jsLoadObject("contablecapital"); }
$jxc->exportFunction('jsaGetVerifyPlan', array("idsolicitud"), "#aviso"); $jxc->exportFunction('jsaGetLetras', array("idsolicitud"), "#divparcialidad"); //$jxc ->exportFunction('setPagoCompleto', array("solicitud", "idsocio"), "#parseValueX"); $jxc->process(); echo $xHP->getHeader(); echo $xHP->setBodyinit("initComponents()"); $jbf = new jsBasicForm("frmPreRecibo"); $jbf->setIncludeJQuery(); $jbf->mIncludeCreditos = true; $jxc->drawJavaScript(false, true); $xFRM = new cHForm("frmPreRecibo", "frmcobrosdecreditos2.php"); $xBtn = new cHButton(); $xTxt = new cHText(); $xDate = new cHDate(); $xSel = new cHSelect(); $msel = $xSel->getListaDeProductosDeCredito(); $msel->addEvent("onchange", "initComponents()"); $xDate->setDivClass(""); $xFRM->addDivSolo($xDate->get("TR.Fecha"), "<div id='mscom'></div>", "tx14", "tx34"); $xFRM->addCreditBasico(); $xTxt->addEvent("jsaGetLetras();jsaGetVerifyPlan();", "onfocus"); $xTxt->setDivClass(""); $props = array(1 => array("id" => "divparcialidad")); $xFRM->addDivSolo($xTxt->get("idparcialidad", "", "TR.Numero de Parcialidad", "", false, CTRL_GOLETRAS), "<p class='aviso' id='aviso'></p>", "tx14", "tx34", $props); $xDate->addEvents("onblur=\"initComponents()\" onchange=\"initComponents()\" "); $xFRM->addHTML("<div id='lst' class='inv'></div>"); $xFRM->addSubmit("", "setFrmSubmit()"); $xFRM->addToolbar($xBtn->getBasic("TR.Letras Pendientes", "jsObtenerLetras()", "ejecutar", "cmdGetLetras", false)); $xFRM->addToolbar($xBtn->getBasic("TR.panel_de_control_de", "jsGoPanel()", "panel", "idgetpanel", false)); $xFRM->addToolbar($xBtn->getBasic("TR.Estado de Cuenta", "getEdoCtaCredito()", "reporte", "cmdEdoCta", false)); echo $xFRM->get();
ini_set("max_execution_time", 600); $action = isset($_GET["o"]) ? $_GET["o"] : "x"; echo $xHP->getHeader(); //$jxc ->drawJavaScript(false, true); ?> <body> <?php //Si la Operacion es Configurar los Datos if ($action == "x") { $xFRM = new cHForm("frmSendFiles", "mae.prestamos.upload.frm.php?o=u"); $xHSel = new cHSelect(); //$xHFil = new cHFile() $xFRM->setTitle("TR.ENVIAR ARCHIVO DE Creditos"); $xFRM->setEnc("multipart/form-data"); $xFRM->OFile("cFile1", "", "TR.Archivo"); $xFRM->addHElem($xHSel->getListaDeProductosDeCredito()->get(true)); $xFRM->addSubmit(); echo $xFRM->get(); } elseif ($action == "u") { echo '<form name="frmConvs" method="POST" action="mae.prestamos.upload.frm.php?o=s"> <fieldset> <legend>Mostrar Resultado de la Carga</legend> '; $usrFiles = array(); $usrFiles[0] = $_FILES["cFile1"]; $msg = ""; $arrPeriodos = array("D" => 10, "Q" => 15, "C" => 14, "S" => 7, "M" => 30, "" => 30, "O" => 1, "F" => 360); $prePath = PATH_BACKUPS; $lim = 1; //sizeof($usrFiles) -1; for ($i = 0; $i <= $lim; $i++) { if (isset($usrFiles[$i]) == true) {
} $jxc->exportFunction('jsaGetDatosHeredados', array("idsocio")); $jxc->process(); echo $xHP->getHeader(); //$jsb = new jsBasicForm(""); $xHP->init(); $xFRM = new cHForm("frmagregarempresas", "agregar-empresas.frm.php?action={$step}&empresa={$empresa}"); $xTxt2 = new cHText(); $xTxt = new cHText(); $xSel = new cHSelect(); $xTabs = new cHTabs(); $xFRM->addPersonaBasico("", false, $idsocio); $xFRM->OText("nombrecorto", $alias, "TR.Nombre_corto"); $xFRM->addHElem($xTxt2->getDeNombreDePersona("iddirectivo", $iddirectivo, "TR.Clave_de_Persona del Contacto")); $xFRM->OText("directivo", $directivo, "TR.Nombre de Contacto"); $xFRM->addHElem($xSel->getListaDeProductosDeCredito("", $producto)->get(true)); $xTabs->addTab("TR.Periocidad 1", $xSel->getListaDePeriocidadDePago("idperiocidad1", $periocidad1)->get("TR.Periocidad de pago", true)); $xTabs->addTab("TR.Periocidad 1", $xTxt->getNormal("dias_de_aviso1", $diasaviso1, "TR.Dias de Aviso")); $xTabs->addTab("TR.Periocidad 1", $xTxt->getNormal("dias_de_nomina1", $diasnomina1, "TR.Dias de Nomina")); $xTabs->addTab("TR.Periocidad 1", $xTxt->getNormal("dias_de_pago1", $diaspago1, "TR.Dias de Pago")); $xTabs->addTab("TR.Periocidad 2", $xSel->getListaDePeriocidadDePago("idperiocidad2", $periocidad1)->get("TR.Periocidad de pago", true)); $xTabs->addTab("TR.Periocidad 2", $xTxt->getNormal("dias_de_aviso2", $diasaviso2, "TR.Dias de Aviso")); $xTabs->addTab("TR.Periocidad 2", $xTxt->getNormal("dias_de_nomina2", $diasnomina2, "TR.Dias de Nomina")); $xTabs->addTab("TR.Periocidad 2", $xTxt->getNormal("dias_de_pago2", $diaspago2, "TR.Dias de Pago")); $xFRM->addAviso($msg); $xFRM->addHTML($xTabs->get()); $xFRM->addHElem($xSel->getListaDeOficiales("", "", $oficial)->get(true)); $xFRM->OText("idemail1", $mail1, "TR.Email de contacto 1"); $xFRM->OText("idemail2", $mail2, "TR.Email de contacto 2"); $xFRM->OText("idemail3", $mail3, "TR.Email de contacto 3"); $xFRM->addSubmit();
$xBtn = new cHButton(); return $xBtn->getBasic("TR.guardar credito", "jsFormularioValidado()", "guardar", "idvalidarok", false); } } $jxc->exportFunction('jsaValidarCredito', array('idsocio'), "#creditoaprobado"); $jxc->exportFunction('jsaGetPerfilDeProducto', array("idproducto", "idsocio")); $jxc->process(); echo $xHP->getHeader(true); $xFRM = new cHForm("frmsolicitudcredito", "solicitud_de_credito.2.frm.php", "frmsolicitudcredito"); $xBtn = new cHButton(); $xTxt = new cHText(); $xDate = new cHDate(); $xSel = new cHSelect(); $xFRM->addPersonaBasico(); $xFRM->ODate("idFechaDeSolicitud", false, "TR.Fecha de Solicitud"); $selPdto = $xSel->getListaDeProductosDeCredito(); $selPdto->addEvent("onchange", "jsaGetPerfilDeProducto()"); $selPdto->addEvent("onfocus", "jsaGetPerfilDeProducto()"); $xFRM->addHElem($selPdto->get("TR.producto de credito", true)); //$xFRM->addHElem($xTxt->getDeMoneda("idnuevocredito", "TR.clave_de_credito")); $selFreq = $xSel->getListaDePeriocidadDePago(); $selFreq->addEvent("onblur", "jsSetFrecuenciaDePagos(this)"); $xFRM->addHElem($selFreq->get(true)); $xFRM->addHElem($xSel->getListaDeTipoDePago()->get(true)); $xFRM->OMoneda("idnumerodepagos", 1, "TR.Numero de pagos"); $xFRM->ODate("idFechaVencimiento", false, "TR.Fecha de Vencimiento"); $xFRM->ODate("idFechaMinistracion", false, "TR.Fecha de Ministracion"); $xFRM->addHElem($xTxt->getDeMoneda("idmonto", "TR.Monto Solicitado", 0, true)); if (MODULO_CAPTACION_ACTIVADO == true) { $xFRM->addCuentaCaptacionBasico(false); } else {