$cEdit->addTool(SYS_UNO); $cEdit->addTool(SYS_DOS); $cEdit->setEventKey("jsEditClick"); $cEdit->setTdClassByType(); $cEdit->setKeyField("idoperaciones_mvtos"); $xTabs->addTab("TR.OPERACIONES", $cEdit->Show()); $NumOpers = $cEdit->getRowCount(); $cBan = new cTabla($xSQL->getListadoDeOperacionesBancarias("", "", "", false, false, " AND `bancos_operaciones`.`recibo_relacionado` = {$idrecibo} ")); //$cBan->setEventKey("idcontrol"); $cBan->setKeyField("idcontrol"); $cBan->addTool(SYS_UNO); $cBan->addTool(SYS_DOS); $cBan->setFootSum(array(7 => "monto")); $xTabs->addTab("TR.BANCOS", $cBan->Show()); //Operaciones de Tesorería $cTes = new cTabla($xSQL->getListadoDeOperacionesDeTesoreria("", "", $idrecibo)); $cTes->addTool(SYS_UNO); $cTes->addTool(SYS_DOS); $xTabs->addTab("TR.TESORERIA", $cTes->Show()); //agregar contable if (getEsModuloMostrado(USUARIO_TIPO_CONTABLE) == true) { $xTbl = new cTabla("SELECT * FROM `contable_polizas_proforma` WHERE `numero_de_recibo`={$idrecibo}"); $xTabs->addTab("TR.Pre Poliza", $xTbl->Show()); //poliza relacionada $xTbl = new cTabla($xSQL->getListadoDePolizasContables(false, false, false, false, false, " AND (`recibo_relacionado`={$idrecibo}) ")); $xTabs->addTab("TR.Poliza", $xTbl->Show()); //factura XML //$xRec->getFactura(false, OUT_RXML); //$xDo = new cDocumentos(); } //