function jsaGetDatosCuenta($cuenta, $socio, $dias) { $xInv = new cCuentaInversionPlazoFijo($cuenta, $socio); $tasa = $xInv->getTasaAplicable($dias) * 100; $xSoc = new cSocio($socio); $xSoc->init(); $cuentainteres = $xSoc->getCuentaDeCaptacionPrimaria(CAPTACION_TIPO_VISTA, CAPTACION_PRODUCTO_INTERESES); $tab = new TinyAjaxBehavior(); $tab->add(TabSetValue::getBehavior("idtasa", $tasa)); $tab->add(TabSetValue::getBehavior("idcuentainteres", $cuentainteres)); return $tab->getString(); }