/// <summary> /// Get Bank Account Currency /// </summary> /// <param name="fields">Parameters</param> /// <returns>Currency</returns> public JsonResult GetBankAcctCurrency(string fields) { Ctx ctx = Session["ctx"] as Ctx; MPaymentModel objCashBookModel = new MPaymentModel(); return(Json(JsonConvert.SerializeObject(objCashBookModel.GetBankAcctCurrency(fields)), JsonRequestBehavior.AllowGet)); }
// Added by Bharat on 18/May/2017 public JsonResult GetOrderData(string fields) { string retJSON = ""; if (Session["ctx"] != null) { VAdvantage.Utility.Ctx ctx = Session["ctx"] as Ctx; MPaymentModel objPayment = new MPaymentModel(); retJSON = JsonConvert.SerializeObject(objPayment.GetOrderData(ctx, fields)); } return(Json(retJSON, JsonRequestBehavior.AllowGet)); }