function jsGetSaldoCuenta($cuenta, $socio) { $xCta = new cCuentaDeCaptacion($cuenta, $socio); $DC = $xCta->getDatosInArray(); $montoRet = $DC["saldo_cuenta"]; //$xCta->getMaximoRetirable(); $tab = new TinyAjaxBehavior(); $tab->add(TabSetValue::getBehavior("idMonto", $montoRet)); $tab->add(TabSetValue::getBehavior("idLetras", convertirletras($montoRet))); return $tab->getString(); }