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.

235 lines
15 KiB

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="StatementDetails.aspx.cs"
  2. Inherits="Swift.web.AccountReport.AccountStatement.StatementDetails" %>
  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. <!--new css and js -->
  9. <link href="/ui/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
  10. <link href="/ui/css/waves.min.css" type="text/css" rel="stylesheet" />
  11. <!-- <link rel="stylesheet" href="css/nanoscroller.css">-->
  12. <link href="/ui/css/menu.css" type="text/css" rel="stylesheet" />
  13. <link href="/ui/css/style.css" type="text/css" rel="stylesheet" />
  14. <link href="/ui/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
  15. <script type="text/javascript" src="/ui/js/jquery.min.js"></script>
  16. <script type="text/javascript" src="/ui/bootstrap/js/bootstrap.min.js"></script>
  17. <script src="/ui/js/metisMenu.min.js"></script>
  18. <!--page plugins-->
  19. <script src="/js/Swift_grid.js" type="text/javascript"> </script>
  20. <script src="/js/jQuery/jquery-ui.min.js" type="text/javascript"></script>
  21. <link href="/js/jQuery/jquery-ui.css" rel="stylesheet" type="text/css" />
  22. <script src="/js/functions.js" type="text/javascript"> </script>
  23. <script src="/js/swift_autocomplete.js" type="text/javascript"></script>
  24. <script src="/js/swift_calendar.js" type="text/javascript"></script>
  25. <!-- end -->
  26. <base id="Base1" runat="server" target="_self" />
  27. <script src="/js/jQuery/jquery.min.js" type="text/javascript"></script>
  28. <script src="/js/jQuery/jquery-ui.min.js" type="text/javascript"></script>
  29. <link href="/js/jQuery/jquery-ui.css" rel="stylesheet" type="text/css" />
  30. <script src="/js/functions.js" type="text/javascript"> </script>
  31. <script src="/js/swift_calendar.js" type="text/javascript"></script>
  32. <%-- <link href="../../css/style.css" rel="stylesheet" type="text/css" />--%>
  33. <script type="text/javascript">
  34. function LoadCalendars() {
  35. ShowCalFromToUpToToday("#<% =startDate.ClientID %>", "#<% =endDate.ClientID %>", 1);
  36. }
  37. LoadCalendars();
  38. function DownloadPDF() {
  39. $(".noPrint").css("display", "none");
  40. var copy = document.getElementById("main").innerHTML;
  41. var encodedText = encodeURIComponent(copy);
  42. $("#hidden").val(encodedText);
  43. document.getElementById("buttonPdf").click();
  44. }
  45. </script>
  46. </head>
  47. <body>
  48. <form id="form" method="post" runat="server">
  49. <div class="page-wrapper">
  50. <div class="row">
  51. <div class="col-sm-12">
  52. <div class="page-title">
  53. <ol class="breadcrumb">
  54. <li><a href="../../Front.aspx" target="mainFrame"><i class="fa fa-home"></i></a></li>
  55. <li><a href="#" onclick="return LoadModule('account')">Account</a></li>
  56. <li><a href="#" onclick="return LoadModule('account_report')">Account Report </a></li>
  57. <li class="active"><a href="Statementdetails.aspx?startDate=<%= StartDate() %>&endDate=<%= EndDate() %>&acNum=<%= AccountNumber() %>&acName=<%=AccountName() %>">Balance Sheet</a></li>
  58. </ol>
  59. </div>
  60. </div>
  61. </div>
  62. <asp:Button ID="buttonPdf" runat="server" OnClick="buttonPdf_Click" Style="display: none;" />
  63. <asp:HiddenField ID="hidden" runat="server" />
  64. <div class="row">
  65. <div class="col-md-12">
  66. <div class="table-responsive">
  67. <table class="table">
  68. <tr>
  69. <td>
  70. <%-- <table width="30%">--%>
  71. <div class="table-responsive">
  72. <table class="table" width="100%" cellspacing="0" class="TBLReport">
  73. <tr>
  74. <td width="5%" nowrap="nowrap" align="left">
  75. <strong>AC number:</strong>
  76. </td>
  77. <td nowrap="nowrap" align="left">
  78. <asp:Label ID="acNumber" runat="server"></asp:Label>
  79. </td>
  80. <td align="right">
  81. <i class="fa fa-file-pdf-o" aria-hidden="true"></i>
  82. </td>
  83. </tr>
  84. <tr>
  85. <td nowrap="nowrap" align="left">
  86. <strong>AC Name:</strong>
  87. </td>
  88. <td nowrap="nowrap" align="left">
  89. <asp:Label ID="acName" runat="server"></asp:Label>
  90. </td>
  91. </tr>
  92. <tr>
  93. <td nowrap="nowrap" align="left">
  94. <strong>Currency:</strong>
  95. </td>
  96. <td nowrap="nowrap" align="left">
  97. <asp:DropDownList ID="ddlCurrency" runat="server" CssClass="form-control">
  98. </asp:DropDownList>
  99. <asp:HiddenField ID="hdnRptType" runat="server" />
  100. </td>
  101. </tr>
  102. <tr>
  103. <td nowrap="nowrap" align="left">
  104. <strong>Start Date: </strong>
  105. </td>
  106. <td nowrap="nowrap" align="left">
  107. <div class="input-group m-b">
  108. <span class="input-group-addon"><i class="fa fa-calendar" aria-hidden="true"></i></span>
  109. <asp:TextBox ID="startDate" runat="server" CssClass="form-control form-control-inline input-medium default-date-picker"></asp:TextBox>
  110. </div>
  111. </td>
  112. </tr>
  113. <tr>
  114. <td nowrap="nowrap" align="left">
  115. <strong>End Date: </strong>
  116. </td>
  117. <td align="left" nowrap="nowrap">
  118. <div class="input-group m-b">
  119. <span class="input-group-addon"><i class="fa fa-calendar" aria-hidden="true"></i></span>
  120. <asp:TextBox ID="endDate" runat="server" CssClass="form-control form-control-inline input-medium default-date-picker"></asp:TextBox>
  121. </div>
  122. </td>
  123. </tr>
  124. <tr>
  125. <td nowrap="nowrap">&nbsp;
  126. </td>
  127. <td nowrap="nowrap">
  128. <div align="left">
  129. <asp:Button ID="goBtn" CssClass="btn btn-primary" runat="server" Text="Go" OnClick="goBtn_Click" />
  130. </div>
  131. </td>
  132. </tr>
  133. </table>
  134. </div>
  135. </td>
  136. </tr>
  137. <tr>
  138. <td>
  139. <div id="main">
  140. <div id="tableBody" runat="server" class="col-md-12 table-responsive">
  141. <div class="table-responsive">
  142. <table class="table table-striped table-bordered" width="100%" cellspacing="0" class="TBLReport">
  143. <tr>
  144. <th nowrap="nowrap">Tran Date
  145. </th>
  146. <th nowrap="nowrap">Description
  147. </th>
  148. <th nowrap="nowrap">Dr Amount
  149. </th>
  150. <th nowrap="nowrap">Cr Amount
  151. </th>
  152. <th colspan="2" nowrap="nowrap">Balance
  153. </th>
  154. </tr>
  155. </table>
  156. </div>
  157. </div>
  158. </div>
  159. </td>
  160. </tr>
  161. <tr>
  162. <td colspan="6">
  163. <table width="35%" border="0" align="right" cellpadding="2" cellspacing="1">
  164. <tr>
  165. <td nowrap="nowrap">
  166. <div align="right">
  167. <strong>Opening Balance: </strong>
  168. </div>
  169. </td>
  170. <td nowrap="nowrap" style="text-align: right;">
  171. <div align="right">
  172. <strong>
  173. <asp:Label ID="openingBalance" runat="server"></asp:Label>
  174. </strong>
  175. </div>
  176. </td>
  177. </tr>
  178. <tr>
  179. <td nowrap="nowrap">
  180. <div align="right">
  181. <strong>Total DR:(
  182. <asp:Label runat="server" ID="drCount1"></asp:Label>)</strong>
  183. </div>
  184. </td>
  185. <td nowrap="nowrap" style="text-align: right;">
  186. <div align="right">
  187. <strong>
  188. <asp:Label runat="server" ID="totalDr"></asp:Label>
  189. </strong>
  190. </div>
  191. </td>
  192. </tr>
  193. <tr>
  194. <td nowrap="nowrap">
  195. <div align="right">
  196. <strong>Total CR:(
  197. <asp:Label runat="server" ID="crCount1"></asp:Label>)</strong>
  198. </div>
  199. </td>
  200. <td nowrap="nowrap" style="text-align: right;">
  201. <div align="right">
  202. <strong>
  203. <asp:Label runat="server" ID="totalCr"></asp:Label>
  204. </strong>
  205. </div>
  206. </td>
  207. </tr>
  208. <tr>
  209. <td nowrap="nowrap">
  210. <div align="right">
  211. <strong>Closing Balance:(
  212. <asp:Label runat="server" ID="drOrCr"></asp:Label>)</strong>
  213. </div>
  214. </td>
  215. <td nowrap="nowrap" style="text-align: right;">
  216. <div align="right">
  217. <a href="#" id="closingBalance" title="Bill by Bill Outstanding"><strong>
  218. <asp:Label ID="closingBalanceAmt" runat="server">0.00</asp:Label>
  219. </strong></a>
  220. </div>
  221. </td>
  222. </tr>
  223. </table>
  224. </td>
  225. </tr>
  226. </table>
  227. </div>
  228. </div>
  229. </div>
  230. </div>
  231. </form>
  232. </body>
  233. </html>