public ActionResult CONTA_009(cl_filtros_contabilidad_Info model)
        {
            model.IdAnio = model.fecha_fin.Year;


            CONTA_009_Rpt report = new CONTA_009_Rpt();

            report.IntArray                      = model.IntArray;
            report.p_IdEmpresa.Value             = model.IdEmpresa;
            report.p_fechaIni.Value              = model.fecha_ini;
            report.p_fechaFin.Value              = model.fecha_fin;
            report.p_IdCentroCosto.Value         = model.IdCentroCosto;
            report.p_IdUsuario.Value             = SessionFixed.IdUsuario;
            report.p_mostrarSaldo0.Value         = model.mostrar_saldos_en_0;
            report.p_MostrarSaldoAcumulado.Value = model.MostrarSaldoAcumulado;
            report.usuario           = SessionFixed.IdUsuario;
            report.empresa           = SessionFixed.NomEmpresa;
            report.RequestParameters = false;
            ViewBag.Report           = report;

            cargar_nivel();
            cargar_cc(model.IdEmpresa);
            cargar_sucursal_check(model.IdEmpresa, model.IntArray);
            return(View(model));
        }
        public ActionResult CONTA_009()
        {
            cl_filtros_contabilidad_Info model = new cl_filtros_contabilidad_Info
            {
                IdEmpresa     = string.IsNullOrEmpty(SessionFixed.IdEmpresa) ? 0 : Convert.ToInt32(SessionFixed.IdEmpresa),
                IdSucursal    = Convert.ToInt32(SessionFixed.IdSucursal),
                IdNivel       = 6,
                balance       = "ER",
                IntArray      = new int[] { Convert.ToInt32(SessionFixed.IdSucursal) },
                IdCentroCosto = ""
            };

            model.IdAnio = model.fecha_fin.Year;
            model.MostrarSaldoAcumulado = false;
            CONTA_009_Rpt report = new CONTA_009_Rpt();

            report.IntArray                      = model.IntArray;
            report.p_IdEmpresa.Value             = model.IdEmpresa;
            report.p_fechaIni.Value              = model.fecha_ini;
            report.p_fechaFin.Value              = model.fecha_fin;
            report.p_IdUsuario.Value             = SessionFixed.IdUsuario;
            report.p_IdCentroCosto.Value         = model.IdCentroCosto;
            report.p_mostrarSaldo0.Value         = model.mostrar_saldos_en_0;
            report.p_MostrarSaldoAcumulado.Value = model.MostrarSaldoAcumulado;
            report.usuario           = SessionFixed.IdUsuario;
            report.empresa           = SessionFixed.NomEmpresa;
            report.RequestParameters = false;
            ViewBag.Report           = report;

            cargar_nivel();
            cargar_cc(model.IdEmpresa);
            cargar_sucursal_check(model.IdEmpresa, model.IntArray);
            return(View(model));
        }