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.

156 lines
8.5 KiB

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="userreportResultSingle.aspx.cs"
  2. Inherits="Swift.web.AccountReport.AccountStatement.userreportResultSingle" %>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head id="Head1" runat="server">
  6. <base id="Base1" runat="server" target="_self" />
  7. <link href="/ui/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
  8. <link href="/ui/css/style.css" rel="stylesheet" />
  9. <link href="/ui/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
  10. <script type="text/javascript" src="/ui/js/jquery.min.js"></script>
  11. <script src="/ui/bootstrap/js/bootstrap.min.js"></script>
  12. <link href="/js/jQuery/jquery-ui.css" rel="stylesheet" type="text/css" />
  13. <link href="/ui/css/datepicker-custom.css" rel="stylesheet" />
  14. <script src="/ui/js/bootstrap-datepicker.js"></script>
  15. <script src="/js/functions.js" type="text/javascript"> </script>
  16. <script src="/ui/js/pickers-init.js"></script>
  17. <script src="/ui/js/jquery-ui.min.js"></script>
  18. <!--page plugins-->
  19. <script type="text/javascript">
  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. function ShowImage(img) {
  28. var url = "../../img.ashx?functionId=vdoc&id=" + $(img).attr("src");
  29. OpenInNewWindow(url);
  30. }
  31. </script>
  32. </head>
  33. <body>
  34. <form id="form1" runat="server">
  35. <div class="page-wrapper">
  36. <div class="row">
  37. <div class="col-sm-12">
  38. <div class="page-title">
  39. <ol class="breadcrumb">
  40. <li><a href="../../Front.aspx" target="mainFrame"><i class="fa fa-home"></i></a></li>
  41. <li><a href="#" onclick="return LoadModule('account')">Account</a></li>
  42. <li><a href="#" onclick="return LoadModule('account_report')">Account Report </a></li>
  43. <li class="active"><a href="userreportResultSingle.aspx?company_id=1&vouchertype=<%=VoucherType() %>&type=trannumber&trn_date=<%=TransactionDate() %>&tran_num=<%=TransactionNumber() %>">Balance Sheet</a></li>
  44. </ol>
  45. </div>
  46. </div>
  47. </div>
  48. <asp:Button ID="pdf" runat="server" OnClick="pdf_Click" Style="display: none;" />
  49. <asp:HiddenField ID="hidden" runat="server" />
  50. <div id="main">
  51. <div class="row">
  52. <div class="col-md-10">
  53. <div class="table-responsive">
  54. <table class="table" width="100%" cellspacing="0" class="TBLReport">
  55. <tr>
  56. <td width="95%" nowrap="nowrap" align="center">
  57. <div align="center" id="letterHead" runat="server">
  58. </div>
  59. <strong>
  60. <asp:Label ID="voucherType" runat="server"></asp:Label>
  61. Voucher</strong>
  62. </td>
  63. <td width="5%" nowrap="nowrap" valign="bottom">
  64. <div align="right">
  65. <asp:Image ID="voucherImg" Height="70" onclick="ShowImage(this);" Width="70" Visible="false" runat="server" />
  66. <%-- <img alt="Export to PDF" title="Export to PDF" style="cursor: pointer" class="noPrint"
  67. onclick="DownloadPDF();" src="../../images/pdf.png" border="0" />--%>
  68. <span onclick="DownloadPDF();" style="cursor: pointer" class="noPrint"><i class="fa fa-file-pdf-o" aria-hidden="true"></i></span>
  69. </div>
  70. </td>
  71. </tr>
  72. <tr>
  73. <td nowrap="nowrap">
  74. <strong>Voucher No:
  75. <asp:Label ID="tranNumber" runat="server"> </asp:Label>
  76. </strong>
  77. </td>
  78. <td width="26%" nowrap="nowrap">
  79. <div align="right">
  80. <strong>Date:<asp:Label ID="tranDate" runat="server"></asp:Label></strong>
  81. </div>
  82. </td>
  83. </tr>
  84. </table>
  85. </div>
  86. <%-- <div id="reportTable" runat="server">
  87. <table width="89%" class="TBLReport">--%>
  88. <div class="table-responsive" id="reportTable" runat="server">
  89. <table class="table table-striped table-bordered" width="100%" cellspacing="0" class="TBLReport">
  90. <tr>
  91. <th nowrap="nowrap" width="4%">SN
  92. </th>
  93. <th nowrap="nowrap" width="16%">AC No
  94. </th>
  95. <th nowrap="nowrap" width="50%">Name
  96. </th>
  97. <th nowrap="nowrap" width="15%">Dr Amount
  98. </th>
  99. <th nowrap="nowrap" width="15%">Cr Amount
  100. </th>
  101. </tr>
  102. </table>
  103. </div>
  104. <div class="table-responsive">
  105. <table class="table" width="80%" cellspacing="0" class="TBLReport" align="center">
  106. <%-- <table width="90%">--%>
  107. <tr>
  108. <td width="49%">
  109. <br />
  110. <br />
  111. <br />
  112. <br />
  113. &nbsp;&nbsp; --------------------------------
  114. <br />
  115. &nbsp;&nbsp; Entered By :<strong>
  116. <asp:Label ID="userId" runat="server"></asp:Label>
  117. </strong>
  118. </td>
  119. <td width="51%">
  120. <div align="right">
  121. <br />
  122. <br />
  123. <br />
  124. <br />
  125. ----------------------------&nbsp;
  126. <br />
  127. Approved By &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  128. </div>
  129. </td>
  130. </tr>
  131. </table>
  132. </div>
  133. </div>
  134. </div>
  135. </div>
  136. <div class="row noPrint" id="divReverse" runat="server" visible="false">
  137. <div class="col-lg-10">
  138. <asp:TextBox ID="Narration" runat="server" class="col-md-6" placeholder="Enter Reversal Narration here.." TextMode="MultiLine"></asp:TextBox>
  139. </div>
  140. <div class="col-lg-10">
  141. <br />
  142. <label>Choose Reversal Date : </label>
  143. <asp:TextBox ID="date" runat="server" placeholder="Choose Reversal Date" CssClass="default-date-picker"></asp:TextBox>
  144. <asp:Button ID="btnReversal" runat="server" Text=" Reverse Voucher " class="btn btn-danger" OnClick="btnReversal_Click" />
  145. </div>
  146. </div>
  147. </div>
  148. </form>
  149. </body>
  150. </html>