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.

106 lines
6.0 KiB

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="dayBookReport.aspx.cs"
  2. Inherits="Swift.web.AccountReport.DayBook.dayBookReport" %>
  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. <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 src="../../js/jQuery/jquery.min.js" type="text/javascript"></script>
  16. <script src="../../js/Swift_grid.js" type="text/javascript"> </script>
  17. <script src="../../js/jQuery/jquery-ui.min.js" type="text/javascript"></script>
  18. <link href="../../js/jQuery/jquery-ui.css" rel="stylesheet" type="text/css" />
  19. <script src="../../js/functions.js" type="text/javascript"> </script>
  20. <script src="../../js/swift_calendar.js" type="text/javascript"></script>
  21. <script type="text/javascript">
  22. function DownloadPDF() {
  23. $(".noPrint").css("display", "none");
  24. var copy = document.getElementById("main").innerHTML;
  25. var encodedText = encodeURIComponent(copy);
  26. $("#hidden").val(encodedText);
  27. document.getElementById("pdf").click();
  28. }
  29. </script>
  30. </head>
  31. <body>
  32. <form id="form1" runat="server" class="col-md-12">
  33. <div class="page-wrapper">
  34. <div class="row">
  35. <div class="col-sm-12">
  36. <div class="page-title">
  37. <ol class="breadcrumb">
  38. <li><a href="../../Front.aspx" target="mainFrame"><i class="fa fa-home"></i></a></li>
  39. <li><a href="#" onclick="return LoadModule('account')">Account</a></li>
  40. <li><a href="#" onclick="return LoadModule('account_report')">Account Report </a></li>
  41. <li class="active"><a href="dayBookReport.aspx?startDate=<%=FromDate() %>&endDate=<%=ToDate() %>&vType=<%=VoucherType() %>&vName=<%=VoucherName() %>">Day Book </a></li>
  42. </ol>
  43. </div>
  44. </div>
  45. </div>
  46. <asp:Button ID="pdf" runat="server" OnClick="pdf_Click" Style="display: none;" />
  47. <asp:HiddenField ID="hidden" runat="server" />
  48. <div class="row" id="main">
  49. <div class="form-group col-md-3">
  50. <label>Voucher Filter: </label>
  51. <asp:DropDownList ID="ddlShowAll" runat="server" OnSelectedIndexChanged="ddlShowAll_SelectedIndexChanged" CssClass="form-control" AutoPostBack="true">
  52. <asp:ListItem Text="Show All" Value="all"></asp:ListItem>
  53. <asp:ListItem Text="Show Manual Entry Only" Selected="True" Value="manual"></asp:ListItem>
  54. <asp:ListItem Text="Show System Entries Only" Value="system"></asp:ListItem>
  55. </asp:DropDownList>
  56. </div>
  57. <div class="form-group col-md-12">
  58. <div align="center">
  59. <div align="right">
  60. <span alt="Export to PDF" title="Export to PDF" style="cursor: pointer" class="noPrint"
  61. onclick="DownloadPDF();"><i class="fa fa-file-pdf-o" aria-hidden="true"></i></span>
  62. </div>
  63. <div class="table-responsive">
  64. <table class="table table-striped table-bordered TBLReport" cellspacing="0">
  65. <tr>
  66. <th nowrap="nowrap">
  67. <strong>SN</strong>
  68. </th>
  69. <th nowrap="nowrap">
  70. <strong>V No</strong>
  71. </th>
  72. <th nowrap="nowrap">
  73. <strong>Voucher</strong>
  74. </th>
  75. <th nowrap="nowrap">
  76. <strong>Acc Number </strong>
  77. </th>
  78. <th nowrap="nowrap">
  79. <strong>Name</strong>
  80. </th>
  81. <th nowrap="nowrap">
  82. <strong>Date</strong>
  83. </th>
  84. <th width="91" nowrap="nowrap">
  85. <strong>Amount</strong>
  86. </th>
  87. </tr>
  88. <tbody id="dayBook" runat="server">
  89. </tbody>
  90. <tr>
  91. <td nowrap="nowrap" colspan="6" align="right">
  92. <strong>Total :</strong>
  93. </td>
  94. <td nowrap="nowrap" align="right">
  95. <asp:Label ID="totalBalance" runat="server" Text="00.00" />
  96. </td>
  97. </tr>
  98. </table>
  99. </div>
  100. </div>
  101. </div>
  102. </div>
  103. </div>
  104. </form>
  105. </body>
  106. </html>