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.Balanza de Comprobacion", HP_FORM);
$xHP->init();
$xSel = new cHSelect();
$xHRPT = new cPanelDeReportesContables(false, false);
$xHRPT->addFechaInicial();
$xHRPT->addFechaFinal();
$xHRPT->addCuentaInicial();
$xHRPT->addCuentaFinal();
$xHRPT->addTipoDeCuentas();
//$xHRPT->addNivelesDeCuentas();
$xHRPT->addEstadoDeMovimiento();
$xHRPT->addMoneda();
echo $xHRPT->render();
?>
<script>
var xG 	= new Gen();
function jsGetReporte(){
	var mFechaF		= $("#idfechafinal").val();
	var mFechaI		= $("#idfechainicial").val();
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.Balance General", HP_FORM);
$xHP->init();
$xSel = new cHSelect();
$xHRPT = new cPanelDeReportesContables(true, false);
//$xHRPT->addCuentaFinal();
$xHRPT->addMoneda();
//$xHRPT->addTipoDeCuentas();
//$xHRPT->addNivelesDeCuentas();
//$xHRPT->addEstadoDeMovimiento();
echo $xHRPT->render();
?>
<script>
var xG 	= new Gen();
function jsGetReporte(){
	var mPer		= $("#idperiodoinicial").val();
	var mEjer		= $("#idejercicioinicial").val();
	var vMone		= $("#idcodigodemoneda").val();

	//var urlrpt = "rpt_balance_general2.php?on=" + fi + '&for=' + vfor+ '&m=' + vMoneda + '&f=' + vFactor;
}
$_SESSION["current_file"] = addslashes($theFile);
//<=====	FIN_H
$iduser = $_SESSION["log_id"];
//=====================================================================================================
$xHP = new cHPage("TR.Anexos del Catalogo", HP_FORM);
/*include_once "../core/entidad.datos.php";
include_once "../core/core.deprecated.inc.php";
include_once "../core/core.fechas.inc.php";
include_once "../libs/sql.inc.php";
include_once "../core/core.config.inc.php";
include_once "../core/core.contable.inc.php";
$oficial = elusuario($iduser);*/
$xHP->init();
$xSel = new cHSelect();
$xHRPT = new cPanelDeReportesContables();
$xHRPT->addCuentaFinal();
$xHRPT->addMoneda();
$xHRPT->addTipoDeCuentas();
$xHRPT->addNivelesDeCuentas();
$xHRPT->addEstadoDeMovimiento();
echo $xHRPT->render();
?>
<script>
var xG 	= new Gen();
function jsGetReporte(){
	var mPer		= $("#idperiodoinicial").val();
	var mEjer		= $("#idejercicioinicial").val();
	var vMone		= $("#idcodigodemoneda").val();
	var vctainit	= $("#idcuentainicial").val();
	var vctafin		= $("#idcuentafinal").val();