public ActionResult ComprasSinRetencion()
        {
            cl_filtros_Info model = new cl_filtros_Info();

            #region Validar Session
            if (string.IsNullOrEmpty(SessionFixed.IdTransaccionSession))
            {
                return(RedirectToAction("Login", new { Area = "", Controller = "Account" }));
            }
            SessionFixed.IdTransaccionSession       = (Convert.ToDecimal(SessionFixed.IdTransaccionSession) + 1).ToString();
            SessionFixed.IdTransaccionSessionActual = SessionFixed.IdTransaccionSession;
            #endregion
            #region Permisos
            seg_Menu_x_Empresa_x_Usuario_Info info = bus_permisos.get_list_menu_accion(Convert.ToInt32(SessionFixed.IdEmpresa), SessionFixed.IdUsuario, "CuentasPorPagar", "Retencion", "Index");
            if (!info.Nuevo)
            {
                return(RedirectToAction("Index"));
            }
            #endregion

            model.IdEmpresa            = Convert.ToInt32(SessionFixed.IdEmpresa);
            model.IdSucursal           = Convert.ToInt32(SessionFixed.IdSucursal);
            model.IdTransaccionSession = Convert.ToDecimal(SessionFixed.IdTransaccionSession);

            #region Cargar sucursal
            var lst_sucursal = bus_sucursal.GetList(model.IdEmpresa, SessionFixed.IdUsuario, false);
            ViewBag.lst_sucursal = lst_sucursal;
            #endregion

            List_og.set_list(bus_orden_giro.get_lst_sin_ret(model.IdEmpresa, model.IdSucursal, model.fecha_ini, model.fecha_fin), model.IdTransaccionSession);

            return(View(model));
        }
        public ActionResult GridViewPartial_deudas_sin_ret()
        {
            int IdEmpresa = Convert.ToInt32(SessionFixed.IdEmpresa);
            var model     = bus_orden_giro.get_lst_sin_ret(IdEmpresa, DateTime.Now, DateTime.Now);

            return(PartialView("_GridViewPartial_deudas_sin_ret", model));
        }