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.

136 lines
5.8 KiB

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SoaMonthlySearch.aspx.cs" Inherits="Swift.web.Responsive.Reports.SOADomestic.SoaMonthlySearch" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head id="Head1" runat="server">
  5. <script src="../../../js/functions.js" type="text/javascript"> </script>
  6. <link href="../../../Css/style.css" rel="Stylesheet" type="text/css" />
  7. <link href="../../../Css/swift_component.css" rel="stylesheet" type="text/css" />
  8. <link href="../../../js/jQuery/jquery-ui.css" rel="stylesheet" type="text/css" />
  9. <script type="text/javascript" src="../../../js/jQuery/jquery.min.js"></script>
  10. <script type="text/javascript" src="../../../js/jQuery/jquery-ui.min.js"></script>
  11. <script type="text/javascript" src="../../../js/functions.js"></script>
  12. <script src="../../../js/swift_calendar.js" type="text/javascript"></script>
  13. <style type="text/css">
  14. .style1
  15. {
  16. color: #CC0000;
  17. }
  18. .style2
  19. {
  20. font-size: medium;
  21. }
  22. </style>
  23. </head>
  24. <body>
  25. <form id="form1" runat="server">
  26. <div class="bredCrom">Reports » Balance Confirmation Log</div>
  27. <asp:ScriptManager ID="ScriptManger1" runat="server">
  28. </asp:ScriptManager>
  29. <div id="DivFrm" runat="server" style="margin-left: 25px;">
  30. <table class="formTable">
  31. <tr>
  32. <th class="frmTitle" colspan="4">Balance Confirmation Log</th>
  33. </tr>
  34. <tr>
  35. <td>
  36. <div align="left" class="formLabel">
  37. Agent:
  38. </div>
  39. </td>
  40. <td nowrap="nowrap" colspan="3">
  41. <asp:Label ID="agent" runat="server"></asp:Label>
  42. </td>
  43. </tr>
  44. <tr>
  45. <td nowrap="nowrap">
  46. <div align="left" class="formLabel">
  47. Year:
  48. </div>
  49. </td>
  50. <td>
  51. <asp:DropDownList Width="100px" runat="server" ID="year" CssClass="required">
  52. </asp:DropDownList>
  53. </td>
  54. </tr>
  55. <tr>
  56. <td nowrap="nowrap">
  57. <div align="left" class="formLabel">
  58. Months:
  59. </div>
  60. </td>
  61. <td>
  62. <asp:DropDownList Width="100px" runat="server" ID="months" CssClass="required">
  63. <asp:ListItem Value="1">Baishak</asp:ListItem>
  64. <asp:ListItem Value="2">Jestha</asp:ListItem>
  65. <asp:ListItem Value="3">Ashar</asp:ListItem>
  66. <asp:ListItem Value="4">Shrawan</asp:ListItem>
  67. <asp:ListItem Value="5">Bhadra</asp:ListItem>
  68. <asp:ListItem Value="6">Ashwin</asp:ListItem>
  69. <asp:ListItem Value="7">Kartik</asp:ListItem>
  70. <asp:ListItem Value="8">Mangsir</asp:ListItem>
  71. <asp:ListItem Value="9">Poush</asp:ListItem>
  72. <asp:ListItem Value="10">Magh</asp:ListItem>
  73. <asp:ListItem Value="11">Falgun</asp:ListItem>
  74. <asp:ListItem Value="12">Chaitra</asp:ListItem>
  75. </asp:DropDownList>
  76. </td>
  77. </tr>
  78. <tr>
  79. <td></td>
  80. <td>
  81. <asp:Button ID="BtnSave" runat="server" CssClass="button" Text="Search" OnClientClick="return ShowSOA();" />
  82. </td>
  83. </tr>
  84. </table>
  85. </div>
  86. <div>
  87. <h3 style="margin-left: 25px;"><u>तपाई Account Balance Confirmation गर्ने पेजमा हुनुहुन्छ ।</u></h3>
  88. <ul>
  89. <li><strong>अब Month Select गरेर </strong> <span class="style1"><strong>Search</strong></span><strong> Button थिच्नुहोस् ।
  90. </strong> </li>
  91. <li><strong>तपाईको एक महिनाको कारोबारको सम्पूर्ण विवरण देख्न सक्नु हुनेछ । </strong> </li>
  92. <li><strong>त्यस पछि तपाईको कारोबारको विवरण हेरि </strong> <span class="style1"><strong>I Agree</strong></span><strong> Button थिच्नुहोस ।
  93. </strong> </li>
  94. <li><strong>यदि कुनै दुविधा भएमा आवश्यक जानकारीको लागि लेखाशाखामा सम्पर्क गर्नु हुन अनुरोध छ । </li>
  95. </strong><br/>
  96. <strong>(फोनं नं ४४३०६०० एक्टेन्सन नं - २४९, ११०, १०९, २०६, ११६)</strong>
  97. </ul>
  98. </div>
  99. </form>
  100. </body>
  101. </html>
  102. <script language="javascript" type="text/javascript">
  103. function ShowSOA() {
  104. var yearFrom = GetValue("<% =year.ClientID%>");
  105. var monthFrom = GetValue("<% =months.ClientID%>");
  106. var dayFrom = '01';
  107. var toYear = GetValue("<% =year.ClientID%>");
  108. var toMonth = GetValue("<% =months.ClientID%>");
  109. var toDay = '00';
  110. var fromDate = monthFrom + "/" + dayFrom + "/" + yearFrom;
  111. var toDate = toMonth + "/" + toDay + "/" + toYear;
  112. var agent = GetElement("<% =agent.ClientID %>").innerHTML;
  113. var reportFor = "soa";
  114. if (agent == "") {
  115. alert("Agent is missing.");
  116. return false;
  117. }
  118. var url = "SoaMonthly.aspx?fromDate=" + fromDate +
  119. "&toDate=" + toDate +
  120. "&agent=" + agent +
  121. "&reportFor=" + reportFor +
  122. "&npYear=" + yearFrom +
  123. "&npMonth=" + monthFrom;
  124. OpenInNewWindow(url);
  125. return false;
  126. }
  127. </script>