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);
$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";
	
var AjxOpts	= {
<?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 Credito");
$xHP->init();
$xRPT = new cPanelDeReportes(iDE_CREDITO, "general_creditos");
$xRPT->addOficialDeCredito();
$xRPT->setConOperacion(true);
//$xRPT->addTipoDeOperacion();
//$xRPT->setConRecibos(false);
echo $xRPT->get();
echo $xRPT->getJs(true);
$xHP->fin();
<?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();
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.Reporte de Operaciones Bancarias");
//require_once(TINYAJAX_PATH . "/TinyAjax.php");
//$jxc = new TinyAjax();
//$jxc ->exportFunction('datos_del_pago', array('idsolicitud', 'idparcialidad'), "#iddatos_pago");
//$jxc ->process();
echo $xHP->getHeader();
echo $xHP->setBodyinit("initComponents()");
//$xFrm->addHElem()
$xB = new cPanelDeReportes(iDE_BANCOS, "bancos");
$xB->setConOperacion(false);
$xB->setConRecibos(false);
$xB->setConCajero();
$xB->setTitle($xHP->getTitle());
echo $xB->get();
echo $xB->getJs();
?>
</body>
</html>