public static string LockApprovedRequest(string requestId, int status, string paidAmount, string exceptionMessage) { SpManager spManager = new SpManager(); string approveUser = HttpContext.Current.Session["USER_ID"].ToString(); Dictionary <string, object> inputParam = new Dictionary <string, object>(); inputParam = ClaimSpRequest(requestId, status, approveUser, paidAmount, exceptionMessage); DataTable dt = spManager.ClaimSpRequest(inputParam); return(DatatableToJson(dt)); }
public static string EditRequestByBranch(string requestId, string branchId, string mobileNo, string customerAccNo, string faceValue, string startCupon, string endCupon, string prequest_status_id) { SpManager spManager = new SpManager(); string makeBy = HttpContext.Current.Session["USER_ID"].ToString(); Dictionary <string, object> claimParam = new Dictionary <string, object>(); claimParam.Add("pbranch_id", branchId); claimParam.Add("prequest_id", requestId); claimParam.Add("pregistration_No", string.Empty); //claimParam.Add("psanchay_Patra_No", string.Empty); claimParam.Add("pwalk_In_Customer", string.Empty); claimParam.Add("pcustomer_Acc_No", customerAccNo); claimParam.Add("pcustomer_Name", string.Empty); claimParam.Add("pcustomer_Mobile_No", mobileNo); claimParam.Add("pinvestment_Date", string.Empty); claimParam.Add("ptotal_Investment", string.Empty); //claimParam.Add("pface_Value", faceValue); claimParam.Add("pstart_Coupon_No", startCupon); claimParam.Add("pend_Coupon_No", endCupon); claimParam.Add("ppaid_Amount", string.Empty); claimParam.Add("prequest_status_id", prequest_status_id); claimParam.Add("pauthorize_status", string.Empty); claimParam.Add("pmake_By", makeBy); claimParam.Add("pmake_Date", string.Empty); claimParam.Add("pauthorize_By", makeBy); claimParam.Add("pauthorize_Date", string.Empty); claimParam.Add("papproved_by", string.Empty); claimParam.Add("papproved_dt", string.Empty); claimParam.Add("premarks", string.Empty); DataTable dt = spManager.ClaimSpRequest(claimParam); return(DatatableToJson(dt)); }