// Added by Bharat on 12/May/2017
        public JsonResult GetPayAmt(string fields)
        {
            string retJSON = "";

            if (Session["ctx"] != null)
            {
                VAdvantage.Utility.Ctx ctx        = Session["ctx"] as Ctx;
                MPaymentModel          objPayment = new MPaymentModel();
                retJSON = JsonConvert.SerializeObject(objPayment.GetPayAmt(ctx, fields));
            }
            return(Json(retJSON, JsonRequestBehavior.AllowGet));
        }