//=====>	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 por oficial_de_credito");
echo $xHP->getHeader();
echo $xHP->setBodyinit();
$xRPT = new cPanelDeReportes(iDE_USUARIO, "oficiales");
$xRPT->setConOperacion(false);
$xRPT->setConRecibos(false);
$xRPT->setConCreditos();
//$xRPT->addTipoDePago()
echo $xRPT->get();
echo $xRPT->getJs();
?>
</body>
</html>
$credito = parametro("solicitud", $credito, MQL_INT);
$cuenta = parametro("cuenta", DEFAULT_CUENTA_CORRIENTE, MQL_INT);
$cuenta = parametro("idcuenta", $cuenta, MQL_INT);
$jscallback = parametro("callback");
$tiny = parametro("tiny");
$form = parametro("form");
$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");
//$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(){
$credito = parametro("solicitud", $credito, MQL_INT);
$cuenta = parametro("cuenta", DEFAULT_CUENTA_CORRIENTE, MQL_INT);
$cuenta = parametro("idcuenta", $cuenta, MQL_INT);
$jscallback = parametro("callback");
$tiny = parametro("tiny");
$form = parametro("form");
$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(){
<?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();
<?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();
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 acumulados");
$xHP->init();
$xRPT = new cPanelDeReportes();
$xRPT->addSucursales();
?>
<body>
<fieldset>
	<legend>Informe Generales Acumulados en un Rago de Fechas</legend>
	
<form name='frmreports'>
	<table >
		<tr>
			<td>Fecha Incial</td><td><?php 
echo ctrl_date(0);
?>
</td>
			<td>Fecha Final</td><td><?php 
echo ctrl_date(1);
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>
//=====================================================================================================
//=====>	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);
}
$_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());