diff --git a/Swift.web/Library/GetStatic.cs b/Swift.web/Library/GetStatic.cs index e5f69aa..d63654f 100644 --- a/Swift.web/Library/GetStatic.cs +++ b/Swift.web/Library/GetStatic.cs @@ -2666,7 +2666,6 @@ namespace Swift.web.Library { return MimeTypes.MimeTypeMap.GetExtension(contentType); } - public static string GetCSVFileInXML(string path, string[] defaultHeaders, bool hasHeader = true) { var columnList = new ArrayList(); diff --git a/Swift.web/MobileRemit/Admin/Reports/CustomerRegistrationStatus.aspx.cs b/Swift.web/MobileRemit/Admin/Reports/CustomerRegistrationStatus.aspx.cs index 1d3ab70..12a9d2c 100644 --- a/Swift.web/MobileRemit/Admin/Reports/CustomerRegistrationStatus.aspx.cs +++ b/Swift.web/MobileRemit/Admin/Reports/CustomerRegistrationStatus.aspx.cs @@ -130,11 +130,13 @@ namespace Swift.web.MobileRemit.Admin.Reports else if (customerDetails.Rows[0]["customerSource"].ToString() == "temp") { btnReset.Enabled = false; + btnMove.Enabled = true; } else { //btnUpdate.Enabled = true; btnReset.Enabled = true; + btnMove.Enabled = false; } } @@ -285,7 +287,7 @@ namespace Swift.web.MobileRemit.Admin.Reports } else { - GetStatic.AlertMessage(this.Page, "Customer KYC has been successfully cleared."); + GetStatic.AlertMessage(this.Page, "Customer has been successfully verified."); } } } diff --git a/Swift.web/Remit/Transaction/VerifyMobileTransaction/VerifyDebitCardTxn.aspx b/Swift.web/Remit/Transaction/VerifyMobileTransaction/VerifyDebitCardTxn.aspx new file mode 100644 index 0000000..b8278f7 --- /dev/null +++ b/Swift.web/Remit/Transaction/VerifyMobileTransaction/VerifyDebitCardTxn.aspx @@ -0,0 +1,638 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="VerifyDebitCardTxn.aspx.cs" Inherits="Swift.web.Remit.Transaction.VerifyMobileTransaction.VerifyDebitCardTxn" %> + +<%@ Register TagPrefix="uc1" TagName="SwiftTextBox" Src="~/Component/AutoComplete/SwiftTextBox.ascx" %> + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + +
+
+
+
+
+ +
+

+ +

+
+ + +
+
+
+
+
+ +
+
+
+
+
+ + + +
+
+ + + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ +
+
+
+ +
+ +
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+ + + \ No newline at end of file diff --git a/Swift.web/Remit/Transaction/VerifyMobileTransaction/VerifyDebitCardTxn.aspx.cs b/Swift.web/Remit/Transaction/VerifyMobileTransaction/VerifyDebitCardTxn.aspx.cs new file mode 100644 index 0000000..eefeb56 --- /dev/null +++ b/Swift.web/Remit/Transaction/VerifyMobileTransaction/VerifyDebitCardTxn.aspx.cs @@ -0,0 +1,572 @@ +using Newtonsoft.Json; +using Swift.API.Common; +using Swift.API.Common.Enum; +using Swift.API.TPAPIs; +using Swift.DAL.BL.Remit.Transaction; +using Swift.DAL.Remittance.CustomerDeposits; +using Swift.DAL.SwiftDAL; +using Swift.web.Library; +using System; +using System.Collections.Generic; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace Swift.web.Remit.Transaction.VerifyMobileTransaction +{ + public partial class VerifyDebitCardTxn : System.Web.UI.Page + { + private const string ViewFunctionId = "30470000"; + private const string VerifyFunctionId = "30470010"; + private const string MapDepositFunctionId = "30470020"; + private const string RejectFuntionId = "30470030"; + private readonly StaticDataDdl _sdd = new StaticDataDdl(); + private ApproveTransactionDao at = new ApproveTransactionDao(); + private readonly CustomerDepositDao _dao = new CustomerDepositDao(); + protected void Page_Load(object sender, EventArgs e) + { + Authenticate(); + if (!IsPostBack) + { + LoadDdl(); + LoadSendingAgent(); + LoadApproveGrid(""); + MakeNumericTextBox(); + if (!string.IsNullOrEmpty(GetCountry())) + LoadApproveGrid(GetCountry()); + LoadHoldSummary(); + string reqMethod = Request.Form["MethodName"]; + switch (reqMethod) + { + case "getListData": + PopulateData(); + break; + case "MapData": + ProceedMapData(); + break; + case "UnMapData": + UnMapData(); + break; + case "CollectCash": + CollectCash(); + break; + case "Verify": + Verify(); + break; + case "BankDeposit": + BankDeposit(); + break; + case "getReferral": + GetReferral(); + break; + } + } + GetStatic.ResizeFrame(Page); + } + + private void BankDeposit() + { + var id = Request.Form["tranId"]; + DbResult _res = new DbResult(); + if (!string.IsNullOrEmpty(id)) + { + _res = _dao.UpdateAsBank(GetStatic.GetUser(), id); + } + else + { + GetStatic.AlertMessage(this, "Please choose at least on record!"); + } + Response.ContentType = "text/plain"; + Response.Write(JsonConvert.SerializeObject(_res)); + Response.End(); + } + + private string GetCountry() + { + return GetStatic.ReadQueryString("country", ""); + } + private void GetReferral() + { + _sdd.SetDDL(ref collectedByDDl, "EXEC proc_dropDownLists @flag = 'referral'", "REFERRAL_CODE", "REFERRAL_NAME", "", "--Select--"); + } + private void LoadDdl() + { + _sdd.SetDDL(ref country, "EXEC proc_dropDownLists @flag = 'a-countrySend'", "countryId", "countryName", "", ""); + + var sql = "EXEC proc_dropDownLists @flag = 'a-countryPay'"; + _sdd.SetDDL(ref rCountry, sql, "countryName", "countryName", "", "Select"); + _sdd.SetDDL(ref collectedByDDl, "EXEC proc_dropDownLists @flag = 'referralnew'", "REFERRAL_CODE", "REFERRAL_NAME", "", "--Select--"); + } + + private void MakeNumericTextBox() + { + Misc.MakeNumericTextbox(ref amt); + } + + protected void LoadApproveGrid(string sCountry = "") + { + + bool allowVeirfy = _sdd.HasRight(VerifyFunctionId); + bool allowMultiple = false/* _sdd.HasRight(ApproveMultipleFunctionId)*/; + bool allowReject = _sdd.HasRight(RejectFuntionId); + + if (sCountry != "") + { + country.SelectedItem.Text = sCountry; + // LoadSendingAgent(); + } + + if (country.SelectedItem.Text == "" || country.SelectedItem.Text == "Select") + { + country.SelectedItem.Text = "UNITED KINGDOM"; + } + var ds = at.GetHoldedTXNListAdminMobile(GetStatic.GetUser(), branch.Text, tranNo.Text, rCountry.Text, sender.Text, receiver.Text + , amt.Text, GetStatic.GetBranch(), GetStatic.GetUserType() + , "s-unverified-card-txn", txnDate.Text, user.Text, ControlNo.Text, "I", country.SelectedItem.Text, agent.Text, branch.Text, txtEmail.Text); + + var dt = ds.Tables[0]; + var sb = new StringBuilder(); + var sbHead = new StringBuilder(); + var colspanCount = 0; + int cols = dt.Columns.Count; + int cnt = 0; + sbHead.Append(""); + if (dt.Rows.Count > 0) + { + sb.Append(""); + + sb.Append(""); + sb.Append(""); + sb.Append(""); + sb.Append(""); + sb.Append(""); + sb.Append(""); + sb.Append(""); + sb.Append(""); + sb.Append(""); + sb.Append(""); + sb.Append(""); + + sb.Append(""); + sb.Append(""); + sb.Append(""); + //sb.Append(""); + + if (allowVeirfy) + { + colspanCount++; + sb.Append(""); + sb.Append(""); + } + if (allowVeirfy) + { + colspanCount++; + sb.Append(""); + } + sb.Append(""); + + foreach (DataRow dr in dt.Rows) + { + cnt = cnt + 1; + sb.AppendLine(cnt % 2 == 1 + ? "" + : ""); + if (allowMultiple) + sb.Append(""); + + sb.Append(""); + sb.Append(""); + sb.Append(""); + sb.Append(""); + sb.Append(""); + sb.Append(""); + sb.Append(""); + sb.Append(""); + sb.Append(""); + sb.Append(""); + sb.Append(""); + sb.Append(""); + //sb.Append(""); + + if (allowVeirfy) + sb.Append(""); + + //if (allowVeirfy && dr["collMode"].ToString() == "Bank Deposit") + // sb.Append(""); + //else + // sb.Append(""); + + //if (allowModify) + // sb.Append(""); + if (allowVeirfy || allowReject) + { + sb.Append(""); + } + sb.Append(""); + } + + } + + sbHead.Append(""); + sbHead.Append(""); + sbHead.Append(sb.ToString()); + sbHead.Append("
TranId Control No.Txn ChannelSenderMembershipIdCountrySender MobileReceiverEmailPayout AmountColl AmtPayment MethodTran DatePayment OptionMapped Detail
" + dr["id"].ToString() + "" + dr["controlno"].ToString() + "" + dr["tranType"].ToString() + "" + dr["sender"].ToString() + "" + dr["MembershipId"].ToString() + "" + dr["country"].ToString() + "" + dr["sMobile"].ToString() + "" + dr["receiver"].ToString() + "" + dr["email"].ToString() + ""); + sb.Append(GetStatic.FormatData(dr["pAmt"].ToString(), "M")); + sb.Append(""); + sb.Append(GetStatic.FormatData(dr["amt"].ToString(), "M")); + + sb.Append("" + dr["CollMode"].ToString() + "" + GetStatic.FormatData(dr["txnDate"].ToString(), "D") + "" + dr["depositType"].ToString() + "" + dr["mappedDetail"].ToString() + "View DetailsView MappingView MappingModify Transaction"); + //var tb = Misc.MakeNumericTextbox("amt_" + dr["id"].ToString(), "amt_" + dr["id"].ToString(), "", "style='width:60px ! important'", "CheckAmount(" + dr["id"].ToString() + ", " + dr["amt"].ToString() + ");"); + //sb.Append(tb); + + if (allowVeirfy) + sb.Append(" "); + if (allowReject) + sb.Append(" "); + + sb.Append("
"); + sbHead.Append("" + dt.Rows.Count.ToString() + " Transaction(s) found : Approve Transaction List
"); + rptGrid.InnerHtml = sbHead.ToString(); + approveList.Visible = true; + + selfTxn.Visible = false; + GetStatic.ResizeFrame(Page); + } + + private void Authenticate() + { + _sdd.CheckAuthentication(ViewFunctionId); + } + + protected void btnSearch_Click(object sender, EventArgs e) + { + LoadApproveGrid(""); + } + + private DbResult ApproveAllTxn() + { + var idList = GetStatic.ReadFormData("rowId", ""); + + if (string.IsNullOrWhiteSpace(idList)) + { + var dr = new DbResult(); + dr.SetError("1", "Please select one or more transaction approve", ""); + return dr; + } + return at.ApproveAllHoldedTXN(GetStatic.GetUser(), idList); + } + + private void ApproveTxn() + { + ApproveTxnMain(); + } + + protected void ApproveTxnMain() + { + DbResult dbResult = at.ApproveHoldedTXN(GetStatic.GetUser(), hddTranNo.Value); + if (dbResult.ErrorCode == "0") + { + LoadApproveGrid(""); + LoadHoldSummary(); + GetStatic.PrintMessage(Page, dbResult); + return; + } + else if (dbResult.ErrorCode == "11") + { + string url = "../NewReceiptIRH.aspx?printType=&controlNo=" + dbResult.Id; + Response.Redirect(url); + } + else + { + GetStatic.PrintMessage(Page, dbResult); + return; + } + } + + protected void btnReject_Click(object sender, EventArgs e) + { + RejectTxn(); + } + + private void RejectTxn() + { + var dr = at.RejectHoldedTXN(GetStatic.GetUser(), hddTranNo.Value); + GetStatic.PrintMessage(Page, dr); + if (dr.ErrorCode.Equals("0")) + { + LoadApproveGrid(""); + LoadHoldSummary(); + } + } + + private void LoadHoldSummary() + { + var ds = at.GetHoldAdminTransactionSummary(GetStatic.GetUser(), GetStatic.GetBranch(), GetStatic.GetUserType()); + if (ds == null || ds.Tables.Count == 0) + return; + var dt = ds.Tables[0]; + var sbHead = new StringBuilder(); + int count = 0; + if (dt.Rows.Count > 0) + { + sbHead.Append(""); + sbHead.Append(""); + sbHead.Append(""); + sbHead.Append(""); + + sbHead.Append(""); + sbHead.Append(""); + sbHead.Append(""); + sbHead.Append(""); + sbHead.Append(""); + + foreach (DataRow dr in dt.Rows) + { + sbHead.Append(""); + sbHead.Append(""); + sbHead.Append(""); + sbHead.Append(""); + sbHead.Append(""); + count = count + int.Parse(dr["txnCount"].ToString()); + } + sbHead.Append(""); + sbHead.Append(""); + sbHead.Append(""); + sbHead.Append("
HOLD Transaction Summary
S.N.Sending CountryCount
" + dr["sn"] + "" + dr["country"] + "" + dr["txnCount"] + "
Total" + count.ToString() + "
"); + txnSummary.InnerHtml = sbHead.ToString(); + } + } + + protected void country_SelectedIndexChanged(object sender, EventArgs e) + { + LoadSendingAgent(); + } + + private void LoadSendingAgent() + { + if (!string.IsNullOrEmpty(country.Text)) + _sdd.SetDDL(ref agent, "EXEC proc_dropDownLists2 @flag = 'agentSend',@param=" + _sdd.FilterString(country.Text) + "", "agentId", "agentName", "", "All"); + } + + protected void agent_SelectedIndexChanged(object sender, EventArgs e) + { + if (!string.IsNullOrEmpty(agent.Text)) + { + var sql = "EXEC proc_dropDownLists @flag = 'branch', @agentId=" + _sdd.FilterString(agent.Text) + " , @user=" + _sdd.FilterString(GetStatic.GetUser()); + _sdd.SetDDL(ref branch, sql, "agentId", "agentName", "", "All"); + } + else + { + branch.Items.Clear(); + } + } + + private void PopulateData() + { + try + { + string trnDate = Request.Form["tranDate"]; + string particulars = Request.Form["particulars"]; + string customerId = Request.Form["customerId"]; + string amount = Request.Form["amount"]; + DataSet dt = _dao.GetDataForSendMapping(GetStatic.GetUser(), trnDate, particulars, customerId, amount); + StringBuilder sb = new StringBuilder(); + StringBuilder sb1 = new StringBuilder(); + + if (null == dt) + { + Response.ContentType = "application/text"; + Response.Write("No Data To Display[[<<>>]]No Data To Display"); + HttpContext.Current.Response.Flush(); + HttpContext.Current.Response.SuppressContent = true; + HttpContext.Current.ApplicationInstance.CompleteRequest(); + return; + } + + if (dt.Tables[0].Rows.Count == 0) + { + sb.AppendLine("No Data To Display"); + } + if (dt.Tables[1].Rows.Count == 0) + { + sb1.AppendLine("No Data To Display"); + } + + int sNo = 1; + int sNo1 = 1; + + foreach (DataRow item in dt.Tables[0].Rows) + { + sb.AppendLine(""); + sb.AppendLine(""); + sb.AppendLine("" + item["particulars"].ToString() + ""); + sb.AppendLine("" + item["tranDate"].ToString() + ""); + sb.AppendLine("" + GetStatic.ShowDecimal(item["depositAmount"].ToString()) + ""); + sb.AppendLine("" + GetStatic.ShowDecimal(item["paymentAmount"].ToString()) + ""); + sb.AppendLine(""); + sb.AppendLine(""); + sNo++; + } + + foreach (DataRow item in dt.Tables[1].Rows) + { + sb1.AppendLine(""); + sb1.AppendLine(""); + sb1.AppendLine("" + item["particulars"].ToString() + ""); + sb1.AppendLine("" + item["tranDate"].ToString() + ""); + sb1.AppendLine("" + GetStatic.ShowDecimal(item["depositAmount"].ToString()) + ""); + sb1.AppendLine("" + GetStatic.ShowDecimal(item["paymentAmount"].ToString()) + ""); + sb1.AppendLine(""); + sb1.AppendLine(""); + sNo1++; + } + string data = sb + "[[<<>>]]" + sb1; + Response.ContentType = "application/text"; + Response.Write(data); + HttpContext.Current.Response.Flush(); // Sends all currently buffered output to the client. + HttpContext.Current.Response.SuppressContent = true; // Gets or sets a value indicating whether to send HTTP content to the client. + HttpContext.Current.ApplicationInstance.CompleteRequest(); // Causes ASP.NET to bypass all events and filtering in the HTTP pipeline chain of execution and directly execute the EndRequest event. + + } + catch (ThreadAbortException ex) + { + string msg = ex.Message; + } + + } + + protected void ProceedMapData() + { + var Ids = Request.Form["tranIds[]"]; + var customerId = Request.Form["customerId"]; + DbResult _res = new DbResult(); + if (!string.IsNullOrEmpty(Ids)) + { + _res = _dao.SaveMultipleCustomerDeposit(GetStatic.GetUser(), Ids, customerId); + } + else + { + GetStatic.AlertMessage(this, "Please choose at least on record!"); + } + Response.ContentType = "text/plain"; + Response.Write(JsonConvert.SerializeObject(_res)); + Response.End(); + + } + + protected void UnMapData() + { + var Ids = Request.Form["tranIds[]"]; + var customerId = Request.Form["customerId"]; + DbResult _res = new DbResult(); + if (!string.IsNullOrEmpty(Ids)) + { + _res = _dao.UnMapCustomerDeposit(GetStatic.GetUser(), Ids, customerId); + } + else + { + GetStatic.AlertMessage(this, "Please choose at least on record!"); + } + Response.ContentType = "text/plain"; + Response.Write(JsonConvert.SerializeObject(_res)); + Response.End(); + + } + protected void CollectCash() + { + var cAmt = Request.Form["collectedAmount"]; + var collBy = Request.Form["collectedBy"]; + var collByName = Request.Form["collectedByName"]; + var tranId = Request.Form["tranId"]; + var flag = Request.Form["flag"]; + DbResult _res = new DbResult(); + if (!string.IsNullOrEmpty(tranId)) + { + _res = _dao.SaveCashCollect(GetStatic.GetUser(), cAmt, collBy, tranId, flag, collByName); + } + else + { + GetStatic.AlertMessage(this, "Please choose at least on record!"); + } + Response.ContentType = "text/plain"; + Response.Write(JsonConvert.SerializeObject(_res)); + Response.End(); + + } + + protected void loadGrid_Click(object sender, EventArgs e) + { + LoadApproveGrid(""); + } + private void Verify() + { + var tranId = Request.Form["tranId"]; + var controlNo = Request.Form["controlNo"]; + var paynentOption = Request.Form["DepositType"]; + DbResult _res = new DbResult(); + if (!string.IsNullOrEmpty(tranId)) + { + _res = _dao.VerifyCashCollect(GetStatic.GetUser(), tranId); + if (_res.ErrorCode.Equals("0") && paynentOption.Equals("ONLINE")) + { + try + { + TxnDetails cd = _dao.GetTxnDetails(tranId); + + List bodyMappings = new List(); + bodyMappings.Add(new Mapping() { SValue = "CustomerName", SText = cd.senderName }); + bodyMappings.Add(new Mapping() { SValue = "Reference", SText = controlNo }); + bodyMappings.Add(new Mapping() { SValue = "PayoutCountry", SText = cd.PayoutCountry }); + bodyMappings.Add(new Mapping() { SValue = "BeneName", SText = cd.BeneficiaryName }); + bodyMappings.Add(new Mapping() { SValue = "TransferType", SText = cd.TransferType }); + bodyMappings.Add(new Mapping() { SValue = "BankName", SText = cd.BankName }); + bodyMappings.Add(new Mapping() { SValue = "BankBranch", SText = cd.BankBranch }); + bodyMappings.Add(new Mapping() { SValue = "AccNum", SText = cd.AccountNo }); + bodyMappings.Add(new Mapping() { SValue = "PayoutAmt", SText = cd.PayoutAmount }); + bodyMappings.Add(new Mapping() { SValue = "TransferAmt", SText = cd.TransferAmount }); + bodyMappings.Add(new Mapping() { SValue = "Fee", SText = cd.serviceCharge }); + bodyMappings.Add(new Mapping() { SValue = "ExRate", SText = cd.ExRate }); + bodyMappings.Add(new Mapping() { SValue = "Discount", SText = cd.rewardPoints }); + bodyMappings.Add(new Mapping() { SValue = "TotalAmt", SText = cd.TotalAmount }); + bodyMappings.Add(new Mapping() { SValue = "TxnDate", SText = cd.TranDate }); + SendNotificationRequestMobile request = new SendNotificationRequestMobile() + { + IsBulkNotification = false, + UserName = cd.email, + ProcessId = "Transaction_Verification", + ProviderId = NotifyTemplate.BANK_TRANSFER_TXN_CLEARED.ToString(), + NotificationTypeId = NOTIFICATION_TYPE.EMAIL.ToString(), + Template = NotifyTemplate.BANK_TRANSFER_TXN_CLEARED, + Recipients = new List() + { + new RecipientViewModel() + { + NotificationContent = new NotificationDTO() { + Body = JsonConvert.SerializeObject(bodyMappings), + }, Address= cd.email + } + } + }; + + NotifierV2.SendNotification(request, NOTIFICATION_TYPE.EMAIL); + } + catch (Exception ex) + { + GetStatic.AlertMessage(this, $"Technical Error: { GetStatic.LogError(ex).Id}"); + } + } + } + else + { + GetStatic.AlertMessage(this, "Please choose at least on record!"); + } + Response.ContentType = "text/plain"; + Response.Write(JsonConvert.SerializeObject(_res)); + Response.End(); + } + } +} \ No newline at end of file diff --git a/Swift.web/Remit/Transaction/VerifyMobileTransaction/VerifyDebitCardTxn.aspx.designer.cs b/Swift.web/Remit/Transaction/VerifyMobileTransaction/VerifyDebitCardTxn.aspx.designer.cs new file mode 100644 index 0000000..05c59c7 --- /dev/null +++ b/Swift.web/Remit/Transaction/VerifyMobileTransaction/VerifyDebitCardTxn.aspx.designer.cs @@ -0,0 +1,350 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Swift.web.Remit.Transaction.VerifyMobileTransaction +{ + + + public partial class VerifyDebitCardTxn + { + + /// + /// Head1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + + /// + /// Base2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl Base2; + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// ScriptManager1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.ScriptManager ScriptManager1; + + /// + /// country control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList country; + + /// + /// agent control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList agent; + + /// + /// branch control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList branch; + + /// + /// tranNo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox tranNo; + + /// + /// ControlNo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox ControlNo; + + /// + /// rCountry control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList rCountry; + + /// + /// sender control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox sender; + + /// + /// receiver control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox receiver; + + /// + /// amt control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox amt; + + /// + /// txnDate control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txnDate; + + /// + /// txtEmail control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtEmail; + + /// + /// user control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::Swift.web.Component.AutoComplete.SwiftTextBox user; + + /// + /// btnSearch control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnSearch; + + /// + /// approveList control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl approveList; + + /// + /// rptGrid control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl rptGrid; + + /// + /// selfTxn control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl selfTxn; + + /// + /// btnReject control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnReject; + + /// + /// hddSavedReferral control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HiddenField hddSavedReferral; + + /// + /// hddSelectedRadio control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HiddenField hddSelectedRadio; + + /// + /// hddTranNo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HiddenField hddTranNo; + + /// + /// hdntabType control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HiddenField hdntabType; + + /// + /// hddCustomerId control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HiddenField hddCustomerId; + + /// + /// hddCashCollectId control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HiddenField hddCashCollectId; + + /// + /// loadGrid control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button loadGrid; + + /// + /// txnSummary control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl txnSummary; + + /// + /// tranDate control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox tranDate; + + /// + /// particulars control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox particulars; + + /// + /// amount control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox amount; + + /// + /// UnmappedDepositMapping control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl UnmappedDepositMapping; + + /// + /// btnConfirmSave control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnConfirmSave; + + /// + /// UnApprovedDepositMapping control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl UnApprovedDepositMapping; + + /// + /// collectedByDDl control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList collectedByDDl; + + /// + /// collectAmountByStaff control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox collectAmountByStaff; + } +} diff --git a/Swift.web/Swift.web.csproj b/Swift.web/Swift.web.csproj index f300bf9..ac6dbe6 100644 --- a/Swift.web/Swift.web.csproj +++ b/Swift.web/Swift.web.csproj @@ -1410,6 +1410,7 @@ + @@ -9726,10 +9727,14 @@ VerifyInwardTransaction.aspx + + VerifyDebitCardTxn.aspx ASPXCodeBehind VerifyInwardTransaction.aspx + + VerifyDebitCardTxn.aspx VerifyMobileTransaction.aspx diff --git a/Swift.web/SwiftSystem/UserManagement/AgentUserSetup/List.aspx.cs b/Swift.web/SwiftSystem/UserManagement/AgentUserSetup/List.aspx.cs index 7903caa..57f9b22 100644 --- a/Swift.web/SwiftSystem/UserManagement/AgentUserSetup/List.aspx.cs +++ b/Swift.web/SwiftSystem/UserManagement/AgentUserSetup/List.aspx.cs @@ -43,8 +43,8 @@ namespace Swift.web.SwiftSystem.UserManagement.AgentUserSetup if (methodName == "GetApiCredentials") GetApiCredentials(); - if (methodName == "GenerateCredentials") - GenerateCredentials(); + //if (methodName == "GenerateCredentials") + // GenerateCredentials(); if (GetMode() == 1) GetStatic.AlertMessage(Page); @@ -67,14 +67,14 @@ namespace Swift.web.SwiftSystem.UserManagement.AgentUserSetup GetStatic.JsonResponse(apiDetails, this.Page); } - private void GenerateCredentials() - { - string userId = Request.Form["UserId"]; - var apiCredentials = GetStatic.GetKeys(); - var apiDetails = _obj.GenerateCredentials(userId, GetStatic.GetUser(), apiCredentials); + //private void GenerateCredentials() + //{ + // string userId = Request.Form["UserId"]; + // var apiCredentials = GetStatic.GetKeys(); + // var apiDetails = _obj.GenerateCredentials(userId, GetStatic.GetUser(), apiCredentials); - GetStatic.JsonResponse(apiDetails, this.Page); - } + // GetStatic.JsonResponse(apiDetails, this.Page); + //} protected void LoadTab() {