Beispiel #1
0
 //@Shutong
 public ActionResult PurchaseOrderList()
 {
     ViewData["Incomplete"] = _purchaseOrderDAO.FindIncompletePO();
     ViewData["Pending"]    = _purchaseOrderDAO.FindPendingPO();
     ViewData["Rejected"]   = _purchaseOrderDAO.FindRejectedPO();
     ViewData["Approved"]   = _purchaseOrderDAO.FindApprovedPO();
     ViewData["Delivered"]  = _purchaseOrderDAO.FindDeliveredPO();
     ViewData["Cancelled"]  = _purchaseOrderDAO.FindCancelledPO();
     ViewData["LowStock"]   = _itemDAO.FindLowStockItems();
     return(View());
 }