Esempio n. 1
0
        public async Task <ActionResult> ListItems(decimal todayCode)
        {
            var mode = new ProduceModel()
            {
                //get product order confirmed
                RequestWareItems = _requestWareDa.GetSummary(todayCode),
                // get product_detail from order
                CategorysDetail = _storageWareHouseDa.GetSummaryDetailConfirmed(todayCode).ToList()
            };

            //get detail

            return(PartialView(mode));
        }
 public ActionResult GetSummaryDetailConfirmed(decimal today)
 {
     return(Json(_da.GetSummaryDetailConfirmed(today).ToList(), JsonRequestBehavior.AllowGet));
 }