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.

492 lines
22 KiB

  1. <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UcTran.ascx.cs" Inherits="Swift.web.Remit.UserControl.UcTran" %>
  2. <head>
  3. <link href="../../css/TranStyle.css" rel="stylesheet" type="text/css" />
  4. <link href="../../css/TranStyle2.css" rel="stylesheet" type="text/css" />
  5. <link href="../../css/style.css" rel="stylesheet" type="text/css" />
  6. <script src="../../js/swift_grid.js" type="text/javascript"> </script>
  7. <script src="../../js/functions.js" type="text/javascript"> </script>
  8. <style type="text/css">
  9. .DisFond
  10. {
  11. font-size:17px;
  12. color:Red;
  13. background-color:#F9CCCC;
  14. padding: 5px;
  15. }
  16. .trnLog table
  17. {
  18. border:1px solid black;
  19. padding: 5px;
  20. }
  21. .trnLog th
  22. {
  23. font-size:13px;
  24. color: Black;
  25. background-color:#F9CCCC;
  26. text-align:left;
  27. padding: 5px;
  28. }
  29. .trnLog td
  30. {
  31. font-size:12px;
  32. color: Black;
  33. text-align:left;
  34. padding: 5px;
  35. }
  36. </style>
  37. </head>
  38. <asp:Panel ID = "pnlDetail" runat = "server">
  39. <div id="divDetails" style="clear: both; text-align:" class="panels">
  40. <div style=" text-align:center;">
  41. <span style="font-size: 2em; font-weight: bold;">
  42. <asp:Label ID="tranNoName" runat="server"></asp:Label>:
  43. <span style="color: red;"><asp:Label ID="lblControlNo" runat="server"></asp:Label></span>
  44. </span>
  45. <span style="width:100px;"></span>
  46. <span style="background:; font-size: 2em; font-weight: bold;">
  47. Transaction Status:
  48. <span style="color: red;"> <asp:Label ID = "tranStatus" runat = "server"></asp:Label> </span>
  49. </span>
  50. </div>
  51. <table width="100%" cellspacing="0" cellpadding="0">
  52. <tr>
  53. <td class="tableForm" colspan="2">
  54. <fieldset>
  55. <table style="width: 100%">
  56. <tr>
  57. <td>
  58. <table id="tblCreatedLog" runat="server" Visible="false">
  59. <tr>
  60. <td>Created By:</td>
  61. <td>
  62. <asp:Label ID="createdBy" runat="server"></asp:Label>
  63. </td>
  64. </tr>
  65. <tr>
  66. <td>Created Date:</td>
  67. <td>
  68. <asp:Label ID="createdDate" runat="server"></asp:Label>
  69. </td>
  70. </tr>
  71. </table>
  72. </td>
  73. <td>
  74. <table id="tblApprovedLog" runat="server" Visible="false">
  75. <tr>
  76. <td>Approved By:</td>
  77. <td>
  78. <asp:Label ID="approvedBy" runat="server"></asp:Label>
  79. </td>
  80. </tr>
  81. <tr>
  82. <td>Approved Date:</td>
  83. <td>
  84. <asp:Label ID="approvedDate" runat="server"></asp:Label>
  85. </td>
  86. </tr>
  87. </table>
  88. </td>
  89. <td>
  90. <table id="tblPaidLog" runat="server" Visible="false">
  91. <tr>
  92. <td>Paid By:</td>
  93. <td>
  94. <asp:Label ID="paidBy" runat="server"></asp:Label>
  95. </td>
  96. </tr>
  97. <tr>
  98. <td>Paid Date:</td>
  99. <td>
  100. <asp:Label ID="paidDate" runat="server"></asp:Label>
  101. </td>
  102. </tr>
  103. </table>
  104. </td>
  105. <td>
  106. <table id="tblCancelRequestedLog" runat="server" Visible="false">
  107. <tr>
  108. <td>Cancel Requested By:</td>
  109. <td>
  110. <asp:Label ID="cancelRequestedBy" runat="server"></asp:Label>
  111. </td>
  112. </tr>
  113. <tr>
  114. <td>Cancel Requested Date:</td>
  115. <td>
  116. <asp:Label ID="cancelRequestedDate" runat="server"></asp:Label>
  117. </td>
  118. </tr>
  119. </table>
  120. </td>
  121. <td>
  122. <table id="tblCancelApprovedLog" runat="server" Visible="false">
  123. <tr>
  124. <td>Cancel Approved By:</td>
  125. <td>
  126. <asp:Label ID="cancelApprovedBy" runat="server"></asp:Label>
  127. </td>
  128. </tr>
  129. <tr>
  130. <td>Cancel Approved Date:</td>
  131. <td>
  132. <asp:Label ID="cancelApprovedDate" runat="server"></asp:Label>
  133. </td>
  134. </tr>
  135. </table>
  136. </td>
  137. </tr>
  138. </table>
  139. </fieldset>
  140. </td>
  141. </tr>
  142. <tr>
  143. <td width="400px" valign="top" class="tableForm">
  144. <fieldset>
  145. <legend>Sender</legend>
  146. <table style="width: 100%">
  147. <tr style="background-color: #FDF79D;">
  148. <td class = "label">Name: </td>
  149. <td class = "text">
  150. <asp:Label ID = "sName" runat = "server"></asp:Label>
  151. </td>
  152. </tr>
  153. <tr>
  154. <td class = "label">Address: </td>
  155. <td class = "text">
  156. <asp:Label ID = "sAddress" runat = "server"></asp:Label>
  157. </td>
  158. </tr>
  159. <tr>
  160. <td class = "label">Country: </td>
  161. <td class = "text">
  162. <asp:Label ID = "sCountry" runat = "server"></asp:Label>
  163. </td>
  164. </tr>
  165. <tr>
  166. <td class = "label">Contact No: </td>
  167. <td class = "text">
  168. <asp:Label ID = "sContactNo" runat = "server"></asp:Label>
  169. </td>
  170. </tr>
  171. <tr>
  172. <td class = "label">Id Type: </td>
  173. <td class = "text">
  174. <asp:Label ID = "sIdType" runat = "server"></asp:Label>
  175. </td>
  176. </tr>
  177. <tr>
  178. <td class = "label">Id Number: </td>
  179. <td class = "text">
  180. <asp:Label ID = "sIdNo" runat = "server"></asp:Label>
  181. </td>
  182. </tr>
  183. <tr>
  184. <td class = "label">Email: </td>
  185. <td class = "text">
  186. <asp:Label ID = "sEmail" runat = "server"></asp:Label>
  187. </td>
  188. </tr>
  189. </table>
  190. </fieldset>
  191. </td>
  192. <td valign="top" class="tableForm">
  193. <fieldset>
  194. <legend>Receiver</legend>
  195. <table style="width: 100%">
  196. <tr style="background-color: #F9CCCC;">
  197. <td class = "label">Name: </td>
  198. <td class = "text">
  199. <asp:Label ID = "rName" runat = "server"></asp:Label>
  200. </td>
  201. </tr>
  202. <tr>
  203. <td class = "label">Address: </td>
  204. <td class = "text">
  205. <asp:Label ID = "rAddress" runat = "server"></asp:Label>
  206. </td>
  207. </tr>
  208. <tr>
  209. <td class = "label">Country: </td>
  210. <td class = "text">
  211. <asp:Label ID = "rCountry" runat = "server"></asp:Label>
  212. </td>
  213. </tr>
  214. <tr>
  215. <td class = "label">Contact No: </td>
  216. <td class = "text">
  217. <asp:Label ID = "rContactNo" runat = "server"></asp:Label>
  218. </td>
  219. </tr>
  220. <tr>
  221. <td class = "label">Id Type: </td>
  222. <td class = "text">
  223. <asp:Label ID = "rIdType" runat = "server"></asp:Label>
  224. </td>
  225. </tr>
  226. <tr>
  227. <td class = "label">Id Number: </td>
  228. <td class = "text">
  229. <asp:Label ID = "rIdNo" runat = "server"></asp:Label>
  230. </td>
  231. </tr>
  232. <tr>
  233. <td class = "label">Relationship with sender: </td>
  234. <td class = "text">
  235. <asp:Label ID = "relationship" runat = "server"></asp:Label>
  236. </td>
  237. </tr>
  238. </table>
  239. </fieldset>
  240. </td>
  241. </tr>
  242. <tr>
  243. <td valign="top" class="tableForm">
  244. <fieldset>
  245. <legend>Sending Agent</legend>
  246. <table style="width: 100%">
  247. <tr>
  248. <td class = "label">Agent: </td>
  249. <td class = "text">
  250. <asp:Label ID = "sAgentName" runat = "server"></asp:Label>
  251. </td>
  252. </tr>
  253. <tr>
  254. <td class="label">Branch: </td>
  255. <td class="text">
  256. <asp:Label ID="sBranchName" runat="server"></asp:Label>
  257. </td>
  258. </tr>
  259. <tr>
  260. <td class = "label">S. Agent Location: </td>
  261. <td class = "text">
  262. <asp:Label ID = "sAgentLocation" runat = "server"></asp:Label>
  263. </td>
  264. </tr>
  265. <tr>
  266. <td class = "label">District:</td>
  267. <td class = "text">
  268. <asp:Label ID = "sAgentDistrict" runat = "server"></asp:Label>
  269. </td>
  270. </tr>
  271. <tr>
  272. <td class = "label">City: </td>
  273. <td class = "text">
  274. <asp:Label ID = "sAgentCity" runat = "server"></asp:Label>
  275. </td>
  276. </tr>
  277. <tr>
  278. <td class = "label">Country: </td>
  279. <td class = "text">
  280. <asp:Label ID = "sAgentCountry" runat = "server"></asp:Label>
  281. </td>
  282. </tr>
  283. </table>
  284. </fieldset>
  285. </td>
  286. <td valign="top" class="tableForm">
  287. <fieldset>
  288. <legend>Payout Agent</legend>
  289. <table style="width: 100%">
  290. <tr>
  291. <td class = "label">Agent: </td>
  292. <td class = "text">
  293. <asp:Label ID = "pAgentName" runat = "server"></asp:Label>
  294. </td>
  295. </tr>
  296. <tr>
  297. <td class = "label">Branch: </td>
  298. <td class = "text">
  299. <asp:Label ID = "pBranchName" runat = "server"></asp:Label>
  300. </td>
  301. </tr>
  302. <tr style="display:none">
  303. <td class = "label">Payout Location: </td>
  304. <td class = "text">
  305. <asp:Label ID = "pAgentLocation" runat = "server"></asp:Label>
  306. </td>
  307. </tr>
  308. <tr>
  309. <td class = "label">District: </td>
  310. <td class = "text">
  311. <asp:Label ID = "pAgentDistrict" runat = "server"></asp:Label>
  312. </td>
  313. </tr>
  314. <tr>
  315. <td class = "label">City: </td>
  316. <td class = "text">
  317. <asp:Label ID = "pAgentCity" runat = "server"></asp:Label>
  318. </td>
  319. </tr>
  320. <tr>
  321. <td class = "label">Country: </td>
  322. <td class = "text">
  323. <asp:Label ID = "pAgentCountry" runat = "server"></asp:Label>
  324. </td>
  325. </tr>
  326. </table>
  327. </fieldset>
  328. </td>
  329. </tr>
  330. <tr class="hightLightTranStatus" runat="server" id="showHideTranStatus" visible="false">
  331. <td colspan="2">
  332. <div id="highLightTranStatus" runat="server" class="hightLightTranStatus"></div>
  333. </td>
  334. </tr>
  335. <tr>
  336. <td class = "tableForm" valign="top">
  337. <fieldset>
  338. <legend>Transaction Amount </legend>
  339. <table class="rateTable" cellspacing="0" cellpadding="2">
  340. <tr>
  341. <td class = "label">Payout Amount: </td>
  342. <td class = "text-amount DisFond">
  343. <asp:Label ID = "payoutAmt" runat = "server"></asp:Label>
  344. <asp:Label ID = "pAmtCurr" runat="server" ></asp:Label>
  345. </td>
  346. </tr>
  347. </table>
  348. </fieldset>
  349. </td>
  350. <td valign="top" class="tableForm">
  351. <fieldset>
  352. <legend>Other </legend>
  353. <table style="width: 100%">
  354. <tr>
  355. <td class = "label">Mode of Payment: </td>
  356. <td class = "text">
  357. <asp:Label ID = "modeOfPayment" runat = "server"></asp:Label>
  358. </td>
  359. </tr>
  360. <tr>
  361. <td class = "DisFond">Pay Status:</td>
  362. <td class = "DisFond">
  363. <asp:Label ID = "payStatus" runat = "server"></asp:Label>
  364. </td>
  365. </tr>
  366. <tr id="trAc" runat="server">
  367. <td class = "label">Account Number: </td>
  368. <td class = "text">
  369. <asp:Label ID = "accountNo" runat = "server"></asp:Label>
  370. </td>
  371. </tr>
  372. <tr id="trBank" runat="server">
  373. <td class = "label">Bank Name: </td>
  374. <td class = "text">
  375. <asp:Label ID = "bankName" runat = "server"></asp:Label>
  376. </td>
  377. </tr>
  378. <tr id="trBranch" runat="server">
  379. <td class = "label">Branch Name: </td>
  380. <td class = "text">
  381. <asp:Label ID = "branchName" runat = "server"></asp:Label>
  382. </td>
  383. </tr>
  384. </table>
  385. </fieldset>
  386. </td>
  387. </tr>
  388. <tr>
  389. <td colspan="2">
  390. <fieldset>
  391. <table>
  392. <tr>
  393. <td>
  394. <b>Payout Message</b>
  395. <br />
  396. <asp:Label ID="payoutMsg" runat="server"></asp:Label>
  397. </td>
  398. </tr>
  399. </table>
  400. </fieldset>
  401. </td>
  402. </tr>
  403. <tr>
  404. <td colspan="2">
  405. <asp:HiddenField ID="hddTranId" runat="server" />
  406. <asp:HiddenField ID="hddPayTokenId" runat="server" />
  407. </td>
  408. </tr>
  409. </table>
  410. </div>
  411. </asp:Panel>
  412. <asp:UpdatePanel ID="upnl1" runat="server">
  413. <ContentTemplate>
  414. <asp:Panel ID = "pnlLog" runat = "server">
  415. <div class="headers">Transaction Complain (Trouble Ticket)</div>
  416. <div id="div1" style="clear: both;" class="panels">
  417. <table>
  418. <tr>
  419. <td><div id="rptLog" runat="server"></div></td>
  420. </tr>
  421. <asp:Panel ID = "pnlComment" runat = "server">
  422. <tr>
  423. <td>
  424. <asp:TextBox runat = "server" ID = "comments" TextMode = "MultiLine"
  425. Height="50px" Width="750px"></asp:TextBox>
  426. <br>
  427. <br>
  428. <asp:Button ID="btnAdd" runat="server" CssClass="button" onclick="btnAdd_Click"
  429. Text="Add New Complain" />
  430. </td>
  431. </tr>
  432. </asp:Panel>
  433. </table>
  434. </div>
  435. </asp:Panel>
  436. </ContentTemplate>
  437. </asp:UpdatePanel>
  438. <asp:Panel ID = "pnlOFAC" runat = "server">
  439. <div class="headers">OFAC </div>
  440. <div id="div3" style="clear: both;" class="panels">
  441. <div id="displayOFAC" runat="server" style=" height:250px; overflow:auto;"></div>
  442. <br />
  443. <div><b>OFAC Approved Remarks</b></div>
  444. <asp:TextBox runat = "server" ID = "remarksOFAC" TextMode = "MultiLine"
  445. Height="50px" Width="750px"></asp:TextBox>
  446. <br>
  447. <br>
  448. </br>
  449. </div>
  450. </asp:Panel>
  451. <asp:Panel ID = "pnlCompliance" runat = "server">
  452. <div class="headers">Compliance </div>
  453. <div id="div4" style="clear: both;" class="panels">
  454. <div id="displayCompliance" style=" height:150px; overflow:auto;" runat="server"></div>
  455. <br />
  456. <div><b>Compliance Approved Remarks</b></div>
  457. <asp:TextBox runat = "server" ID = "remarksCompliance" TextMode = "MultiLine"
  458. Height="50px" Width="750px"></asp:TextBox>
  459. </div>
  460. </asp:Panel>
  461. <asp:Panel ID = "pnlReleaseBtn" runat = "server">
  462. <div id="div5" style="clear: both;" class="panels">
  463. <asp:Button ID="btnApproveCompliance" runat="server" CssClass="button" onclick="btnApproveCompliance_Click"
  464. Text="Release Transaction" />
  465. </div>
  466. </asp:Panel>