function jsaGetValidacion($persona, $producto, $origen) { $html = ""; $xPd = new cCaptacionProducto($producto); if ($xPd->getClase() == CAPTACION_TIPO_PLAZO) { $html .= $xPd->getListaDeDias(); } if ($xPd->getDestinoInteres() == CAPTACION_DESTINO_CTA_INTERES) { $xTxt2 = new cHText(); $xSoc = new cSocio($persona); $xSoc->init(); $html .= $xTxt2->getDeCuentaCaptacionInteres("", $xSoc->getCuentaDeCaptacionPrimaria(CAPTACION_TIPO_VISTA, CAPTACION_PRODUCTO_INTERESES)); } // return $html; }