$action = parametro("action", SYS_NINGUNO);
$xHP->init();
$xFRM = new cHForm("frm", "./");
$xBtn = new cHButton();
$xTxt = new cHText();
$xDate = new cHDate();
$xSel = new cHSelect();
$xHNot = new cHNotif();
$msg = "";
$xRPT = new cPanelDeReportes(iDE_AML, "aml.legal");
$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();
//=====================================================================================================
//=====>	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();
$xHP->init();
$xPanel = new cPanelDeReportes(iDE_CAPTACION, "captacion_corriente", false);
$xPanel->OFRM()->addCuentaCaptacionBasico(true, CAPTACION_TIPO_VISTA);
$xPanel->OFRM()->addJsBasico(iDE_CAPTACION);
$xPanel->addListReports();
$xPanel->setConOperacion(false);
$xPanel->setConCajero(false);
$xPanel->setConCreditos(false);
$xPanel->setConRecibos(false);
$xPanel->addjsVars("idcuenta", "cuenta");
echo $xPanel->get();
echo $xPanel->getJs(true);