Example #1
0
        public ActionResult DocumentViewerExportToNhapKho()
        {
            var report = new CongCuDungCu.Reports.rpNhapKho();

            report.getIDDonVi(System.Web.HttpContext.Current.User.Identity.Name);
            report.Fill(AccountDataProvider.GetSystemDate());
            return(DocumentViewerExtension.ExportTo(report));
        }
Example #2
0
        public ActionResult rpNhapKhoPartial()
        {
            var report = new CongCuDungCu.Reports.rpNhapKho();

            report.getIDDonVi(System.Web.HttpContext.Current.User.Identity.Name);
            report.Fill(AccountDataProvider.GetSystemDate());
            ViewData["Report"] = report;
            return(PartialView("rpNhapKhoPartial"));
        }