コード例 #1
0
        public ActionResult PrintHtmlInovice(int?POId)
        {
            PDService service = new PDService();
            PO        Model   = new PO();

            Model         = service.GetPO(POId);
            Model.POIList = service.GetPOItemList(POId);
            return(View("PO", Model));
        }
コード例 #2
0
        public ActionResult ReviewPO(int?POId)
        {
            PDService service = new PDService();
            PO        user    = new PO();

            //ViewBag.Divisions = new SelectList(AllDivisions(), "Value", "Text");

            user         = service.GetPO(POId);
            user.POIList = service.GetPOItemList(POId);
            return(View("ReviewPurchaseOrder", user));
        }
コード例 #3
0
        public ActionResult AddEditPO(int?POId)
        {
            PDService service = new PDService();
            PO        user    = new PO();

            user = service.GetPO(POId);
            if (user == null)
            {
                user = new PO();
            }
            ViewBag.Suppliers = new SelectList(AllSuppliers(), "Value", "Text");
            return(View("AddEditPurchaseOrder", user));
        }