public ActionResult IndexCustomOutgoing() { ReportIMrepo report = new ReportIMrepo(); ViewData["bctypeOutgoing"] = report.GetOutgoingBcType(); ViewBag.CompanyName = report.CompanyName(); return(View()); }
public ActionResult GetListReportFA(string facility, int period, int yearperiod) { ReportIMrepo report = new ReportIMrepo(); DataTable dt = new DataTable(); dt = report.PrintReportCustomFA_table(facility, period, yearperiod); return(PartialView("PartialGrid/_GridFA", dt)); }
public ActionResult IndexWIP() { ReportIMrepo report = new ReportIMrepo(); ViewData["nPeriod"] = report.GetPeriod(); ViewBag.CompanyName = report.CompanyName(); return(View()); }
public ActionResult IndexCustomFA() { ReportIMrepo report = new ReportIMrepo(); ViewData["nPeriod"] = report.GetPeriod(); ViewBag.CompanyName = report.CompanyName(); GetListReportFA("MONDRIAN", 1, 2018); return(View()); }
// GET: Reports //==========================Baru===================================== public ActionResult LaporanCustomFA(string facility, int period, int yearperiod) { ReportIMrepo report = new ReportIMrepo(); string Title = ConfigurationManager.AppSettings["ReportTitle"].ToString(); this.HttpContext.Session["NamaLaporan"] = "CustomFA.rpt"; this.HttpContext.Session["Param"] = period; this.HttpContext.Session["Title"] = Title; this.HttpContext.Session["Datasource"] = report.PrintReportCustomFA(facility, period, yearperiod); return(Json(new { result = true }, JsonRequestBehavior.AllowGet)); }
public ActionResult LaporanCustomOutgoing(string facility, string tgl1, string tgl2, string bctype) { ReportIMrepo report = new ReportIMrepo(); string Title = ConfigurationManager.AppSettings["ReportTitle"].ToString(); this.HttpContext.Session["NamaLaporan"] = "CustomOutgoing.rpt"; this.HttpContext.Session["Param1"] = tgl1; this.HttpContext.Session["Param2"] = tgl2; this.HttpContext.Session["Title"] = Title; this.HttpContext.Session["Datasource"] = report.PrintReportCustomOutgoing(facility, tgl1, tgl2, bctype); return(Json(new { result = true }, JsonRequestBehavior.AllowGet)); }