Browse Source
V7
V7
Feature #30199: Regarding Freezing Header in TXN Report Actions Feature #30239: Add ID Status ( Expire or Active ) in Cust Reg Report Actions Feature #30994: Add num of receiver filter in Customer Registration Report Actions Story #27925: Inbound Api for Ime London Actions Task #29651: Menu for Inward Remittancemaster
Shakun Shrestha
4 months ago
33 changed files with 2001 additions and 22 deletions
-
6Swift.DAL/Remittance/Transaction/ApiLogDao.cs
-
92Swift.DAL/Remittance/Transaction/ApproveInwardTransactionDao.cs
-
4Swift.DAL/Remittance/Transaction/TranAgentReportDao.cs
-
1Swift.DAL/Swift.DAL.csproj
-
14Swift.web/DashboardV2/Dashboard2.aspx
-
5Swift.web/MobileRemit/Admin/Operation/EditCustomerForApproval.aspx
-
18Swift.web/MobileRemit/Admin/PushNotification/ManageBroadCast.aspx
-
1Swift.web/Remit/Administration/CustomerRegistration/Manage.aspx.cs
-
1Swift.web/Remit/Administration/CustomerSetup/List.aspx.cs
-
117Swift.web/Remit/ThirdPartyTXN/InboundApiLog/InboundLog.aspx
-
47Swift.web/Remit/ThirdPartyTXN/InboundApiLog/InboundLog.aspx.cs
-
116Swift.web/Remit/ThirdPartyTXN/InboundApiLog/InboundLog.aspx.designer.cs
-
70Swift.web/Remit/ThirdPartyTXN/InboundApiLog/InboundLogList.aspx
-
80Swift.web/Remit/ThirdPartyTXN/InboundApiLog/InboundLogList.aspx.cs
-
35Swift.web/Remit/ThirdPartyTXN/InboundApiLog/InboundLogList.aspx.designer.cs
-
71Swift.web/Remit/ThirdPartyTXN/MobileApiLog/MobileApiLogList.aspx
-
81Swift.web/Remit/ThirdPartyTXN/MobileApiLog/MobileApiLogList.aspx.cs
-
35Swift.web/Remit/ThirdPartyTXN/MobileApiLog/MobileApiLogList.aspx.designer.cs
-
304Swift.web/Remit/Transaction/ApproveTxn/ApproveInwardRemitance.aspx
-
409Swift.web/Remit/Transaction/ApproveTxn/ApproveInwardRemitance.aspx.cs
-
260Swift.web/Remit/Transaction/ApproveTxn/ApproveInwardRemitance.aspx.designer.cs
-
2Swift.web/Remit/Transaction/PromotionalCampaign/Manage.aspx
-
28Swift.web/Remit/Transaction/Reports/TransactionNew/Mange.aspx
-
2Swift.web/Remit/Transaction/Reports/TransactionNew/Mange.aspx.cs
-
18Swift.web/Remit/Transaction/Reports/TransactionNew/Mange.aspx.designer.cs
-
15Swift.web/Remit/Transaction/Reports/TransactionNew/TranReport.aspx
-
9Swift.web/Remit/Transaction/Reports/TransactionNew/TranReport.aspx.cs
-
28Swift.web/Remit/UserControl/UcTransaction.ascx
-
5Swift.web/Remit/UserControl/UcTransaction.ascx.cs
-
63Swift.web/Remit/UserControl/UcTransaction.ascx.designer.cs
-
32Swift.web/Swift.web.csproj
-
51Swift.web/js/swift_calendar.js
-
3Swift.web/ui/css/style.css
@ -0,0 +1,92 @@ |
|||
using Swift.DAL.SwiftDAL; |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Data; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Swift.DAL.Remittance.Transaction |
|||
{ |
|||
public class ApproveInwardTransactionDao : RemittanceDao |
|||
{ |
|||
public DataSet GetHoldedTXNListAdmin(string user, string branch, string id, string country, string sender, string receiver |
|||
, string amt, string branchId, string userType, string flag, |
|||
string txnDate, string txnUser, string controlNo, string controlNo1, string txnType, string sendCountry, string sendAgent, string sendBranch) |
|||
{ |
|||
string sql = "EXEC proc_ApproveInwardHoldedTXN "; |
|||
sql += " @flag = " + FilterString(flag); |
|||
sql += ", @user = " + FilterString(user); |
|||
sql += ", @id = " + FilterString(id); |
|||
sql += ", @branch = " + FilterString(branch); |
|||
sql += ", @country = " + FilterString(country); |
|||
sql += ", @sender = " + FilterString(sender); |
|||
sql += ", @receiver = " + FilterString(receiver); |
|||
sql += ", @amt = " + FilterString(amt); |
|||
sql += ", @branchId = " + FilterString(branchId); |
|||
sql += ", @userType = " + FilterString(userType); |
|||
sql += ", @txnDate = " + FilterString(txnDate); |
|||
sql += ", @txncreatedBy = " + FilterString(txnUser); |
|||
sql += ", @ControlNo = " + FilterString(controlNo); |
|||
sql += ", @tpControlNo2 = " + FilterString(controlNo1); |
|||
sql += ", @txnType = " + FilterString(txnType); |
|||
sql += ", @sendCountry = " + FilterString(sendCountry); |
|||
sql += ", @sendAgent = " + FilterString(sendAgent); |
|||
sql += ", @sendBranch = " + FilterString(sendBranch); |
|||
return ExecuteDataset(sql); |
|||
} |
|||
|
|||
|
|||
public DbResult ApproveAllHoldedTXN(string user, string idList) |
|||
{ |
|||
var sb = new StringBuilder("<root>"); |
|||
var list = idList.Split(','); |
|||
foreach (var itm in list) |
|||
{ |
|||
sb.Append("<row id=\"" + itm.Trim() + "\" />"); |
|||
} |
|||
sb.Append("</root>"); |
|||
|
|||
var sql = "EXEC proc_ApproveInwardHoldedTXN @flag = 'approve-all'"; |
|||
sql += ", @user = " + FilterString(user); |
|||
sql += ", @idList = " + FilterString(sb.ToString()); |
|||
return ParseDbResult(sql); |
|||
} |
|||
|
|||
public DataSet GetHoldAdminTransactionSummary(string user, string branchId, string userType) |
|||
{ |
|||
string sql = "EXEC proc_ApproveInwardHoldedTXN "; |
|||
sql += " @flag = 's_admin_txn_summary'"; |
|||
sql += ", @user = " + FilterString(user); |
|||
sql += ", @branchId = " + FilterString(branchId); |
|||
sql += ", @userType = " + FilterString(userType); |
|||
return ExecuteDataset(sql); |
|||
} |
|||
public DbResult GetTxnApproveDataIMEPay(string user, string id) |
|||
{ |
|||
var sql = "EXEC proc_ApproveInwardHoldedTXN @flag = 'get-info-imepay'"; |
|||
sql += ", @user = " + FilterString(user); |
|||
sql += ", @id = " + FilterString(id); |
|||
var drDb = ParseDbResultNew(sql); |
|||
return drDb; |
|||
} |
|||
public DbResult ApproveHoldedTXN(string user, string id) |
|||
{ |
|||
var sql = "EXEC proc_ApproveInwardHoldedTXN @flag = 'approve'"; |
|||
sql += ", @user = " + FilterString(user); |
|||
sql += ", @id = " + FilterString(id); |
|||
var drDb = ParseDbResult(sql); |
|||
return drDb; |
|||
} |
|||
public DbResult RejectHoldedTXN(string user, string id, string controlNO = "", string remarks = "") |
|||
{ |
|||
var sql = "EXEC proc_ApproveInwardHoldedTXN @flag = 'reject'"; |
|||
sql += ", @user = " + FilterString(user); |
|||
sql += ", @id = " + FilterString(id); |
|||
sql += ", @remarks = " + FilterString(remarks); |
|||
sql += ", @ControlNo = " + FilterString(controlNO); |
|||
|
|||
return ParseDbResult(sql); |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,117 @@ |
|||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="InboundLog.aspx.cs" Inherits="Swift.web.Remit.ThirdPartyTXN.InboundApiLog.InboundLog" %> |
|||
|
|||
<!DOCTYPE html> |
|||
|
|||
<html xmlns="http://www.w3.org/1999/xhtml"> |
|||
<head runat="server"> |
|||
<title></title> |
|||
<link href="../../../ui/font-awesome/css/font-awesome.min.css" rel="stylesheet" /> |
|||
<link href="../../../ui/css/style.css" rel="stylesheet" /> |
|||
<link href="../../../ui/bootstrap/css/bootstrap.min.css" rel="stylesheet" /> |
|||
|
|||
|
|||
<style> |
|||
.table .table { |
|||
background-color: #F5F5F5 !important; |
|||
} |
|||
.borderless td, .borderless th { |
|||
border: none !important; |
|||
} |
|||
</style> |
|||
</head> |
|||
<body> |
|||
<form id="form1" runat="server"> |
|||
<div class="container-fluid"> |
|||
<div class="row"> |
|||
<div class="col-sm-12"> |
|||
<div class="page-title"> |
|||
<ol class="breadcrumb"> |
|||
<li><a href="../../../Front.aspx" target="mainFrame"><i class="fa fa-home"></i></a></li> |
|||
<li><a href="#" onclick="return LoadModule('other_services')">Other Services</a></li> |
|||
<li class="active"><a href="InboundLog.aspx">API Log</a></li> |
|||
</ol> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="row"> |
|||
<div class="col-md-12"> |
|||
<div class="panel panel-default "> |
|||
<div class="panel-heading"> |
|||
<h4 class="panel-title">API Transaction Log Details </h4> |
|||
<div class="panel-actions"> |
|||
<a href="#" class="panel-action panel-action-toggle" data-panel-toggle></a> |
|||
</div> |
|||
</div> |
|||
<div class="panel-body"> |
|||
<div class="form-group"> |
|||
<table class="table table-responsive borderless"> |
|||
<tr> |
|||
<td class="frmLable">Provider:</td> |
|||
<td> |
|||
<asp:Label runat="server" ID="provider" /></td> |
|||
<td class="frmLable">Method:</td> |
|||
<td> |
|||
<asp:Label runat="server" ID="Method" /></td> |
|||
</tr> |
|||
<tr> |
|||
<td class="frmLable">Control No:</td> |
|||
<td> |
|||
<asp:Label runat="server" ID="ControlNo" /></td> |
|||
<td class="frmLable">User:</td> |
|||
<td> |
|||
<asp:Label runat="server" ID="User" /></td> |
|||
</tr> |
|||
<tr> |
|||
<td class="frmLable">Request Date:</td> |
|||
<td> |
|||
<asp:Label runat="server" ID="RequestDate" /></td> |
|||
<td class="frmLable">Response Date:</td> |
|||
<td> |
|||
<asp:Label runat="server" ID="ResponseDate" /></td> |
|||
</tr> |
|||
<tr> |
|||
<td class="frmLable">Code:</td> |
|||
<td> |
|||
<asp:Label runat="server" ID="Code" /></td> |
|||
<td class="frmLable">Message:</td> |
|||
<td> |
|||
<asp:Label runat="server" ID="Message" /></td> |
|||
</tr> |
|||
<tr> |
|||
<td> </td> |
|||
</tr> |
|||
</table> |
|||
</div> |
|||
<div class="form-group"> |
|||
<table class="table-responsive"> |
|||
<tr> |
|||
<td colspan="4"><span class="frmLable">Request xml:</span><br /> |
|||
<asp:TextBox ID="reqXml" runat="server" TextMode="MultiLine" Rows="15" Columns="98" ReadOnly="true" CssClass="form-control"></asp:TextBox> |
|||
</td> |
|||
</tr> |
|||
<tr> |
|||
<td> </td> |
|||
</tr> |
|||
<tr> |
|||
<td colspan="4"><span class="frmLable">Response xml:</span><br /> |
|||
<asp:TextBox ID="resXml" runat="server" TextMode="MultiLine" Rows="15" Columns="98" ReadOnly="true" CssClass="form-control"></asp:TextBox> |
|||
</td> |
|||
</tr> |
|||
<tr> |
|||
<td> </td> |
|||
</tr> |
|||
<tr> |
|||
<td colspan="4"> |
|||
<input type="button" id="close" class="btn btn-primary m-t-25" value="Close" onclick="javascript: window.close();" /> |
|||
</td> |
|||
</tr> |
|||
</table> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</form> |
|||
</body> |
|||
</html> |
@ -0,0 +1,47 @@ |
|||
using Swift.DAL.Remittance.Transaction; |
|||
using Swift.web.Library; |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Web; |
|||
using System.Web.UI; |
|||
using System.Web.UI.WebControls; |
|||
|
|||
namespace Swift.web.Remit.ThirdPartyTXN.InboundApiLog |
|||
{ |
|||
public partial class InboundLog : System.Web.UI.Page |
|||
{ |
|||
private readonly ApiLogDao _apiLog = new ApiLogDao(); |
|||
private const string ViewFunctionId = "20172000"; |
|||
private readonly RemittanceLibrary _sl = new RemittanceLibrary(); |
|||
|
|||
protected void Page_Load(object sender, EventArgs e) |
|||
{ |
|||
_sl.CheckSession(); |
|||
Authenticate(); |
|||
LoadMessage(); |
|||
} |
|||
private void Authenticate() |
|||
{ |
|||
_sl.CheckAuthentication(ViewFunctionId); |
|||
} |
|||
private void LoadMessage() |
|||
{ |
|||
var id = GetStatic.ReadNumericDataFromQueryString("id").ToString(); |
|||
var res = _apiLog.GetInboundApiLogRecord(id); |
|||
if (res != null) |
|||
{ |
|||
provider.Text = res["providerName"].ToString(); |
|||
Method.Text = res["methodName"].ToString(); |
|||
ControlNo.Text = res["controlNo"].ToString(); |
|||
User.Text = res["requestedBy"].ToString(); |
|||
RequestDate.Text = res["requestedDate"].ToString(); |
|||
ResponseDate.Text = res["responseDate"].ToString(); |
|||
//Code.Text = res["errorCode"].ToString();
|
|||
//Message.Text = res["errorMessage"].ToString();
|
|||
reqXml.Text = res["requestXml"].ToString(); |
|||
resXml.Text = res["responseXml"].ToString(); |
|||
} |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,116 @@ |
|||
//------------------------------------------------------------------------------
|
|||
// <auto-generated>
|
|||
// This code was generated by a tool.
|
|||
//
|
|||
// Changes to this file may cause incorrect behavior and will be lost if
|
|||
// the code is regenerated.
|
|||
// </auto-generated>
|
|||
//------------------------------------------------------------------------------
|
|||
|
|||
namespace Swift.web.Remit.ThirdPartyTXN.InboundApiLog |
|||
{ |
|||
|
|||
|
|||
public partial class InboundLog |
|||
{ |
|||
|
|||
/// <summary>
|
|||
/// form1 control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.HtmlControls.HtmlForm form1; |
|||
|
|||
/// <summary>
|
|||
/// provider control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.WebControls.Label provider; |
|||
|
|||
/// <summary>
|
|||
/// Method control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.WebControls.Label Method; |
|||
|
|||
/// <summary>
|
|||
/// ControlNo control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.WebControls.Label ControlNo; |
|||
|
|||
/// <summary>
|
|||
/// User control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.WebControls.Label User; |
|||
|
|||
/// <summary>
|
|||
/// RequestDate control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.WebControls.Label RequestDate; |
|||
|
|||
/// <summary>
|
|||
/// ResponseDate control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.WebControls.Label ResponseDate; |
|||
|
|||
/// <summary>
|
|||
/// Code control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.WebControls.Label Code; |
|||
|
|||
/// <summary>
|
|||
/// Message control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.WebControls.Label Message; |
|||
|
|||
/// <summary>
|
|||
/// reqXml control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.WebControls.TextBox reqXml; |
|||
|
|||
/// <summary>
|
|||
/// resXml control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.WebControls.TextBox resXml; |
|||
} |
|||
} |
@ -0,0 +1,70 @@ |
|||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="InboundLogList.aspx.cs" Inherits="Swift.web.Remit.ThirdPartyTXN.InboundApiLog.InboundLogList" %> |
|||
|
|||
<!DOCTYPE html> |
|||
|
|||
<html xmlns="http://www.w3.org/1999/xhtml"> |
|||
<head runat="server"> |
|||
<title></title> |
|||
<link href="/ui/font-awesome/css/font-awesome.min.css" rel="stylesheet" /> |
|||
<link href="/ui/css/style.css" rel="stylesheet" /> |
|||
<link href="/ui/bootstrap/css/bootstrap.min.css" rel="stylesheet" /> |
|||
<script src="/ui/bootstrap/js/bootstrap.min.js"></script> |
|||
|
|||
<script src="/js/Swift_grid.js" type="text/javascript"></script> |
|||
<script src="/js/functions.js" type="text/javascript"></script> |
|||
<link href="/ui/bootstrap/css/bootstrap.min.css" rel="stylesheet" /> |
|||
<link href="/ui/css/style.css" rel="stylesheet" /> |
|||
<link href="/ui/font-awesome/css/font-awesome.min.css" rel="stylesheet" /> |
|||
<script src="/js/functions.js"></script> |
|||
<script src="/js/swift_calendar.js"></script> |
|||
<link href="/ui/bootstrap/css/bootstrap.min.css" rel="stylesheet" /> |
|||
<link href="/ui/css/datepicker-custom.css" rel="stylesheet" /> |
|||
<link href="/js/jQuery/jquery-ui.css" rel="stylesheet" type="text/css" /> |
|||
<link href="/ui/css/waves.min.css" type="text/css" rel="stylesheet" /> |
|||
<!-- <link rel="stylesheet" href="css/nanoscroller.css">--> |
|||
<link href="/ui/css/style.css" type="text/css" rel="stylesheet" /> |
|||
<link href="/ui/font-awesome/css/font-awesome.min.css" rel="stylesheet" /> |
|||
<script type="text/javascript" src="/ui/js/jquery.min.js"></script> |
|||
<script type="text/javascript" src="/ui/bootstrap/js/bootstrap.min.js"></script> |
|||
<script src="/js/swift_calendar.js"></script> |
|||
<script src="/ui/js/pickers-init.js"></script> |
|||
<script src="/ui/js/jquery-ui.min.js"></script> |
|||
<script src="/ui/js/metisMenu.min.js"></script> |
|||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.mask/1.14.15/jquery.mask.min.js" type="text/javascript"></script> |
|||
</head> |
|||
<body> |
|||
<form id="form1" runat="server"> |
|||
<div class="page-wrapper"> |
|||
<div class="row"> |
|||
<div class="col-sm-12"> |
|||
<div class="page-title"> |
|||
<ol class="breadcrumb"> |
|||
<li><a href="../../../Front.aspx" target="mainFrame"><i class="fa fa-home"></i></a></li> |
|||
<li><a href="#" onclick="return LoadModule('other_services')">System Security</a></li> |
|||
<li class="active"><a href="InboundLogList.aspx">Inbound API Log</a></li> |
|||
</ol> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="row"> |
|||
<div class="col-md-12"> |
|||
<div class="panel panel-default "> |
|||
<div class="panel-heading"> |
|||
<h4 class="panel-title">Inbound API Transaction Log List </h4> |
|||
<div class="panel-actions"> |
|||
<a href="#" class="panel-action panel-action-toggle" data-panel-toggle></a> |
|||
</div> |
|||
</div> |
|||
<div class="panel-body"> |
|||
<div class="form-group"> |
|||
<div id="rpt_grid" runat="server" class="gridDiv" enableviewstate="False"> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</form> |
|||
</body> |
|||
</html> |
@ -0,0 +1,80 @@ |
|||
using Swift.web.Component.Grid; |
|||
using Swift.web.Component.Grid.gridHelper; |
|||
using Swift.web.Library; |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Web; |
|||
using System.Web.UI; |
|||
using System.Web.UI.WebControls; |
|||
|
|||
namespace Swift.web.Remit.ThirdPartyTXN.InboundApiLog |
|||
{ |
|||
public partial class InboundLogList : System.Web.UI.Page |
|||
{ |
|||
protected const string GridName = "apiLog"; |
|||
private const string ViewFunctionId = "20172000"; |
|||
private string sql; |
|||
private readonly SwiftGrid _grid = new SwiftGrid(); |
|||
private readonly RemittanceLibrary _sl = new RemittanceLibrary(); |
|||
protected void Page_Load(object sender, EventArgs e) |
|||
{ |
|||
|
|||
LoadGrid(); |
|||
} |
|||
|
|||
|
|||
private void Authenticate() |
|||
{ |
|||
_sl.CheckAuthentication(ViewFunctionId); |
|||
} |
|||
|
|||
private void LoadGrid() |
|||
{ |
|||
//string ddlSql = "EXEC [PROC_API_ROUTE_PARTNERS] @flag = 'agent-list'";
|
|||
string ddlSql1 = "EXEC [proc_inboundApiLogs] @flag = 'method'"; |
|||
|
|||
_grid.FilterList = new List<GridFilter> |
|||
{ |
|||
//new GridFilter("agentId", "Partner", "1:"+ddlSql, "0")
|
|||
new GridFilter("agentId", "Log Type", "1:"+ddlSql1, "0") |
|||
,new GridFilter("logby", "Log By(username)", "T") |
|||
,new GridFilter("date", "Log date", "D") |
|||
|
|||
,new GridFilter("controlno", "Control Number", "T") |
|||
,new GridFilter("processid", "Process Id", "T") |
|||
}; |
|||
_grid.ColumnList = new List<GridColumn> |
|||
{ |
|||
new GridColumn("SN","SN","","T"), |
|||
new GridColumn("ProcessIdentifier", "processid", "", "T"), |
|||
new GridColumn("RequestedBy","RequestedBy","","T"), |
|||
new GridColumn("MethodName", "MethodName", "", "T"), |
|||
new GridColumn("RequestedDate", "Date", "", "D"), |
|||
new GridColumn("RequestJson", "RequestJson", "", "T"), |
|||
new GridColumn("ResponseJson", "ResponseJson", "", "T"), |
|||
new GridColumn("controlno","controlno","","T"), |
|||
}; |
|||
_grid.GridDataSource = SwiftGrid.GridDS.RemittanceDB; |
|||
_grid.GridType = 1; |
|||
_grid.GridName = GridName; |
|||
_grid.RowIdField = "rowId"; |
|||
_grid.InputPerRow = 5; |
|||
|
|||
_grid.AlwaysShowFilterForm = true; |
|||
_grid.LoadGridOnFilterOnly = true; |
|||
|
|||
_grid.AllowCustomLink = true; |
|||
_grid.CustomLinkText = Misc.GetIcon("vd", "OpenInNewWindow('InboundLog.aspx?id=@rowId')"); |
|||
_grid.CustomLinkVariables = "rowId"; |
|||
|
|||
_grid.ShowFilterForm = true; |
|||
_grid.ShowPagingBar = true; |
|||
|
|||
_grid.ThisPage = "InboundLogList.aspx"; |
|||
sql = "EXEC proc_inboundApiLogs @flag = 's'"; |
|||
_grid.SetComma(); |
|||
rpt_grid.InnerHtml = _grid.CreateGrid(sql); |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,35 @@ |
|||
//------------------------------------------------------------------------------
|
|||
// <auto-generated>
|
|||
// This code was generated by a tool.
|
|||
//
|
|||
// Changes to this file may cause incorrect behavior and will be lost if
|
|||
// the code is regenerated.
|
|||
// </auto-generated>
|
|||
//------------------------------------------------------------------------------
|
|||
|
|||
namespace Swift.web.Remit.ThirdPartyTXN.InboundApiLog |
|||
{ |
|||
|
|||
|
|||
public partial class InboundLogList |
|||
{ |
|||
|
|||
/// <summary>
|
|||
/// form1 control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.HtmlControls.HtmlForm form1; |
|||
|
|||
/// <summary>
|
|||
/// rpt_grid control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl rpt_grid; |
|||
} |
|||
} |
@ -0,0 +1,71 @@ |
|||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MobileApiLogList.aspx.cs" Inherits="Swift.web.Remit.ThirdPartyTXN.MobileApiLog.MobileApiLogList" %> |
|||
|
|||
<!DOCTYPE html> |
|||
|
|||
<html xmlns="http://www.w3.org/1999/xhtml"> |
|||
<head runat="server"> |
|||
<title></title> |
|||
<link href="/ui/font-awesome/css/font-awesome.min.css" rel="stylesheet" /> |
|||
<link href="/ui/css/style.css" rel="stylesheet" /> |
|||
<link href="/ui/bootstrap/css/bootstrap.min.css" rel="stylesheet" /> |
|||
<script src="/ui/bootstrap/js/bootstrap.min.js"></script> |
|||
|
|||
<script src="/js/Swift_grid.js" type="text/javascript"></script> |
|||
<script src="/js/functions.js" type="text/javascript"></script> |
|||
<link href="/ui/bootstrap/css/bootstrap.min.css" rel="stylesheet" /> |
|||
<link href="/ui/css/style.css" rel="stylesheet" /> |
|||
<link href="/ui/font-awesome/css/font-awesome.min.css" rel="stylesheet" /> |
|||
<script src="/js/functions.js"></script> |
|||
<script src="/js/swift_calendar.js"></script> |
|||
<link href="/ui/bootstrap/css/bootstrap.min.css" rel="stylesheet" /> |
|||
<link href="/ui/css/datepicker-custom.css" rel="stylesheet" /> |
|||
<link href="/js/jQuery/jquery-ui.css" rel="stylesheet" type="text/css" /> |
|||
<link href="/ui/css/waves.min.css" type="text/css" rel="stylesheet" /> |
|||
<!-- <link rel="stylesheet" href="css/nanoscroller.css">--> |
|||
<link href="/ui/css/style.css" type="text/css" rel="stylesheet" /> |
|||
<link href="/ui/font-awesome/css/font-awesome.min.css" rel="stylesheet" /> |
|||
<script type="text/javascript" src="/ui/js/jquery.min.js"></script> |
|||
<script type="text/javascript" src="/ui/bootstrap/js/bootstrap.min.js"></script> |
|||
<script src="/js/swift_calendar.js"></script> |
|||
<script src="/ui/js/pickers-init.js"></script> |
|||
<script src="/ui/js/jquery-ui.min.js"></script> |
|||
<script src="/ui/js/metisMenu.min.js"></script> |
|||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.mask/1.14.15/jquery.mask.min.js" type="text/javascript"></script> |
|||
</head> |
|||
<body> |
|||
<form id="form1" runat="server"> |
|||
<div class="page-wrapper"> |
|||
<div class="row"> |
|||
<div class="col-sm-12"> |
|||
<div class="page-title"> |
|||
<ol class="breadcrumb"> |
|||
<li><a href="../../../Front.aspx" target="mainFrame"><i class="fa fa-home"></i></a></li> |
|||
<li><a href="#" onclick="return LoadModule('other_services')">System Security</a></li> |
|||
<li class="active"><a href="InboundLogList.aspx">Mobile API Log</a></li> |
|||
</ol> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="row"> |
|||
<div class="col-md-12"> |
|||
<div class="panel panel-default "> |
|||
<div class="panel-heading"> |
|||
<h4 class="panel-title">Mobile API Log List </h4> |
|||
<div class="panel-actions"> |
|||
<a href="#" class="panel-action panel-action-toggle" data-panel-toggle></a> |
|||
</div> |
|||
</div> |
|||
<div class="panel-body"> |
|||
<div class="form-group"> |
|||
<div id="rpt_grid" runat="server" class="gridDiv" enableviewstate="False"> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</form> |
|||
</body> |
|||
</html> |
|||
|
@ -0,0 +1,81 @@ |
|||
using Swift.web.Component.Grid; |
|||
using Swift.web.Component.Grid.gridHelper; |
|||
using Swift.web.Library; |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Web; |
|||
using System.Web.UI; |
|||
using System.Web.UI.WebControls; |
|||
|
|||
namespace Swift.web.Remit.ThirdPartyTXN.MobileApiLog |
|||
{ |
|||
public partial class MobileApiLogList : System.Web.UI.Page |
|||
{ |
|||
protected const string GridName = "apiLog"; |
|||
private const string ViewFunctionId = "20172000"; |
|||
private string sql; |
|||
private readonly SwiftGrid _grid = new SwiftGrid(); |
|||
private readonly RemittanceLibrary _sl = new RemittanceLibrary(); |
|||
protected void Page_Load(object sender, EventArgs e) |
|||
{ |
|||
|
|||
Authenticate(); |
|||
LoadGrid(); |
|||
} |
|||
|
|||
|
|||
private void Authenticate() |
|||
{ |
|||
_sl.CheckAuthentication(ViewFunctionId); |
|||
} |
|||
|
|||
private void LoadGrid() |
|||
{ |
|||
//string ddlSql = "EXEC [PROC_API_ROUTE_PARTNERS] @flag = 'agent-list'";
|
|||
string ddlSql1 = "EXEC [proc_MobileApiLogs] @flag = 'method'"; |
|||
|
|||
_grid.FilterList = new List<GridFilter> |
|||
{ |
|||
//new GridFilter("agentId", "Partner", "1:"+ddlSql, "0")
|
|||
new GridFilter("agentId", "Log Type", "1:"+ddlSql1, "0") |
|||
,new GridFilter("logby", "Log By(username)", "T") |
|||
,new GridFilter("date", "Log date", "D") |
|||
|
|||
,new GridFilter("controlno", "Control Number", "T") |
|||
,new GridFilter("processid", "Process Id", "T") |
|||
}; |
|||
_grid.ColumnList = new List<GridColumn> |
|||
{ |
|||
new GridColumn("SN","SN","","T"), |
|||
new GridColumn("processId", "processid", "", "T"), |
|||
new GridColumn("createdBy","RequestedBy","","T"), |
|||
new GridColumn("methodName", "MethodName", "", "T"), |
|||
new GridColumn("createdDate", "Date", "", "D"), |
|||
new GridColumn("message", "RequestJson", "", "T"), |
|||
//new GridColumn("ResponseJson", "ResponseJson", "", "T"),
|
|||
new GridColumn("controlno","controlno","","T"), |
|||
}; |
|||
_grid.GridDataSource = SwiftGrid.GridDS.RemittanceDB; |
|||
_grid.GridType = 1; |
|||
_grid.GridName = GridName; |
|||
_grid.RowIdField = "rowId"; |
|||
_grid.InputPerRow = 5; |
|||
|
|||
_grid.AlwaysShowFilterForm = true; |
|||
_grid.LoadGridOnFilterOnly = true; |
|||
|
|||
_grid.AllowCustomLink = true; |
|||
//_grid.CustomLinkText = Misc.GetIcon("vd", "OpenInNewWindow('InboundLog.aspx?id=@rowId')");
|
|||
_grid.CustomLinkVariables = "rowId"; |
|||
|
|||
_grid.ShowFilterForm = true; |
|||
_grid.ShowPagingBar = true; |
|||
|
|||
_grid.ThisPage = "InboundLogList.aspx"; |
|||
sql = "EXEC proc_MobileApiLogs @flag = 's'"; |
|||
_grid.SetComma(); |
|||
rpt_grid.InnerHtml = _grid.CreateGrid(sql); |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,35 @@ |
|||
//------------------------------------------------------------------------------
|
|||
// <auto-generated>
|
|||
// This code was generated by a tool.
|
|||
//
|
|||
// Changes to this file may cause incorrect behavior and will be lost if
|
|||
// the code is regenerated.
|
|||
// </auto-generated>
|
|||
//------------------------------------------------------------------------------
|
|||
|
|||
namespace Swift.web.Remit.ThirdPartyTXN.MobileApiLog |
|||
{ |
|||
|
|||
|
|||
public partial class MobileApiLogList |
|||
{ |
|||
|
|||
/// <summary>
|
|||
/// form1 control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.HtmlControls.HtmlForm form1; |
|||
|
|||
/// <summary>
|
|||
/// rpt_grid control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl rpt_grid; |
|||
} |
|||
} |
@ -0,0 +1,304 @@ |
|||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ApproveInwardRemitance.aspx.cs" Inherits="Swift.web.Remit.Transaction.ApproveTxn.ApproveInwardRemitance" %> |
|||
|
|||
<%@ Register TagPrefix="uc1" TagName="SwiftTextBox" Src="~/Component/AutoComplete/SwiftTextBox.ascx" %> |
|||
|
|||
<!DOCTYPE html> |
|||
<html xmlns="http://www.w3.org/1999/xhtml"> |
|||
|
|||
<head id="Head1" runat="server"> |
|||
<base id="Base2" runat="server" target="_self" /> |
|||
<script src="/ui/js/jquery.min.js"></script> |
|||
<link href="/ui/bootstrap/css/bootstrap.min.css" rel="stylesheet" /> |
|||
<link href="/ui/css/style.css" type="text/css" rel="stylesheet" /> |
|||
<link href="/ui/font-awesome/css/font-awesome.min.css" rel="stylesheet" /> |
|||
<script src="/js/functions.js" type="text/javascript"> </script> |
|||
<script src="/js/Swift_grid.js" type="text/javascript"> </script> |
|||
<link href="/js/jQuery/jquery-ui.css" rel="stylesheet" type="text/css" /> |
|||
<script type="text/javascript" src="/ui/js/jquery.min.js"></script> |
|||
<script src="/ui/js/jquery-ui.min.js"></script> |
|||
<script src="/js/swift_calendar.js" type="text/javascript"></script> |
|||
<script src="/js/swift_autocomplete.js"></script> |
|||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.mask/1.14.15/jquery.mask.min.js" type="text/javascript"></script> |
|||
|
|||
<script language="javascript" type="text/javascript"> |
|||
function LoadCalendars() { |
|||
ShowCalFromToUpToToday("#<% =txnDate.ClientID%>"); |
|||
$('#txnDate').mask('0000-00-00'); |
|||
} |
|||
LoadCalendars(); |
|||
|
|||
function ClearFields() { |
|||
$('#tblForm').find('input:text').val(''); |
|||
$('#tblForm').find('input:hidden').val(''); |
|||
$('#tblForm').find('select').val(''); |
|||
GetElement("<% =btnSearch.ClientID %>").click(); |
|||
} |
|||
|
|||
function ViewDetails(id) { |
|||
var url = "Manage.aspx?id=" + id; |
|||
var ret = OpenDialog(url, 800, 900, 50, 50); |
|||
if (ret) { |
|||
GetElement("<% =btnSearch.ClientID %>").click(); |
|||
} |
|||
} |
|||
|
|||
function ViewMapping(id) { |
|||
var url = "MappingInfo.aspx?id=" + id; |
|||
var ret = OpenDialog(url, 800, 900, 50, 50); |
|||
} |
|||
|
|||
function Modify(id) { |
|||
var url = "Modify.aspx?tranId=" + id; |
|||
var ret = OpenDialog(url, 800, 900, 50, 50); |
|||
if (ret) { |
|||
GetElement("<% =btnSearch.ClientID %>").click(); |
|||
} |
|||
} |
|||
|
|||
function CheckAmount(id, tAmt) { |
|||
var strAmt = $("#amt_" + id).val(); |
|||
var amt = parseFloat(strAmt); |
|||
|
|||
if (isNaN(amt) || isNaN(strAmt) || amt < 0) { |
|||
$("#amt_" + id).val(""); |
|||
} |
|||
var boolDisabled = ((isNaN(amt) || isNaN(strAmt) || amt == 0 || tAmt != amt)); |
|||
EnableDisableBtn("btn_" + id, boolDisabled); |
|||
EnableDisableBtn("btn_r_" + id, boolDisabled); |
|||
} |
|||
|
|||
function Approve(id) { |
|||
var amt = parseFloat($("#amt_" + id).val()); |
|||
if (amt <= 0) { |
|||
window.parent.SetMessageBox("Invalid Amount", "1"); |
|||
return; |
|||
} |
|||
|
|||
SetValueById("<% = hddTranNo.ClientID %>", id, false); |
|||
GetElement("<% =btnApprove.ClientID %>").click(); |
|||
} |
|||
|
|||
function Reject(id) { |
|||
var url = "Reject.aspx?id=" + id; |
|||
var ret = OpenDialog(url, 800, 900, 50, 50); |
|||
if (ret) { |
|||
GetElement("<% =btnSearch.ClientID %>").click(); |
|||
} |
|||
} |
|||
|
|||
function ToggleCheckboxes(id, isRadioMode) { |
|||
if (isRadioMode) { |
|||
SelectDeselect("rowId", false); |
|||
} else { |
|||
ToggleSelection("rowId"); |
|||
} |
|||
CallBackGrid(); |
|||
} |
|||
|
|||
function CallBackGrid(me, isRadioMode) { |
|||
if (isRadioMode) { |
|||
SelectDeselect("rowId", false); |
|||
me.checked = true; |
|||
} |
|||
|
|||
var boolDisabled = !CanApprove("rowId"); |
|||
EnableDisableBtn("<% =btnApproveAll.ClientID %>", boolDisabled); |
|||
ManageToggleCB("rowId"); |
|||
if (boolDisabled === true) { |
|||
$("#<% =btnApproveAll.ClientID %>").addClass("hidden"); |
|||
} else { |
|||
$("#<% =btnApproveAll.ClientID %>").removeClass("hidden"); |
|||
} |
|||
} |
|||
|
|||
function ToggleSelection(name) { |
|||
var boolCheck = GetElement("tgcb").checked; |
|||
SelectDeselect(name, boolCheck); |
|||
} |
|||
|
|||
function SelectDeselect(name, boolCheck) { |
|||
var elements = document.getElementsByName(name); |
|||
for (var i = 0; i < elements.length; i++) { |
|||
elements[i].checked = boolCheck; |
|||
} |
|||
} |
|||
|
|||
function CanApprove(name) { |
|||
var elements = document.getElementsByName(name); |
|||
for (var i = 0; i < elements.length; i++) { |
|||
if (elements[i].checked) { |
|||
return true; |
|||
} |
|||
} |
|||
return false; |
|||
} |
|||
|
|||
function ManageToggleCB(name) { |
|||
var elements = document.getElementsByName(name); |
|||
for (var i = 0; i < elements.length; i++) { |
|||
if (!elements[i].checked) { |
|||
GetElement("tgcb").checked = false; |
|||
return false; |
|||
} |
|||
} |
|||
GetElement("tgcb").checked = true; |
|||
} |
|||
</script> |
|||
</head> |
|||
<body> |
|||
|
|||
<form id="form1" runat="server"> |
|||
|
|||
<asp:ScriptManager ID="ScriptManager1" runat="server"> |
|||
</asp:ScriptManager> |
|||
|
|||
<div class="page-wrapper"> |
|||
<div class="row"> |
|||
<div class="col-sm-12"> |
|||
<div class="page-title"> |
|||
<h1></h1> |
|||
<ol class="breadcrumb"> |
|||
<li><a href="/Front.aspx" target="mainFrame"><i class="fa fa-home"></i></a> |
|||
</li> |
|||
<li><a href="#" onclick="return LoadModule('transaction')">Transaction </a></li> |
|||
<li class="active"><a href="ApproveInwardRemitance.aspx">Approve Inward Transaction </a></li> |
|||
</ol> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="tab-content"> |
|||
<div role="tabpanel" class="tab-pane active" id="Manage"> |
|||
<div class="row"> |
|||
<div class="col-md-12"> |
|||
<div class="panel panel-default "> |
|||
<!-- Start .panel --> |
|||
<div class="panel-heading"> |
|||
<h4 class="panel-title"> |
|||
<label>Approve Inward Remittance</label> |
|||
</h4> |
|||
<div class="panel-actions"> |
|||
<a href="#" class="panel-action panel-action-toggle" data-panel-toggle=""></a> |
|||
<a href="#" class="panel-action panel-action-dismiss" data-panel-dismiss=""></a> |
|||
</div> |
|||
</div> |
|||
<div class="panel-body"> |
|||
<div class="row"> |
|||
<div class="form-group"> |
|||
<label> Search Transaction Criteria</label> |
|||
</div> |
|||
</div> |
|||
<div class="row"> |
|||
<div class="form-group"> |
|||
<div class="col-md-3"> |
|||
<label>Sending Country</label> |
|||
<asp:DropDownList ID="country" runat="server" AutoPostBack="true" CssClass="form-control" |
|||
OnSelectedIndexChanged="country_SelectedIndexChanged"> |
|||
</asp:DropDownList> |
|||
</div> |
|||
<div class="col-md-3"> |
|||
<label>Sending Agent</label> |
|||
<asp:DropDownList CssClass="form-control" ID="agent" runat="server" AutoPostBack="true" |
|||
OnSelectedIndexChanged="agent_SelectedIndexChanged"> |
|||
</asp:DropDownList> |
|||
</div> |
|||
<div class="col-md-3"> |
|||
<label>Sending Branch</label> |
|||
<asp:DropDownList CssClass="form-control" ID="branch" runat="server"></asp:DropDownList> |
|||
</div> |
|||
<div class="col-md-3"> |
|||
<label>Tran No</label> |
|||
<asp:TextBox ID="tranNo" runat="server" CssClass="form-control"></asp:TextBox> |
|||
</div> |
|||
<div class="col-md-3"> |
|||
<label>PIN No.</label> |
|||
<asp:TextBox ID="ControlNo" runat="server" CssClass="form-control"></asp:TextBox> |
|||
</div> |
|||
<div class="col-md-3"> |
|||
<label>Partner Id</label> |
|||
<asp:TextBox ID="ControlNo1" runat="server" CssClass="form-control"></asp:TextBox> |
|||
</div> |
|||
<div class="col-md-3"> |
|||
<label>Receiving Country</label> |
|||
<asp:DropDownList CssClass="form-control" ID="rCountry" runat="server"></asp:DropDownList> |
|||
</div> |
|||
<div class="col-md-3"> |
|||
<label>Sender Name</label> |
|||
<asp:TextBox ID="sender" runat="server" CssClass="form-control"></asp:TextBox> |
|||
</div> |
|||
<div class="col-md-3"> |
|||
<label>Receiver Name</label> |
|||
<asp:TextBox ID="receiver" runat="server" CssClass="form-control"></asp:TextBox> |
|||
</div> |
|||
<div class="col-md-3"> |
|||
<label>Amount</label> |
|||
<asp:TextBox ID="amt" runat="server" CssClass="form-control"></asp:TextBox> |
|||
</div> |
|||
<div class="col-md-3"> |
|||
<label>Txn Date</label><br /> |
|||
<asp:TextBox ID="txnDate" onchange="return DateValidation('txnDate','t')" MaxLength="10" runat="server" CssClass="form-control"></asp:TextBox> |
|||
</div> |
|||
<div class="col-md-3" style="display: none;"> |
|||
<label>User</label><br /> |
|||
<uc1:SwiftTextBox ID="user" Category="remit-users" runat="server" /> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="row"> |
|||
<div class="form-group"> |
|||
<div class="col-md-4"> |
|||
<asp:Button ID="btnSearch" runat="server" Text="Search Approve" CssClass="btn btn-primary" |
|||
OnClick="btnSearch_Click" ValidationGroup="rpt" /> |
|||
<input type="button" value="Clear Field" id="btnSclearField" class="btn btn-primary" onclick=" ClearFields(); " /> |
|||
<div id="antiForgery" runat="server"></div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div id="approveList" runat="server"> |
|||
<div id="rptGrid" runat="server" enableviewstate="false"></div> |
|||
<br /> |
|||
<asp:Button ID="btnApproveAll" runat="server" CssClass='btn btn-primary m-t-25 hidden' Text="Approve Selected" Enabled="false" OnClick="btnApproveAll_Click" /> |
|||
</div> |
|||
<div id="selfTxn" runat="server" class="col-sm-12"></div> |
|||
<br /> |
|||
<asp:Button ID="btnApprove" runat="server" Text="Approve" CssClass="btn btn-primary" Style="display: none" OnClick="btnApprove_Click" /> |
|||
<asp:Button ID="btnReject" runat="server" CssClass='btn btn-primary m-t-25' OnClick="btnReject_Click" Style="display: none" /> |
|||
<asp:HiddenField ID="hddTranNo" runat="server" /> |
|||
<asp:HiddenField ID="hdntabType" runat="server" /> |
|||
|
|||
<div> |
|||
<div id="txnSummary" runat="server" class="col-sm-12" enableviewstate="false"></div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</form> |
|||
</body> |
|||
</html> |
|||
|
|||
<script type="text/javascript"> |
|||
|
|||
function SelectTab(obj) { |
|||
document.getElementById('hdntabType').value = obj; |
|||
if (obj == "a") { |
|||
document.getElementById('appCnt').style.display = "block"; |
|||
document.getElementById('selfTxn').style.display = "none"; |
|||
document.getElementById('rptGrid').style.display = "block"; |
|||
document.getElementById("a").setAttribute("class", "selected"); |
|||
document.getElementById("s").setAttribute("class", ""); |
|||
} |
|||
if (obj == "s") { |
|||
document.getElementById('appCnt').style.display = "none"; |
|||
document.getElementById('selfCnt').style.display = "block"; |
|||
document.getElementById('rptGrid').style.display = "none"; |
|||
document.getElementById('selfTxn').style.display = "block"; |
|||
document.getElementById("s").setAttribute("class", "selected"); |
|||
document.getElementById("a").setAttribute("class", ""); |
|||
} |
|||
|
|||
} |
|||
</script> |
@ -0,0 +1,409 @@ |
|||
using Swift.API.Common; |
|||
using Swift.DAL.Remittance.Transaction; |
|||
using Swift.web.Library; |
|||
using Swift.DAL.SwiftDAL; |
|||
using Swift.API.ThirdPartyApiServices; |
|||
using System; |
|||
using System.Data; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Web.Helpers; |
|||
|
|||
namespace Swift.web.Remit.Transaction.ApproveTxn |
|||
{ |
|||
public partial class ApproveInwardRemitance : System.Web.UI.Page |
|||
{ |
|||
private ApproveInwardTransactionDao at = new ApproveInwardTransactionDao(); |
|||
private const string ViewFunctionId = "20122800"; |
|||
private const string ModifyFunctionId = "20122810"; |
|||
private const string ApproveSingleFunctionId = "20122820"; |
|||
private const string ApproveMultipleFunctionId = "20122830"; |
|||
private const string RejectFuntionId = "20122840"; |
|||
private readonly StaticDataDdl _sdd = new StaticDataDdl(); |
|||
private readonly RemittanceLibrary _sl = new RemittanceLibrary(); |
|||
protected void Page_Load(object sender, EventArgs e) |
|||
{ |
|||
Authenticate(); |
|||
GetStatic.AttachConfirmMsg(ref btnApprove, "Are you sure to APPROVE this transaction?"); |
|||
GetStatic.AttachConfirmMsg(ref btnApproveAll, "Are you sure to APPROVE ALL this transaction?"); |
|||
|
|||
if (!IsPostBack) |
|||
{ |
|||
antiForgery.InnerHtml = AntiForgery.GetHtml().ToString(); |
|||
LoadDdl(); |
|||
LoadSendingAgent(); |
|||
LoadApproveGrid(""); |
|||
MakeNumericTextBox(); |
|||
|
|||
// _sl.SetPayStatusDdl(ref status, "", "All");
|
|||
if (!string.IsNullOrEmpty(GetCountry())) |
|||
LoadApproveGrid(GetCountry()); |
|||
LoadHoldSummary(); |
|||
|
|||
} |
|||
GetStatic.ResizeFrame(Page); |
|||
|
|||
} |
|||
private void MakeNumericTextBox() |
|||
{ |
|||
Misc.MakeNumericTextbox(ref amt); |
|||
} |
|||
private void Authenticate() |
|||
{ |
|||
_sdd.CheckAuthentication(ViewFunctionId); |
|||
} |
|||
private string GetCountry() |
|||
{ |
|||
return GetStatic.ReadQueryString("country", ""); |
|||
} |
|||
|
|||
private void LoadDdl() |
|||
{ |
|||
// _sdd.SetDDL3(ref country, "EXEC proc_dropDownListsInboundApi @flag = 'a-countrySend'", "countryId", "countryName", "", "All");
|
|||
|
|||
_sdd.SetDDL(ref country, "EXEC proc_dropDownListsInboundApi @flag='a-countrySend'", "countryId", "countryName", "", "All"); |
|||
|
|||
var sql = "EXEC proc_dropDownLists @flag = 'a-countryPay'"; |
|||
_sdd.SetDDL(ref rCountry, sql, "countryName", "countryName", "", "Select"); |
|||
} |
|||
protected void country_SelectedIndexChanged(object sender, EventArgs e) |
|||
{ |
|||
LoadSendingAgent(); |
|||
// Your event handling code here
|
|||
} |
|||
|
|||
|
|||
|
|||
protected void agent_SelectedIndexChanged(object sender, EventArgs e) |
|||
{ |
|||
// Your event handling code here
|
|||
if (!string.IsNullOrEmpty(agent.Text)) |
|||
{ |
|||
var sql = "EXEC proc_dropDownListsInboundApi @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 LoadSendingAgent() |
|||
{ |
|||
if (!string.IsNullOrEmpty(country.Text)) |
|||
_sdd.SetDDL(ref agent, "EXEC proc_dropDownListsInboundApi @flag = 'agentSend',@param=" + _sdd.FilterString(country.Text) + "", "agentId", "agentName", "", "All"); |
|||
} |
|||
|
|||
private void LoadApproveGrid(string sCountry) |
|||
{ |
|||
bool allowApprove = _sdd.HasRight(ApproveSingleFunctionId); |
|||
bool allowMultiple = false/* _sdd.HasRight(ApproveMultipleFunctionId)*/; |
|||
bool allowReject = _sdd.HasRight(RejectFuntionId); |
|||
bool allowModify = _sdd.HasRight(ModifyFunctionId); |
|||
|
|||
if (!string.IsNullOrEmpty(sCountry)) |
|||
{ |
|||
if (sCountry.ToLower() == "All") |
|||
{ |
|||
// Clear the selection and load data for all countries
|
|||
country.ClearSelection(); |
|||
} |
|||
else |
|||
{ |
|||
// Set the selected country
|
|||
country.SelectedItem.Text = sCountry; |
|||
} |
|||
// LoadSendingAgent();
|
|||
} |
|||
|
|||
//if (country.SelectedItem.Text == "" || country.SelectedItem.Text == "Select")
|
|||
//{
|
|||
// //country.SelectedItem.Text = country.SelectedItem.Text;
|
|||
// country.SelectedItem.Text = "All";
|
|||
//}
|
|||
var ds = at.GetHoldedTXNListAdmin(GetStatic.GetUser(), branch.Text, tranNo.Text, rCountry.Text, sender.Text, receiver.Text |
|||
, amt.Text, GetStatic.GetBranch(), GetStatic.GetUserType() |
|||
, "s-admin", txnDate.Text, user.Text, ControlNo.Text, ControlNo1.Text, "I", country.SelectedItem.Text, agent.Text, branch.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("<table class = 'table table-responsive table-striped table-bordered' >"); |
|||
if (dt.Rows.Count > 0) |
|||
{ |
|||
sb.Append("<tr>"); |
|||
if (allowMultiple) |
|||
{ |
|||
colspanCount++; |
|||
sb.Append("<th>"); |
|||
if (dt.Rows.Count > 0) |
|||
sb.Append("<input type = 'checkbox' id = 'tgcb' onclick = 'ToggleCheckboxes(this,false);' />"); |
|||
sb.Append("</th>"); |
|||
} |
|||
sb.Append("<th>Tran Id</th>"); |
|||
sb.Append("<th>PIN No.</th>"); |
|||
sb.Append("<th>Partner Id</th>"); |
|||
sb.Append("<th>Sending Branch</th>"); |
|||
//sb.Append("<th>Txn Channel</th>");
|
|||
sb.Append("<th>Country</th>"); |
|||
sb.Append("<th>Sender</th>"); |
|||
sb.Append("<th>Receiver</th>"); |
|||
sb.Append("<th>Payout Amt</th>"); |
|||
sb.Append("<th>Coll Amt</th>"); |
|||
sb.Append("<th>S Charge</th>"); |
|||
sb.Append("<th>Payment Method</th>"); |
|||
//sb.Append("<th>Payment Option</th>");
|
|||
//sb.Append("<th>Voucher No</th>");
|
|||
sb.Append("<th nowrap='nowrap'>Tran Date</th>"); |
|||
sb.Append("<th>User</th>"); |
|||
|
|||
if (allowApprove) |
|||
{ |
|||
colspanCount++; |
|||
sb.Append("<th></th>"); |
|||
sb.Append("<th></th>"); |
|||
} |
|||
if (allowApprove) |
|||
{ |
|||
colspanCount++; |
|||
sb.Append("<th></th>"); |
|||
} |
|||
sb.Append("</tr>"); |
|||
|
|||
foreach (DataRow dr in dt.Rows) |
|||
{ |
|||
cnt = cnt + 1; |
|||
sb.AppendLine(cnt % 2 == 1 |
|||
? "<tr class=\"oddbg\" onMouseOver=\"this.className='GridOddRowOver'\" onMouseOut=\"this.className='oddbg'\" >" |
|||
: "<tr class=\"evenbg\" onMouseOver=\"this.className='GridEvenRowOver'\" onMouseOut=\"this.className='evenbg'\">"); |
|||
if (allowMultiple) |
|||
sb.Append("<td><input onclick = 'CallBackGrid(this,false);' type='checkbox' name='rowId' value=\"" + dr["id"].ToString() + "\"></td>"); |
|||
|
|||
sb.Append("<td>" + dr["id"].ToString() + "</td>"); |
|||
sb.Append("<td>" + dr["controlNo"].ToString() + "</td>"); |
|||
sb.Append("<td>" + dr["controlNo2"].ToString() + "</td>"); |
|||
sb.Append("<td>" + dr["BranchName"].ToString() + "</td>"); |
|||
//sb.Append("<td>" + dr["tranType"].ToString() + "</td>");
|
|||
sb.Append("<td>" + dr["country"].ToString() + "</td>"); |
|||
sb.Append("<td>" + dr["sender"].ToString() + "</td>"); |
|||
sb.Append("<td>" + dr["receiver"].ToString() + "</td>"); |
|||
sb.Append("<td style=\"font-weight: bold; font-style: italic; text-align: right;\">"); |
|||
sb.Append(GetStatic.FormatData(dr["pAmt"].ToString(), "M")); |
|||
sb.Append("<td style=\"font-weight: bold; font-style: italic; text-align: right;\">"); |
|||
sb.Append(GetStatic.FormatData(dr["amt"].ToString(), "M")); |
|||
sb.Append("<td style=\"font-weight: bold; font-style: italic; text-align: right;\">"); |
|||
sb.Append(GetStatic.FormatData(dr["serviceCharge"].ToString(), "M")); |
|||
//sb.Append(GetStatic.FormatData(dr["serviceCharge"].ToString(), "M"));
|
|||
|
|||
sb.Append("<td>" + dr["collMode"].ToString() + "</td>"); |
|||
//sb.Append("<td>" + dr["depositType"].ToString() + "</td>");
|
|||
//sb.Append("<td>" + dr["voucherNo"].ToString() + "</td>");
|
|||
sb.Append("<td>" + GetStatic.FormatData(dr["txnDate"].ToString(), "D") + "</td>"); |
|||
sb.Append("<td>" + dr["txncreatedBy"].ToString() + "</td>"); |
|||
|
|||
//if (allowApprove)
|
|||
// sb.Append("<td><img style='cursor:pointer' title = 'View Details' alt = 'View Details' src = '" + GetStatic.GetUrlRoot() + "/images/view-detail-icon.png' onclick = 'ViewDetails(" + dr["id"].ToString() + ");' /></td>");
|
|||
|
|||
//if (allowApprove && dr["collMode"].ToString() == "Bank Deposit")
|
|||
// sb.Append("<td><img style='cursor:pointer' title = 'Approve Deposit Mapping' alt = 'View Mapping' src = '" + GetStatic.GetUrlRoot() + "/images/view-changes.jpg' onclick = 'ViewMapping(" + dr["id"].ToString() + ");' /></td>");
|
|||
//else
|
|||
// sb.Append("<td> </td>");
|
|||
|
|||
//if (allowModify)
|
|||
// sb.Append("<td><img style='cursor:pointer' title = 'Modify Transaction' alt = 'Modify Transaction' src = '" + GetStatic.GetUrlRoot() + "/images/edit.gif' onclick = 'Modify(" + dr["id"].ToString() + ");' /></td>");
|
|||
if (allowApprove || allowReject) |
|||
{ |
|||
sb.Append("<td nowrap = \"nowrap\">"); |
|||
//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 (allowApprove) |
|||
sb.Append(" <input type = 'button' class='btn btn-primary m-t-25' onclick = \"ViewDetails(" + dr["id"].ToString() + ");\" value = 'Approve' id = 'btn_" + dr["id"].ToString() + "' />"); |
|||
if (allowReject) |
|||
sb.Append(" <input type = 'button' class='btn btn-primary m-t-25' onclick = \"Reject(" + dr["id"].ToString() + ");\" value = 'Reject' id = 'btn_r_" + dr["id"].ToString() + "' />"); |
|||
|
|||
sb.Append("</td>"); |
|||
} |
|||
sb.Append("</tr>"); |
|||
} |
|||
|
|||
btnApproveAll.Visible = allowMultiple; |
|||
} |
|||
else |
|||
{ |
|||
btnApproveAll.Visible = false; |
|||
} |
|||
|
|||
sbHead.Append("<tr><td colspan='" + cols + "' id='appCnt' nowrap='nowrap'>"); |
|||
sbHead.Append("<b>" + dt.Rows.Count.ToString() + " Transaction(s) found : <b>Approve Transaction List</b> </b></td>"); |
|||
sbHead.Append("</tr>"); |
|||
sbHead.Append(sb.ToString()); |
|||
sbHead.Append("</table>"); |
|||
rptGrid.InnerHtml = sbHead.ToString(); |
|||
approveList.Visible = true; |
|||
|
|||
selfTxn.Visible = false; |
|||
if (dt.Rows.Count == 0) |
|||
{ |
|||
_sl.ManageInvalidControlNoAttempt(Page, GetStatic.GetUser(), "N"); |
|||
return; |
|||
} |
|||
GetStatic.ResizeFrame(Page); |
|||
} |
|||
|
|||
|
|||
protected void btnSearch_Click(object sender, EventArgs e) |
|||
{ |
|||
LoadApproveGrid(""); |
|||
} |
|||
protected void btnApproveAll_Click(object sender, EventArgs e) |
|||
{ |
|||
var dr = ApproveAllTxn(); |
|||
GetStatic.PrintMessage(Page, dr); |
|||
if (dr.ErrorCode.Equals("0")) |
|||
{ |
|||
LoadApproveGrid(""); |
|||
LoadHoldSummary(); |
|||
} |
|||
|
|||
|
|||
} |
|||
|
|||
private DbResult ApproveAllTxn() |
|||
{ |
|||
var idList1 = GetStatic.ReadFormData("rowId", ""); |
|||
|
|||
if (string.IsNullOrWhiteSpace(idList1)) |
|||
{ |
|||
var dr = new DbResult(); |
|||
dr.SetError("1", "Please select one or more transaction approve", ""); |
|||
return dr; |
|||
} |
|||
return at.ApproveAllHoldedTXN(GetStatic.GetUser(), idList1); |
|||
} |
|||
|
|||
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("<table class = 'table table-responsive table-bordered table-striped'>"); |
|||
sbHead.Append("<tr>"); |
|||
sbHead.Append("<th colspan='3'>HOLD Transaction Summary</th>"); |
|||
sbHead.Append("</tr>"); |
|||
|
|||
sbHead.Append("<tr>"); |
|||
sbHead.Append("<th>S.N.</th>"); |
|||
sbHead.Append("<th>Sending Country</th>"); |
|||
sbHead.Append("<th>Count</th>"); |
|||
sbHead.Append("</tr>"); |
|||
|
|||
foreach (DataRow dr in dt.Rows) |
|||
{ |
|||
sbHead.Append("<tr>"); |
|||
sbHead.Append("<td>" + dr["sn"] + "</td>"); |
|||
sbHead.Append("<td><a href='ApproveInwardRemitance.aspx?country=" + dr["country"] + "'>" + dr["country"] + "</a></td>"); |
|||
sbHead.Append("<td align=\"center\">" + dr["txnCount"] + "</td>"); |
|||
sbHead.Append("</tr>"); |
|||
count = count + int.Parse(dr["txnCount"].ToString()); |
|||
} |
|||
sbHead.Append("<tr><td colspan='2'><b>Total</b></td>"); |
|||
sbHead.Append("<td align=\"center\"><b>" + count.ToString() + "</b></td>"); |
|||
sbHead.Append("</tr>"); |
|||
sbHead.Append("</table>"); |
|||
txnSummary.InnerHtml = sbHead.ToString(); |
|||
} |
|||
} |
|||
protected void btnApprove_Click(object sender, EventArgs e) |
|||
{ |
|||
ApproveTxn(); |
|||
} |
|||
private void ApproveTxn() |
|||
{ |
|||
AntiForgery.Validate(); |
|||
//ApproveTxnMain();
|
|||
DbResult _dbRes = at.GetTxnApproveDataIMEPay(GetStatic.GetUser(), hddTranNo.Value); |
|||
if (_dbRes.ErrorCode != "0") |
|||
{ |
|||
GetStatic.PrintMessage(Page, _dbRes); |
|||
return; |
|||
} |
|||
//else if (_dbRes.Extra == "True")//is realtime
|
|||
if (_dbRes.Extra2 == "True")//is realtime
|
|||
{ |
|||
SendTransactionServices _tpSend = new SendTransactionServices(); |
|||
string ProcessId = Guid.NewGuid().ToString().Replace("-", "") + ":" + _dbRes.Extra1 + ":releaseTxn"; |
|||
var result = _tpSend.ReleaseTransaction(new TFReleaseTxnRequest() |
|||
{ |
|||
TfPin = _dbRes.Id, |
|||
TxnId = _dbRes.Extra, |
|||
RequestBy = GetStatic.GetUser(), |
|||
ProviderId = _dbRes.Extra1, |
|||
ProcessId = ProcessId.Substring(ProcessId.Length - 40, 40) |
|||
}); |
|||
_dbRes.ErrorCode = result.ResponseCode; |
|||
_dbRes.Msg = result.Msg; |
|||
_dbRes.Id = ""; |
|||
|
|||
if (_dbRes.ErrorCode != "0") |
|||
{ |
|||
GetStatic.PrintMessage(Page, _dbRes); |
|||
return; |
|||
} |
|||
else |
|||
{ |
|||
ApproveTxnMain(); |
|||
} |
|||
} |
|||
else |
|||
{ |
|||
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(); |
|||
} |
|||
} |
|||
|
|||
} |
|||
} |
@ -0,0 +1,260 @@ |
|||
//------------------------------------------------------------------------------
|
|||
// <auto-generated>
|
|||
// This code was generated by a tool.
|
|||
//
|
|||
// Changes to this file may cause incorrect behavior and will be lost if
|
|||
// the code is regenerated.
|
|||
// </auto-generated>
|
|||
//------------------------------------------------------------------------------
|
|||
|
|||
namespace Swift.web.Remit.Transaction.ApproveTxn |
|||
{ |
|||
|
|||
|
|||
public partial class ApproveInwardRemitance |
|||
{ |
|||
|
|||
/// <summary>
|
|||
/// Head1 control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.HtmlControls.HtmlHead Head1; |
|||
|
|||
/// <summary>
|
|||
/// Base2 control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl Base2; |
|||
|
|||
/// <summary>
|
|||
/// form1 control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.HtmlControls.HtmlForm form1; |
|||
|
|||
/// <summary>
|
|||
/// ScriptManager1 control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.ScriptManager ScriptManager1; |
|||
|
|||
/// <summary>
|
|||
/// country control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.WebControls.DropDownList country; |
|||
|
|||
/// <summary>
|
|||
/// agent control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.WebControls.DropDownList agent; |
|||
|
|||
/// <summary>
|
|||
/// branch control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.WebControls.DropDownList branch; |
|||
|
|||
/// <summary>
|
|||
/// tranNo control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.WebControls.TextBox tranNo; |
|||
|
|||
/// <summary>
|
|||
/// ControlNo control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.WebControls.TextBox ControlNo; |
|||
|
|||
/// <summary>
|
|||
/// ControlNo1 control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.WebControls.TextBox ControlNo1; |
|||
|
|||
/// <summary>
|
|||
/// rCountry control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.WebControls.DropDownList rCountry; |
|||
|
|||
/// <summary>
|
|||
/// sender control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.WebControls.TextBox sender; |
|||
|
|||
/// <summary>
|
|||
/// receiver control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.WebControls.TextBox receiver; |
|||
|
|||
/// <summary>
|
|||
/// amt control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.WebControls.TextBox amt; |
|||
|
|||
/// <summary>
|
|||
/// txnDate control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.WebControls.TextBox txnDate; |
|||
|
|||
/// <summary>
|
|||
/// user control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::Swift.web.Component.AutoComplete.SwiftTextBox user; |
|||
|
|||
/// <summary>
|
|||
/// btnSearch control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.WebControls.Button btnSearch; |
|||
|
|||
/// <summary>
|
|||
/// antiForgery control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl antiForgery; |
|||
|
|||
/// <summary>
|
|||
/// approveList control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl approveList; |
|||
|
|||
/// <summary>
|
|||
/// rptGrid control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl rptGrid; |
|||
|
|||
/// <summary>
|
|||
/// btnApproveAll control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.WebControls.Button btnApproveAll; |
|||
|
|||
/// <summary>
|
|||
/// selfTxn control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl selfTxn; |
|||
|
|||
/// <summary>
|
|||
/// btnApprove control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.WebControls.Button btnApprove; |
|||
|
|||
/// <summary>
|
|||
/// btnReject control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.WebControls.Button btnReject; |
|||
|
|||
/// <summary>
|
|||
/// hddTranNo control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.WebControls.HiddenField hddTranNo; |
|||
|
|||
/// <summary>
|
|||
/// hdntabType control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.WebControls.HiddenField hdntabType; |
|||
|
|||
/// <summary>
|
|||
/// txnSummary control.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// Auto-generated field.
|
|||
/// To modify move field declaration from designer file to code-behind file.
|
|||
/// </remarks>
|
|||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl txnSummary; |
|||
} |
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue