public ActionResult GetFinishIssueToList(string IssueFor)
        {
            switch (IssueFor)
            {
            case "Buyer QC":
            {
                var ddlFinishOwnQCStoreList = objDalSysStore.GetAllActiveFinishBuyerQCStore();
                return(Json(ddlFinishOwnQCStoreList, JsonRequestBehavior.AllowGet));
            }

            case "Finish":
            {
                var ddlFinishBuyerQCStoreList = objDalSysStore.GetAllActiveStoreTransferReceiveStore();
                return(Json(ddlFinishBuyerQCStoreList, JsonRequestBehavior.AllowGet));
            }

            case "Packing":
            {
                var ddlFinishBuyerQCStoreList = objDalSysStore.GetAllActivePackingStores();
                return(Json(ddlFinishBuyerQCStoreList, JsonRequestBehavior.AllowGet));
            }

            default:
                return(null);
            }
        }
예제 #2
0
        public ActionResult FinishLeatherBuyerQC()
        {
            ViewBag.formTiltle          = "Finish Leather Buyer QC";
            ViewBag.ddlBuyerQCStoreList = objDalSysStore.GetAllActiveFinishBuyerQCStore();
            ViewBag.ddlPackingStoreList = objDalSysStore.GetAllActivePackingStores();
            ViewBag.ddlFinishStoreList  = objDalSysStore.GetAllActiveStoreTransferReceiveStore();

            return(View());
        }