public JsonResult viewListAsset(string prd) { string bln = prd.Substring(0, 2); string thn = prd.Substring(3, 4); int iBln = Convert.ToInt32(bln); int iThn = Convert.ToInt32(thn); WipRepository FixedAsset = new WipRepository(); return(Json(FixedAsset.viewListAsset(iThn, iBln), JsonRequestBehavior.AllowGet)); }
public int updateCM(CuraHdr tbl) { WipRepository FixedAsset = new WipRepository(); return(FixedAsset.updateCM(tbl)); }
// GET: Wip/GetWipDetail public JsonResult GetWipDetail(int thn, int bln, int hari, int pil) { WipRepository wipRepo = new WipRepository(); return(Json(wipRepo.GetWipDetail(thn, bln, hari, pil), JsonRequestBehavior.AllowGet)); }
public int insCM(CuraHdr tbl) { WipRepository FixedAsset = new WipRepository(); return(FixedAsset.insCM(tbl)); }
public int delAsset(MMRFixedAsset tbl) { WipRepository FixedAsset = new WipRepository(); return(FixedAsset.delAsset(tbl)); }
public int insManualAsset(MMRFixedAsset tbl) { WipRepository FixedAsset = new WipRepository(); return(FixedAsset.insManualAsset(tbl)); }
// GET: Wip/GetAllDetailTDTI public JsonResult GetAllScoreTDTI(int thn, int bln) { WipRepository tdtiRepo = new WipRepository(); return(Json(tdtiRepo.GetScoreTDTI(thn, bln), JsonRequestBehavior.AllowGet)); }
public JsonResult ViewColorCM() { WipRepository FixedAsset = new WipRepository(); return(Json(FixedAsset.ViewColorCM(), JsonRequestBehavior.AllowGet)); }
public JsonResult viewJobActivity(int id) { WipRepository FixedAsset = new WipRepository(); return(Json(FixedAsset.viewJobActivity(id), JsonRequestBehavior.AllowGet)); }
public int updateSchedule(PrevHdr tbl) { WipRepository FixedAsset = new WipRepository(); return(FixedAsset.updateSchedule(tbl)); }
public JsonResult scheduleByYear(int id, int thn) { WipRepository FixedAsset = new WipRepository(); return(Json(FixedAsset.scheduleByYear(id, thn), JsonRequestBehavior.AllowGet)); }
public JsonResult scheduleAll() { WipRepository FixedAsset = new WipRepository(); return(Json(FixedAsset.scheduleAll(), JsonRequestBehavior.AllowGet)); }
public JsonResult viewSelectPM() { WipRepository FixedAsset = new WipRepository(); return(Json(FixedAsset.viewSelectPM(), JsonRequestBehavior.AllowGet)); }
public int updAssetArea(MMRFixedAsset tbl) { WipRepository FixedAsset = new WipRepository(); return(FixedAsset.updAssetArea(tbl)); }
public JsonResult ViewCMDetail(int idHdr) { WipRepository FixedAsset = new WipRepository(); return(Json(FixedAsset.ViewCMDetail(idHdr), JsonRequestBehavior.AllowGet)); }
public int UpdateCMDetail(CuraDtl tbl) { WipRepository FixedAsset = new WipRepository(); return(FixedAsset.UpdateCMDetail(tbl)); }
public int insJOB(PrevJOB tbl) { WipRepository FixedAsset = new WipRepository(); return(FixedAsset.insJOB(tbl)); }
public JsonResult InfoDetailCalendarCM(int thn) { WipRepository FixedAsset = new WipRepository(); return(Json(FixedAsset.InfoDetailCalendarCM(thn), JsonRequestBehavior.AllowGet)); }
public int updateJOB(PrevJOB tbl) { WipRepository FixedAsset = new WipRepository(); return(FixedAsset.updateJOB(tbl)); }
//GET : wip/GetAllFinishCostABD public JsonResult GetAllFinishCostABD(int thn, int bln) { WipRepository FinishABD = new WipRepository(); return(Json(FinishABD.GetAllFinishCostABD(thn, bln), JsonRequestBehavior.AllowGet)); }
public JsonResult AlertPM() { WipRepository AlertPM = new WipRepository(); return(Json(AlertPM.AlertPM(), JsonRequestBehavior.AllowGet)); }
public JsonResult viewCurativeMaintenance() { WipRepository FixedAsset = new WipRepository(); return(Json(FixedAsset.viewCurativeMaintenance(), JsonRequestBehavior.AllowGet)); }
public JsonResult ViewGroup() { WipRepository Area = new WipRepository(); return(Json(Area.ViewGroup(), JsonRequestBehavior.AllowGet)); }