public ActionResult ShipmenWisetReport(string BatchIds) { if (!string.IsNullOrEmpty(BatchIds)) { List <int> Batchids = BatchIds.Split(',').Select(k => int.Parse(k)).ToList(); Dictionary <string, ShipmentWiseReportVM> DeliveredTansData = new Dictionary <string, ShipmentWiseReportVM>(); ViewBag.GroupedData = ShipmentReport.BatchReport(Batchids, ref DeliveredTansData); ViewBag.DeliveredData = DeliveredTansData; var chemicalTypes = Enum.GetValues(typeof(TanState)) .Cast <TanState>() .Where(v => v != TanState.QC_Rejected && v != TanState.Review_Rejected) .Select(v => v) .ToList(); ViewBag.TanStates = chemicalTypes; ViewBag.ReadyToDeliever = new List <TanState> { TanState.QC_Accepted, TanState.QC_Assigned, TanState.QC_InProgress, TanState.QC_ReAssigned, TanState.Review_Accepted }; } return(PartialView("~/Views/Report/_shipmentWiseReport.cshtml")); }
public DataTable GetDebitCostReportDateby(ShipmentReport rprt) { // ShipmentReport rprt = new ShipmentReport(CommonData.ConStr()); return(rprt.LoadDebitCostReportDateBy()); }
public DataTable GetDebitCostReport() { ShipmentReport rprt = new ShipmentReport(CommonData.ConStr()); return(rprt.LoadDebitCostReport()); }