示例#1
0
        public JsonResult SearchPurchase(LP_PurchaseReturnVM_Property objsale)
        {
            int salesIdx = int.Parse(objsale.PurhaseInvoiceNumber.ToString());

            var Data = JsonConvert.SerializeObject(GetAllSalesDetailsByIdx(salesIdx));

            return(Json(new { data = Data }, JsonRequestBehavior.AllowGet));
        }
示例#2
0
        public ActionResult PurchaseReturn()
        {
            LP_PurchaseReturnVM_Property obj = new LP_PurchaseReturnVM_Property();
            LP_PInvoice_BLL objPIBLL         = new LP_PInvoice_BLL();

            obj.VendorLST   = Helper.ConvertDataTable <Vendors_Property>(GetAllVendors());
            obj.PurchaseLST = Helper.ConvertDataTable <LP_P_Invoice_Property>(objPIBLL.SelectAll());
            return(View(obj));
        }