// GET: PurchaseOrder public ActionResult Index() { ViewBag.Vendor = vendorManager.GetAll(); ViewBag.Product = productManager.GetAll(); var model = new PurchaseOrder(); return(View()); }
// GET: PurchaseOrderModel public ActionResult Index() { ViewBag.Vendor = vendorManager.GetAll(); ViewBag.Product = productManager.GetAll(); ViewBag.PurchaseDetail = PurchaseOrderDetail2; return(View()); }
// GET: /AssetPurchaseHeader/Create public ActionResult Create() { var organizationBranches = _organizationBranchManager.GetAll(); ViewBag.OrganizationBranchID = new SelectList(organizationBranches, "OrganizationBranchID", "OrganizationBranchName"); var vendor = _vendorManager.GetAll(); ViewBag.VendorID = new SelectList(vendor, "VendorID", "VendorName"); return(View()); }
private void PopulateVendorsAndCategories() { uxAstVen.DataSource = VendorManager.GetAll(); uxAstVen.DisplayMember = "Name"; uxAstVen.ValueMember = "Id"; uxAstCat.DataSource = AssetCategoryManager.GetAll(); uxAstCat.DisplayMember = "Name"; uxAstCat.ValueMember = "Id"; }
public AllVendorsViewModel GetAll() { var models = vendorManager.GetAll(); return(new AllVendorsViewModel { Vendors = models }); }
// *************** Finance **************************** public ActionResult NewFinance(int id) { var financeVm = new FinanceViewModel() { Vendor = _vendorManager.GetAll(), AssetEntryId = id }; return(PartialView("PartialViews/AssetEntrys/_FinancePartialPage", financeVm)); }
// GET: /AssetPurchase/Create public ActionResult Create() { var generalCategoryList = _generalCategoryManager.GetAll(); ViewBag.generalCategoryID = new SelectList(generalCategoryList, "GeneralCategoryID", "GeneralCategoryName"); var categoryList = _categoryManager.GetAll(); ViewBag.CategoryID = new SelectList(categoryList, "CategoryID", "CategoryName"); var subCategoryList = _subCategoryManager.GetAll(); ViewBag.SubCategoryID = new SelectList(subCategoryList, "SubCategoryID", "SubCategoryName"); var organizationBranchesList = _organizationBranchManager.GetAll(); ViewBag.OrganizationBranchID = new SelectList(organizationBranchesList, "OrganizationBranchID", "OrganizationBranchName"); var vendorList = _vendorManager.GetAll(); ViewBag.VendorID = new SelectList(vendorList, "VendorID", "VendorName"); return(View()); }
// GET: Vendors public ActionResult Index() { var vendors = _vendorManager.GetAll(); return(View(vendors)); }
public List <Vendor> GetAll() { return(_manager.GetAll()); }
private void PopulateVendors() { uxVendors.DataSource = VendorManager.GetAll(); uxVendors.Columns[0].Visible = false; uxVendors.Columns[3].Visible = false; }
public JsonResult GetAllVendor() { var vendors = _vendorManager.GetAll(); return(Json(vendors, JsonRequestBehavior.AllowGet)); }
public List <Vendors> GetAll() { return(vendorManager.GetAll().ToList()); }