Esempio n. 1
0
        public ActionResult IndexCustomOutgoing()
        {
            ReportIMrepo report = new ReportIMrepo();

            ViewData["bctypeOutgoing"] = report.GetOutgoingBcType();
            ViewBag.CompanyName        = report.CompanyName();
            return(View());
        }
Esempio n. 2
0
        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));
        }
Esempio n. 3
0
        public ActionResult IndexWIP()
        {
            ReportIMrepo report = new ReportIMrepo();

            ViewData["nPeriod"] = report.GetPeriod();
            ViewBag.CompanyName = report.CompanyName();
            return(View());
        }
Esempio n. 4
0
        public ActionResult IndexCustomFA()
        {
            ReportIMrepo report = new ReportIMrepo();

            ViewData["nPeriod"] = report.GetPeriod();
            ViewBag.CompanyName = report.CompanyName();
            GetListReportFA("MONDRIAN", 1, 2018);
            return(View());
        }
Esempio n. 5
0
        // 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));
        }
Esempio n. 6
0
        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));
        }