You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

277 lines
10 KiB

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ViewTransaction.aspx.cs" Inherits="Swift.web.Remit.BonusManagement.ApproveRedeem.ViewTransaction" %>
  2. <%@ Import Namespace="Swift.web.Library" %>
  3. <!DOCTYPE html>
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head runat="server">
  6. <title></title>
  7. <script src="../../../js/functions.js" type="text/javascript"></script>
  8. <script src="../../../ajax_func.js" type="text/javascript"></script>
  9. <link href="../../../ui/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
  10. <link href="../../../ui/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
  11. <link href="../../../js/jQuery/jquery-ui.css" rel="stylesheet" />
  12. <script src="../../../js/jQuery/jquery.min.js" type="text/javascript"></script>
  13. <script src="../../../js/jQuery/jquery-ui.min.js" type="text/javascript"></script>
  14. <script src="../../../js/swift_calendar.js" type="text/javascript"></script>
  15. <script src="../../../js/swift_grid.js" type="text/javascript"> </script>
  16. <script src="../../../js/functions.js" type="text/javascript"> </script>
  17. <link href="../../../ui/css/style.css" rel="stylesheet" />
  18. <script src="../../../js/swift_autocomplete.js" type="text/javascript"></script>
  19. <script type="text/javascript">
  20. var urlRoot = "<%=GetStatic.GetUrlRoot()%>";
  21. $(document).ready(function () {
  22. $("#<%=usrName.ClientID %>").bind('keypress', function (e) {
  23. e = e || window.event;
  24. var charCode = (typeof e.which == "number") ? e.which : e.keyCode;
  25. if ((charCode != 13) && (/[^\d]/.test(String.fromCharCode(charCode)))) {
  26. return false;
  27. }
  28. });
  29. });
  30. function ShowProgressBar() {
  31. if ($.trim($("#<%=usrName.ClientID %>").val()) == "")
  32. return false;
  33. Process();
  34. return true;
  35. }
  36. function ShowBonusPointInNewWindow() {
  37. var userName = GetValue("<%=usrName.ClientID%>");
  38. if (userName == "") {
  39. alert("Please enter user email!");
  40. return false;
  41. }
  42. var url = "TransactionList.aspx?userName=" + userName;
  43. PopUpWindow(url, "dialogHeight:500px;dialogWidth:900px;dialogLeft:200;dialogTop:100;center:yes;");
  44. }
  45. function ShowSenderCustomerNewWindow() {
  46. var userName = GetValue("<%=usrName.ClientID %>");
  47. if (userName == "") {
  48. alert("Please enter user email!");
  49. return false;
  50. }
  51. var url = urlRoot + "/Remit/Administration/CustomerSetup/Display.aspx?userName=" + userName + "";
  52. OpenDialog(url, 650, 620);
  53. }
  54. </script>
  55. </head>
  56. <body>
  57. <form id="form1" runat="server">
  58. <div id="container" class="page-wrapper">
  59. <div class="row">
  60. <div class="col-sm-12">
  61. <div class="page-title">
  62. <h1></h1>
  63. <ol class="breadcrumb">
  64. <li><a href="../../../Front.aspx" target="mainFrame"><i class="fa fa-home"></i></a></li>
  65. <li><a href="#" onclick="return LoadModule('adminstration')">Bonus Management</a></li>
  66. <li class="active"><a href="ViewTransaction.aspx">TXN History</a></li>
  67. </ol>
  68. </div>
  69. </div>
  70. </div>
  71. <div class="row">
  72. <div class="col-sm-12">
  73. <div class="listtabs" style="margin-left: 8px;">
  74. <ul class="nav nav-tabs" role="tablist">
  75. <li><a href="Manage.aspx" id="pending" class="selected">Pending</a></li>
  76. <li><a id="approved" href="ApprovedList.aspx">Approved/Reject List </a></li>
  77. <li class="active"><a id="a1" href="ViewTransaction.aspx">TXN History </a></li>
  78. </ul>
  79. </div>
  80. </div>
  81. </div>
  82. <div class="tab-content">
  83. <div role="tabpanel" class="tab-pane active" id="list">
  84. <div class="row">
  85. <div class="col-md-12">
  86. <div class="panel panel-default">
  87. <div class="panel-heading">
  88. <h4 class="panel-title">Bonus Points Report</h4>
  89. <div class="panel-actions">
  90. <a href="#" class="panel-action panel-action-toggle" data-panel-toggle></a>
  91. </div>
  92. </div>
  93. <div class="panel-body">
  94. <div style="clear: both;">
  95. <table border="0" cellspacing="0" cellpadding="0" class="formTable" style="width: 750px; padding: 0em;">
  96. <tr>
  97. <td colspan="3">
  98. <div>
  99. <b>Customer UserName</b><br />
  100. <asp:TextBox runat="server" ID="usrName" Width="250px" CssClass="form-control"></asp:TextBox>
  101. <br />
  102. <asp:Button runat="server" ID="btnSearchCustomer" Text="Search"
  103. OnClientClick="return ShowProgressBar();" OnClick="btnSearchCustomer_Click" CssClass="btn btn-primary" />
  104. <span style="cursor: pointer;">
  105. <asp:Image runat="server" ID="infoImg"
  106. AlternateText="info" Width="16px" Style="display: none;" /></span>
  107. </div>
  108. </td>
  109. </tr>
  110. <tr>
  111. <td colspan="2">
  112. <br />
  113. <table class="DbResult" runat="server" id="TBLData" visible="false" align="left" style="width: 750px; padding: 0em; margin-right: 50px">
  114. <tr>
  115. <th colspan="5" style="text-align: left; font-size: small">Customer Detail
  116. </th>
  117. </tr>
  118. <tr>
  119. <td nowrap="nowrap">Full Name:
  120. </td>
  121. <td nowrap="nowrap">
  122. <asp:Label runat="server" ID="fullName" Style="font-weight: bold; color: Red;"></asp:Label>
  123. </td>
  124. <td nowrap="nowrap">DOB:
  125. </td>
  126. <td nowrap="nowrap">
  127. <asp:Label runat="server" ID="dob" Style="font-weight: bold; color: Red;"></asp:Label>
  128. </td>
  129. </tr>
  130. <tr>
  131. <td nowrap="nowrap">Gender:
  132. </td>
  133. <td nowrap="nowrap">
  134. <asp:Label runat="server" ID="gender" Style="font-weight: bold;"></asp:Label>
  135. </td>
  136. <td nowrap="nowrap">Native Country:
  137. </td>
  138. <td nowrap="nowrap">
  139. <asp:Label runat="server" ID="nativeCountry" Style="font-weight: bold;"></asp:Label>
  140. </td>
  141. </tr>
  142. <tr>
  143. <td nowrap="nowrap">ID Type:
  144. </td>
  145. <td nowrap="nowrap">
  146. <asp:Label runat="server" ID="idType" Style="font-weight: bold; color: Red;"></asp:Label>
  147. </td>
  148. <td nowrap="nowrap">ID Number:
  149. </td>
  150. <td nowrap="nowrap">
  151. <asp:Label runat="server" ID="idNumber" Style="font-weight: bold; color: Red;"></asp:Label>
  152. </td>
  153. </tr>
  154. <tr>
  155. <td nowrap="nowrap">Country:
  156. </td>
  157. <td nowrap="nowrap">
  158. <asp:Label runat="server" ID="country" Style="font-weight: bold;"></asp:Label>
  159. </td>
  160. <td nowrap="nowrap">State:
  161. </td>
  162. <td nowrap="nowrap">
  163. <asp:Label runat="server" ID="state" Style="font-weight: bold;"></asp:Label>
  164. </td>
  165. </tr>
  166. <tr>
  167. <td nowrap="nowrap">City:
  168. </td>
  169. <td nowrap="nowrap">
  170. <asp:Label runat="server" ID="city" Style="font-weight: bold;"></asp:Label>
  171. </td>
  172. <td nowrap="nowrap">Address:
  173. </td>
  174. <td width="200px">
  175. <asp:Label runat="server" ID="address" Style="font-weight: bold;"></asp:Label>
  176. </td>
  177. </tr>
  178. <tr>
  179. <td nowrap="nowrap">Mobile No:
  180. </td>
  181. <td nowrap="nowrap">
  182. <asp:Label runat="server" ID="mobileNo" Style="font-weight: bold;"></asp:Label>
  183. </td>
  184. <td nowrap="nowrap">E-mail:
  185. </td>
  186. <td nowrap="nowrap">
  187. <asp:Label runat="server" ID="email" Style="font-weight: bold;"></asp:Label>
  188. </td>
  189. </tr>
  190. <tr>
  191. <td>Member Id Issued Date:
  192. </td>
  193. <td nowrap="nowrap">
  194. <asp:Label runat="server" ID="memberIDissuedDate" Style="font-weight: bold;"></asp:Label>
  195. </td>
  196. <td nowrap="nowrap">Total Bonus Point:
  197. </td>
  198. <td nowrap="nowrap">
  199. <asp:Label runat="server" ID="bonusPoint" Style="font-weight: bold; color: Red;"></asp:Label>
  200. </td>
  201. </tr>
  202. <tr>
  203. <td colspan="5">
  204. <hr />
  205. </td>
  206. </tr>
  207. <tr>
  208. <td nowrap="nowrap">Redeemable available Products
  209. </td>
  210. <td nowrap="nowrap" class="text-amount" style="text-align: center;">
  211. <asp:Label runat="server" ID="redeemAvailableProducts" Style="font-weight: bold;"></asp:Label>
  212. </td>
  213. <td colspan="3">
  214. <asp:Button runat="server" ID="btnTxnHistory" OnClientClick="return ShowBonusPointInNewWindow();" Text="TXN History" />
  215. <input type="button" name="ViewProfile" id="btnViewProfile" value="View Profile" onclick="ShowSenderCustomerNewWindow()" />
  216. </td>
  217. </tr>
  218. <tr>
  219. <td>
  220. <div id="DivLoad" style="height: 20px; width: 220px; background-color: #333333; display: none; float: left">
  221. <img src="../../../../images/progressBar.gif" border="0" alt="Loading..." />
  222. </div>
  223. </td>
  224. <td colspan="2">
  225. <asp:Label runat="server" ID="pendingStatus" Style="font-weight: bold; color: Green;"></asp:Label>
  226. </td>
  227. </tr>
  228. <tr>
  229. <td colspan="2">
  230. <div runat="server" id="productList">
  231. </div>
  232. </td>
  233. </tr>
  234. <tr>
  235. <td colspan="3">
  236. <asp:HiddenField runat="server" ID="hdnPrizeId" />
  237. <asp:HiddenField runat="server" ID="hdnAgentId" />
  238. <asp:HiddenField runat="server" ID="hdnProductBonusPoint" />
  239. <asp:HiddenField runat="server" ID="hdnGiftItem" />
  240. <asp:HiddenField ID="hdnCustomerId" runat="server" />
  241. </td>
  242. </tr>
  243. </table>
  244. </td>
  245. </tr>
  246. </table>
  247. </div>
  248. </div>
  249. </div>
  250. </div>
  251. </div>
  252. </div>
  253. </div>
  254. </div>
  255. </form>
  256. </body>
  257. </html>