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.

191 lines
13 KiB

  1. <%@ Page Title="" Language="C#" MasterPageFile="~/AgentNew/AgentMain.Master" AutoEventWireup="true" CodeBehind="TransactionDetail.aspx.cs" Inherits="Swift.web.AgentNew.Utilities.ModifyRequest.TransactionDetail" %>
  2. <%@ Register TagPrefix="uc1" TagName="UcTransactionSend" Src="~/Remit/UserControl/UcTransactionSend.ascx" %>
  3. <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
  4. <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
  5. <style>
  6. .table > tbody > tr > td {
  7. border: none;
  8. }
  9. .errorMsg {
  10. color: red;
  11. }
  12. .text-uppercase {text-transform: uppercase;}
  13. #ContentPlaceHolder1_ucTran_rName {
  14. text-transform: uppercase;
  15. }
  16. #ContentPlaceHolder1_ucTran_rAddress{
  17. text-transform: uppercase;
  18. }
  19. </style>
  20. <script type="text/javascript">
  21. function Delete(obj) {
  22. document.getElementById("<%=rowid.ClientID%>").value = obj;
  23. GetElement("<%=btnDelete.ClientID %>").click();
  24. }
  25. function UcaseTxt(UpCstr) {
  26. var UCStr = UpCstr.value;
  27. UpCstr.value = UCStr.toUpperCase();
  28. }
  29. </script>
  30. </asp:Content>
  31. <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
  32. <div class="page-wrapper">
  33. <div class="row" id="top">
  34. <div class="col-sm-12">
  35. <div class="page-title">
  36. <h1></h1>
  37. <ol class="breadcrumb">
  38. <li><a href="../../../Agent/AgentMain.aspx" target="mainFrame"><i class="fa fa-home"></i></a></li>
  39. <li><a href="#" onclick="return LoadModuleAgentMenu('other_services')">Other Services</a></li>
  40. <li class="active"><a href="TransactionDetail.aspx">Modification Request</a></li>
  41. </ol>
  42. </div>
  43. </div>
  44. </div>
  45. <asp:UpdateProgress ID="updProgress" AssociatedUpdatePanelID="upd1" runat="server">
  46. <ProgressTemplate>
  47. <div style="position: fixed; left: 530px; top: 0px; background-color: white; border: 1px solid black;">
  48. <img alt="progress" src="../../../Images/Loading_small.gif" />
  49. Processing...
  50. </div>
  51. </ProgressTemplate>
  52. </asp:UpdateProgress>
  53. <asp:UpdatePanel ID="upd1" runat="server" UpdateMode="Conditional">
  54. <ContentTemplate>
  55. <div id="divControlno" runat="server">
  56. <%-->>Transaction View Details --%>
  57. <div id="divTranDetails" runat="server" visible="false">
  58. <div>
  59. <uc1:UcTransactionSend ID="ucTran" runat="server" ShowDetailBlock="true" ShowLogBlock="true" ShowCommentBlock="false" />
  60. </div>
  61. </div>
  62. <%-->>Transaction Modification Request Form --%>
  63. <div id="modtable" runat="server" visible="false">
  64. <div class="panel panel-default">
  65. <div class="panel-heading">Transaction Modification Request</div>
  66. <div class="panel-body">
  67. <table id="Table1" runat="server" class="table">
  68. <tr>
  69. <td>
  70. <table width="100%" class="table">
  71. <tr>
  72. <td nowrap="nowrap">Amendment For :<br />
  73. <asp:DropDownList ID="txnmodifyField" runat="server"
  74. AutoPostBack="true"
  75. OnSelectedIndexChanged="txnmodifyField_SelectedIndexChanged" CssClass="form-control">
  76. </asp:DropDownList>
  77. </td>
  78. <td nowrap="nowrap">
  79. <span id="newValueLabel" runat="server" visible="false">New Value
  80. <span id="Span1" class="errorMsg" runat="server">*</span>
  81. <br />
  82. <asp:DropDownList ID="idType" runat="server" CssClass="form-control">
  83. </asp:DropDownList>
  84. <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="idType"
  85. ForeColor="Red" Display="Dynamic" ErrorMessage="Required!" ValidationGroup="add"
  86. SetFocusOnError="True">
  87. </asp:RequiredFieldValidator>
  88. </span>
  89. <span id="labelValue" runat="server">New Value
  90. <span id="Span2" class="errorMsg" runat="server">*</span>
  91. <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="txtValue"
  92. ForeColor="Red" Display="Dynamic" ErrorMessage="Required!" ValidationGroup="add"
  93. SetFocusOnError="True">
  94. </asp:RequiredFieldValidator>
  95. <br />
  96. <asp:TextBox ID="txtValue" runat="server" CssClass="form-control text-uppercase" onkeyup="UcaseTxt(this)"></asp:TextBox>
  97. </span>
  98. <div id="nameTable" runat="server" visible="false">
  99. <table id="Table2" runat="server" class="table">
  100. <tr>
  101. <td nowrap="nowrap">
  102. <asp:Label ID="firstName" Text="First Name" runat="server"></asp:Label>
  103. <span class="ErrMsg">*</span>
  104. <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtFirstName"
  105. ForeColor="Red" Display="Dynamic" ErrorMessage="Required!" ValidationGroup="add"
  106. SetFocusOnError="True">
  107. </asp:RequiredFieldValidator>
  108. <br />
  109. <asp:TextBox ID="txtFirstName" runat="server" CssClass="form-control text-uppercase" onkeyup="UcaseTxt(this)"></asp:TextBox>
  110. </td>
  111. <td style="vertical-align: top;" nowrap="nowrap">
  112. <asp:Label ID="middleName" Text="Middle Name" runat="server" Width="125px"></asp:Label><br />
  113. <asp:TextBox ID="txtMiddleName" runat="server" CssClass="form-control text-uppercase" onkeyup="UcaseTxt(this)"></asp:TextBox>
  114. </td>
  115. <td nowrap="nowrap">
  116. <asp:Label ID="firstLastName" Text="Last Name" runat="server"></asp:Label>
  117. <span class="ErrMsg">*</span>
  118. <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtFirstLastName"
  119. ForeColor="Red" Display="Dynamic" ErrorMessage="Required!" ValidationGroup="add"
  120. SetFocusOnError="True">
  121. </asp:RequiredFieldValidator>
  122. <br />
  123. <asp:TextBox ID="txtFirstLastName" runat="server" Width="125px" CssClass="form-control text-uppercase" onkeyup="UcaseTxt(this)"></asp:TextBox>
  124. </td>
  125. <td style="vertical-align: top; display: none;" nowrap="nowrap">
  126. <asp:Label ID="secondLastName" Text="Second Last Name" runat="server" Width="125px"></asp:Label><br />
  127. <asp:TextBox ID="txtSecondLastName" runat="server" CssClass="form-control text-uppercase" onkeyup="UcaseTxt(this)"></asp:TextBox>
  128. </td>
  129. </tr>
  130. </table>
  131. </div>
  132. </td>
  133. <td>
  134. <label>&nbsp;</label>
  135. <asp:Button ID="btnAdd" runat="server" Text="Add" ValidationGroup="add" CssClass="btn btn-primary"
  136. OnClick="btnAdd_Click" />
  137. </td>
  138. </tr>
  139. <tr>
  140. <td style="width: 100%" colspan="2">
  141. <div style="width: 100%" id="dispRequest" runat="server" visible="false"></div>
  142. </td>
  143. </tr>
  144. <tr>
  145. <td nowrap="nowrap" colspan="2">User Email:<br />
  146. <asp:TextBox ID="emailAdd" runat="server" Width="47.5%" ReadOnly="true" CssClass="form-control"></asp:TextBox>
  147. (Check your authorized email, if you found incorrect email here, please contact headoffice! )
  148. </td>
  149. </tr>
  150. <tr>
  151. <td valign="middle">
  152. <asp:Button ID="btnRequest" runat="server" Text="Request" ValidationGroup="request" OnClick="btnRequest_Click" CssClass="btn btn-primary" />
  153. <cc1:ConfirmButtonExtender ID="btnCancelcc" runat="server"
  154. ConfirmText="Confirm To Request ?" Enabled="True"
  155. TargetControlID="btnRequest">
  156. </cc1:ConfirmButtonExtender>
  157. <input type="button" id="btnBack" value="Back" class="btn btn-primary" onclick="window.location.replace('Search.aspx'); " />
  158. </td>
  159. </tr>
  160. </table>
  161. </td>
  162. </tr>
  163. </table>
  164. </div>
  165. </div>
  166. <asp:HiddenField ID="rowid" runat="server" />
  167. <asp:Button ID="btnDelete" runat="server" Text="Button" Style="display: none" OnClick="btnDelete_Click" CssClass="btn btn-danger" />
  168. </div>
  169. </div>
  170. </ContentTemplate>
  171. </asp:UpdatePanel>
  172. </div>
  173. </asp:Content>