echo "<input type='button' name='btsend' value='IMPRIMIR/VER CONSTANCIA DE INVERSION' onClick='jsPrintReporto();' />"; if ($ReciboIDE != false) { echo "<input type='button' name='btsend' value='IMPRIMIR/VER RECIBO DE RETENCION IDE' onClick='jsPrintIDE();'>"; } } } ?> </body> <?php $jxc->drawJavaScript(false, true); $jsb = new jsBasicForm("OperacionesEnAcciones", iDE_CAPTACION); //$jsb->setIncludeCaptacion(true); //$jsb->setInputProp("descripcion_de_la_cuenta", "name", "nombrecuenta" ); $jsb->setTypeCaptacion(20); $jsb->setSubproducto(70); $jsb->show(); ?> <script > /* Imprime el Recibo de Reinversion */ function jsPrintReporto() { <?php if (isset($RInversion)) { echo "\t\tvar elUrl\t\t\t= \"../rpt_formatos/frmreciboinversion.php?recibo={$RInversion}\";\n\t\t\tjsGenericWindow(elUrl);\n\t\t"; } if (isset($RInversion2)) { echo "\t\tvar elUrl\t\t\t= \"../rpt_formatos/frmreciboinversion.php?recibo={$RInversion2}\";\n\t\t\tjsGenericWindow(elUrl); "; } ?> } // Imprime el Recibo de Deposito*/