//=====> INICIO_H include_once "../core/go.login.inc.php"; include_once "../core/core.error.inc.php"; include_once "../core/core.html.inc.php"; include_once "../core/core.init.inc.php"; $theFile = __FILE__; $permiso = getSIPAKALPermissions($theFile); if ($permiso === false) { header("location:../404.php?i=999"); } $_SESSION["current_file"] = addslashes($theFile); //<===== FIN_H $iduser = $_SESSION["log_id"]; //===================================================================================================== $xHP = new cHPage("", HP_FORM); $xQL = new MQL(); $xLi = new cSQLListas(); $xF = new cFecha(); $xSel = new cHSelect(); $xHP->init(); $xPanel = new cPanelDeReportes(iDE_CAPTACION, "general_captacion"); //$xPanel->OFRM()->addCuentaCaptacionBasico(true, CAPTACION_TIPO_VISTA); //$xPanel->addListReports(); $xPanel->setConOperacion(false); $xPanel->setConCajero(false); $xPanel->setConCreditos(false); $xPanel->setConRecibos(false); //$xPanel->addjsVars("idcuenta", "cuenta"); $xPanel->addTipoDeOperacion(3100, 3200); echo $xPanel->get(); echo $xPanel->getJs(true);
<?php //===================================================================================================== //=====> INICIO_H include_once "../core/go.login.inc.php"; include_once "../core/core.error.inc.php"; include_once "../core/core.html.inc.php"; include_once "../core/core.init.inc.php"; $theFile = __FILE__; $permiso = getSIPAKALPermissions($theFile); if ($permiso === false) { header("location:../404.php?i=999"); } $_SESSION["current_file"] = addslashes($theFile); //<===== FIN_H $iduser = $_SESSION["log_id"]; //===================================================================================================== $xHP = new cHPage("TR.Reportes de Creditos"); $xHP->init(); $xChk = new cHCheckBox(); $xB = new cPanelDeReportes(iDE_CREDITO, "general_operaciones"); $xB->setTitle($xHP->getTitle()); $xB->setConOperacion(); $xB->setConRecibos(); $xB->addListadDeCuentasBancarias(); $xB->addHTML($xChk->get("TR.Omitir Estadisticos", "estadisticos")); echo $xB->get(); echo $xB->getJs(true); $xHP->fin();
$xTxt = new cHText(); $xDate = new cHDate(); $xSel = new cHSelect(); $xHNot = new cHNotif(); $msg = ""; $xRPT = new cPanelDeReportes(iDE_AML, "aml"); //$xRPT->setConFechas(); //$xRPT->addFechaInicial(); //$xRPT->OFRM()->addToolbar("<div class='noticon'> <i class='fa fa-warning fa-lg'></i> <span id='numeroerrores' class='noticount'>0</span></div><div class='noticon'> <i class='fa fa-newspaper-o fa-lg'></i><span id='numeroregistros' class='noticount'>0</span></div>"); //$xRPT->OFRM()->addToolbar($xHNot->getNoticon("numeroerrores", $xHNot->NOTICE) . $xHNot->getNoticon("numeroregistros", $xHNot->ic()->REGISTROS)); //$xRPT->OFRM()->addDivSolo($xHNot->getNoticon("numeroerrores", $xHNot->NOTICE) . "<label>ERRORES</label>", $xHNot->getNoticon("numeroerrores", $xHNot->NOTICE), "tx24", "txt24"); //$xRPT->OFRM()->addHElem( $xRPT->addFechaFinal("TR.Fecha de Corte") ); //$xRPT->addCheckBox("TR.Definitivo", "definitivo"); $xhtm = "<h2>Errores</h2><p id='mensajesdelreporte' class='warn'></p>"; //$xRPT->addFooterBar($xhtm);// $xHNot->get($xhtm, "idnoticias", $xHNot->WARNING) ); echo $xRPT->get(); echo $xRPT->getJs(); //$jxc ->drawJavaScript(false, true); ?> <script> function jsBlurListaDeReportes(){ jsDiagnosticoReporte(); } function jsDiagnosticoReporte(){ var fechaFinal = $('#idfecha-1').val(); var idreporte = $('#idreporte').val(); var idsucursal = $('#idsucursal').val(); var idtiposalida = $('#idtipodesalida').val(); var g = new Gen(); var murl = idreporte + "mx=true" + "" + "&off=" + fechaFinal + "&fechafinal=" + fechaFinal + "&sucursal=" + idsucursal + "&s=" + idsucursal + "&out=" + idtiposalida + "&pregunta=true";
$_SESSION["current_file"] = addslashes($theFile); //===================================================================================================== $xHP = new cHPage("Reportes por Empresas", HP_FORM); //$jxc = new TinyAjax(); //$jxc ->exportFunction('datos_del_pago', array('idsolicitud', 'idparcialidad'), "#iddatos_pago"); //$jxc ->process(); echo $xHP->getHeader(); $jsb = new jsBasicForm("mfrm", iDE_CAPTACION); $jsb->show(); //$jxc ->drawJavaScript(false, true); echo $xHP->setBodyinit(); $oFRM = new cHForm("frmTemplate", "./", "mfrm", "", "formoid-default"); $oFRM->setTitle("TR.Reportes por Empresas"); echo $xHP->setBodyEnd(); $xReports = new cPanelDeReportes(iDE_CREDITO, "empresas"); $xReports->get(); $rpts = new cGeneral_reports(); $sel3 = $xReports->getSelectReportes(); //$rpts->query()->html()->select( $rpts->descripcion_reports()->get(), " aplica='empresas' " ); $emp = new cSocios_aeconomica_dependencias(); $sel = $emp->query()->html()->select($emp->descripcion_dependencia()->get()); $sel->addOptions(array("todas" => "TODAS")); $per = new cCreditos_periocidadpagos(); $sel4 = $per->query()->html()->select($per->descripcion_periocidadpagos()->get()); $sel4->addOptions(array("todas" => "TODAS")); $pdto = new cCreditos_tipoconvenio(); $sel2 = $pdto->query()->html()->select($pdto->descripcion_tipoconvenio()->get()); $sel2->addOptions(array("todas" => "TODAS")); $base = new cEacp_config_bases_de_integracion(); $selB = $base->query()->html()->select($base->descripcion()->get()); //