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.

213 lines
10 KiB

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="StatementResultDollor.aspx.cs"
  2. Inherits="Swift.web.AccountReport.AccountStatement.StatementResultDollor" %>
  3. <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
  4. <%@ Register TagPrefix="uc1" TagName="SwiftTextBox" Src="~/Component/AutoComplete/SwiftTextBox.ascx" %>
  5. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  6. <html xmlns="http://www.w3.org/1999/xhtml">
  7. <head id="Head1" runat="server">
  8. <base id="Base1" runat="server" target="_self" />
  9. <script src="../../js/jQuery/jquery.min.js" type="text/javascript"></script>
  10. <script src="../../js/jQuery/jquery-ui.min.js" type="text/javascript"></script>
  11. <link href="../../js/jQuery/jquery-ui.css" rel="stylesheet" type="text/css" />
  12. <script src="../../js/functions.js" type="text/javascript"> </script>
  13. <script src="../../js/swift_calendar.js" type="text/javascript"></script>
  14. <link href="../../css/style.css" rel="stylesheet" type="text/css" />
  15. <script type="text/javascript">
  16. function LoadCalendars() {
  17. ShowCalFromTo("#<% =startDate.ClientID %>", "#<% =endDate.ClientID %>", 1);
  18. }
  19. LoadCalendars();
  20. function DownloadPDF() {
  21. $(".noPrint").css("display", "none");
  22. var copy = document.getElementById("main").innerHTML;
  23. var encodedText = encodeURIComponent(copy);
  24. $("#hidden").val(encodedText);
  25. document.getElementById("pdf").click();
  26. }
  27. </script>
  28. </head>
  29. <body>
  30. <form id="form" method="post" runat="server">
  31. <div class="breadCrumb">
  32. &nbsp;&nbsp;Account Statement FCY
  33. </div>
  34. <asp:Button ID="pdf" runat="server" OnClick="pdf_Click" Style="display: none;" />
  35. <asp:HiddenField ID="hidden" runat="server" />
  36. <div id="main">
  37. <table width="90%">
  38. <tr>
  39. <td>
  40. <table width="30%">
  41. <tr>
  42. <td width="30%" nowrap="nowrap">
  43. <div align="left">
  44. <strong>AC number:</strong>
  45. </div>
  46. </td>
  47. <td width="70%" nowrap="nowrap">
  48. <div align="left">
  49. <asp:Label ID="acNumber" runat="server"></asp:Label>
  50. </div>
  51. </td>
  52. </tr>
  53. <tr>
  54. <td nowrap="nowrap">
  55. <div align="left">
  56. <strong>AC Name:</strong>
  57. </div>
  58. </td>
  59. <td nowrap="nowrap">
  60. <div align="left">
  61. <asp:Label ID="acName" runat="server"></asp:Label>
  62. </div>
  63. </td>
  64. </tr>
  65. <tr>
  66. <td nowrap="nowrap">
  67. <div align="left">
  68. <strong>Start Date: </strong>
  69. </div>
  70. </td>
  71. <td nowrap="nowrap">
  72. <div align="left">
  73. <asp:TextBox ID="startDate" runat="server" Width="100"></asp:TextBox>
  74. </div>
  75. </td>
  76. </tr>
  77. <tr>
  78. <td nowrap="nowrap">
  79. <div align="left">
  80. <strong>End Date: </strong>
  81. </div>
  82. </td>
  83. <td nowrap="nowrap">
  84. <div align="left">
  85. <asp:TextBox ID="endDate" runat="server" Width="100"></asp:TextBox>
  86. </div>
  87. </td>
  88. </tr>
  89. <tr>
  90. <td nowrap="nowrap">&nbsp;
  91. </td>
  92. <td nowrap="nowrap">
  93. <div align="left">
  94. <asp:Button ID="goBtn" runat="server" CssClass="noPrint" Text=" Go " OnClick="goBtn_Click" />
  95. </div>
  96. </td>
  97. </tr>
  98. </table>
  99. </td>
  100. <td>
  101. <img alt="Export to PDF" title="Export to PDF" style="cursor: pointer" class="noPrint"
  102. onclick="DownloadPDF();" src="../../images/pdf.png" border="0" />
  103. </td>
  104. </tr>
  105. <tr>
  106. <td colspan="2">
  107. <div align="center">
  108. <%--<asp:Label runat="server" ID="letterHead"></asp:Label><br />--%>
  109. <strong>Account Statement FCY Report</strong>
  110. </div>
  111. </td>
  112. </tr>
  113. <tr>
  114. <td>
  115. <div id="tableBody" runat="server">
  116. <table width="100%" class="TBLReport">
  117. <tr>
  118. <th nowrap="nowrap">Transaction Date
  119. </th>
  120. <th nowrap="nowrap">Description
  121. </th>
  122. <th nowrap="nowrap">Dr Amount
  123. </th>
  124. <th nowrap="nowrap">Cr Amount
  125. </th>
  126. <th colspan="2" nowrap="nowrap">Balance
  127. </th>
  128. </tr>
  129. <tr>
  130. <td align="right">a
  131. </td>
  132. <td align="right">a
  133. </td>
  134. <td align="right">a
  135. </td>
  136. <td align="right">a
  137. </td>
  138. <td align="right">a
  139. </td>
  140. </tr>
  141. </table>
  142. </div>
  143. </td>
  144. </tr>
  145. <tr>
  146. <td colspan="6">
  147. <table width="35%" border="0" align="right" cellpadding="2" cellspacing="1">
  148. <tr>
  149. <td nowrap="nowrap">
  150. <div align="right">
  151. <strong>Opening Balance: </strong>
  152. </div>
  153. </td>
  154. <td nowrap="nowrap" style="text-align: right;">
  155. <div align="right">
  156. <strong>
  157. <asp:Label ID="openingBalance" runat="server"></asp:Label>
  158. </strong>
  159. </div>
  160. </td>
  161. </tr>
  162. <tr>
  163. <td nowrap="nowrap">
  164. <div align="right">
  165. <strong>DR:(<asp:Label ID="drCount" runat="server"></asp:Label>) </strong>
  166. </div>
  167. </td>
  168. <td nowrap="nowrap" style="text-align: right;">
  169. <div align="right">
  170. <strong>
  171. <asp:Label ID="drAmt" runat="server"></asp:Label>
  172. </strong>
  173. </div>
  174. </td>
  175. </tr>
  176. <tr>
  177. <td nowrap="nowrap">
  178. <div align="right">
  179. <strong>CR:(
  180. <asp:Label ID="crCount" runat="server"></asp:Label>)</strong>
  181. </div>
  182. </td>
  183. <td nowrap="nowrap" style="text-align: right;">
  184. <div align="right">
  185. <strong>
  186. <asp:Label ID="crAmt" runat="server"></asp:Label>
  187. </strong>
  188. </div>
  189. </td>
  190. </tr>
  191. <tr>
  192. <td nowrap="nowrap">
  193. <div align="right">
  194. <strong>Closing Balance:(
  195. <asp:Label runat="server" ID="drOrCr"></asp:Label>)</strong>
  196. </div>
  197. </td>
  198. <td nowrap="nowrap" style="text-align: right;">
  199. <div align="right">
  200. <a href="#" id="closingBalance" title="Bill by Bill Outstanding"><strong>
  201. <asp:Label ID="closingBalanceAmt" runat="server">0.00</asp:Label>
  202. </strong></a>
  203. </div>
  204. </td>
  205. </tr>
  206. </table>
  207. </td>
  208. </tr>
  209. </table>
  210. </div>
  211. </form>
  212. </body>
  213. </html>