<?php if ($action == SYS_NINGUNO) { $xFRM->addJsBasico(iDE_CAPTACION); $xFRM->setAction("frmcaptacioncuentas.php?action=2"); $xFRM->addPersonaBasico("", false, $e_socio); $xFRM->ODate("idfecha", false, "TR.fecha de registro"); $xSp = $xSel->getListaDeProductosDeCaptacion(); $xSp->setOptionSelect($e_producto); //$xSp->addEvent("onchange", "getNewCuenta"); //$xSp->addEvent("onblur", "jsaGetValidacion()"); $xFRM->addHElem($xSp->get(true)); $xFRM->addHElem($xSel->getListaDeOrigenDeCaptacion()->get(true)); $xFRM->addHElem($xSel->getListaDeTituloDeCaptacion()->get(true)); $xFRM->addObservaciones(); $xFRM->addHElem("<h3>" . $xFRM->l()->getT("TR.Otros") . "</h3><div id='idotrosdatos'></div>"); $xFRM->addGrupoBasico("", DEFAULT_GRUPO); //$xFRM->addCuentaCaptacionInteres(); $xFRM->addHElem("<h3>" . $xFRM->l()->getT("TR.Mancomunados") . "</h3>"); $xFRM->addPersonaBasico("2"); $xFRM->addPersonaBasico("3"); $xFRM->addSubmit(); } else { $xS = new cSocio($idsocio); $idsocio = $xS->existe() == false ? false : $idsocio; if ($idsocio == DEFAULT_SOCIO) { $msg .= "ERROR\tPersona {$idsocio} OR cuenta {$idcuenta} INVALIDA\r\n"; } else { $idsolicitud = DEFAULT_CREDITO; $idgrupo = parametro("idgrupo", DEFAULT_GRUPO, MQL_INT); $observacion = parametro("idobservaciones"); $origencuenta = parametro("idorigencaptacion", DEFAULT_CAPTACION_ORIGEN, MQL_INT);
$xFRM->OHidden("idregimenmatrimonial", DEFAULT_REGIMEN_CONYUGAL, ""); } //=== if (MODULO_AML_ACTIVADO == true) { $xFRM->OCheck("TR.PREGUNTA_AML_PERSONA_1", "espep"); $xFRM->OCheck("TR.PREGUNTA_AML_PERSONA_2", "esextranjero"); } if ($tipo_de_ingreso == TIPO_INGRESO_RELACION) { //sinfie } else { //Nomina $xFRM->OMoneda("iddescuento", 0, "TR.Descuento Deseado"); $xFRM->addHElem($xSel->getListaDeEmpresas("idempresa")->get(true)); $xFRM->addObservaciones(); //grupos solidarios $xFRM->addGrupoBasico(); } $xFRM->addHTML("<datalist id=\"dlBuscarPersona\" ><option /></datalist>"); /**--------------------- DOMICLIO --------------------------------------- */ if ($con_domicilio == true) { //$xFRM->endSeccion(); //$xFRM->addSeccion("iddatosgenerales", "TR.Domicilio"); $xCP = new cHText(); $xTx3 = new cHText(); $xTxtE = new cHText(); $xChk = new cHCheckBox(); $xTxt = new cHText(); $xHSel = new cHSelect(); $xFRM->addHElem($xSel->getListaDeRegimenDeVivienda()->get(true)); $xFRM->OHidden("idtipodevivienda", TIPO_DOMICILIO_PARTICULAR, ""); //$xFRM->addHElem( $xSel->getListaDeTiposDeVivienda()->get(true) );