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.

238 lines
25 KiB

  1. using System;
  2. using System.Text;
  3. using Swift.web.Library;
  4. using System.Web.UI;
  5. namespace Swift.web
  6. {
  7. public partial class Dashboard : Page
  8. {
  9. SwiftLibrary sl = new SwiftLibrary();
  10. protected void Page_Load(object sender, EventArgs e)
  11. {
  12. sl.CheckSession();
  13. if (!IsPostBack)
  14. {
  15. PopulateMenu();
  16. }
  17. }
  18. private void PopulateMenu()
  19. {
  20. var isMenuForLive = GetStatic.ReadWebConfig("isMenuForLive", "N");
  21. if (isMenuForLive.ToUpper()=="N")
  22. {
  23. PopulateDevelopmentMenu();
  24. return;
  25. }
  26. StringBuilder sb = new StringBuilder();
  27. sb.AppendLine("<div id=\"navbar-main\" class=\"navbar-collapse collapse\">");
  28. sb.AppendLine("<ul class=\"nav navbar-nav\">");
  29. sb.AppendLine("<li class=\"active\"><a href=\"Dashboard.aspx\">Dashboard</a></li>");
  30. sb.AppendLine("<li class=\"dropdown\">");
  31. sb.AppendLine("<a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\" role=\"button\" aria-haspopup=\"true\" aria-expanded=\"false\">Administration <span class=\"caret\"></span></a>");
  32. sb.AppendLine("<ul class=\"dropdown-menu\">");
  33. sb.AppendLine("<li class=\"dropdown\"><a tabindex=\"-1\" target=\"mainFrame\" href=\"SwiftSystem/UserManagement/ApplicationUserSetup/List.aspx\">User Management</a></li>");
  34. //sb.AppendLine("<li class=\"dropdown-submenu\"><a tabindex=\"-1\" href=\"#\">Applications Settings</a></li>");
  35. sb.AppendLine("<li class=\"dropdown\"><a tabindex=\"-1\" target=\"mainFrame\" href=\"SwiftSystem/UserManagement/AgentSetup/List.aspx\">Agent Management</a></li>");
  36. sb.AppendLine("<li class=\"dropdown\"><a tabindex=\"-1\" target=\"mainFrame\" href=\"SwiftSystem/UserManagement/ApplicationRoleSetup/List.aspx\">Role Management</a></li>");
  37. sb.AppendLine("<li class=\"dropdown\"><a tabindex=\"-1\" target=\"mainFrame\" href=\"SwiftSystem/ApplicationLog/List.aspx\">Application Log</a></li>");
  38. sb.AppendLine("<li class=\"dropdown\"><a tabindex=\"-1\" target=\"mainFrame\" href=\"SwiftSystem/UserManagement/ApplicationUserPool/List.aspx\">User Monitor</a></li>");
  39. //sb.AppendLine("<li class=\"dropdown-submenu\"><a tabindex=\"-1\" href=\"#\">DC Management</a></li>");
  40. //sb.AppendLine("<li class=\"dropdown-submenu\"><a tabindex=\"-1\" href=\"#\">Site Maintenance</a></li>");
  41. //sb.AppendLine("<li class=\"dropdown-submenu\"><a tabindex=\"-1\" href=\"#\">Utilities</a></li>");
  42. //sb.AppendLine("<li class=\"dropdown-submenu\"><a tabindex=\"-1\" href=\"#\">Administration</a></li>");
  43. sb.AppendLine("</li>");
  44. sb.AppendLine("</ul></li>");
  45. sb.AppendLine("<li class=\"dropdown\">");
  46. sb.AppendLine("<a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\" role=\"button\" aria-haspopup=\"true\" aria-expanded=\"false\">Security <span class=\"caret\"></span></a>");
  47. //sb.AppendLine("<ul class=\"dropdown-menu\"><li><a href=\"#\">System security</a></li><li><a href=\"#\">Sub menu 2</a></li></ul>");
  48. sb.AppendLine("</li><li class=\"dropdown\">");
  49. //////## REMITTANCE MENU GROUP
  50. sb.AppendLine("<a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\" role=\"button\" aria-haspopup=\"true\" aria-expanded=\"false\"> Remittance <span class=\"caret\"></span></a>");
  51. ////exchange rate
  52. //sb.AppendLine("<ul class=\"dropdown-menu\"><li class=\"dropdown-submenu\"><a tabindex=\"-1\" href=\"#\">Exchange Rate</a>");
  53. //sb.AppendLine("<ul class=\"dropdown-menu\">");
  54. //sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/ExchangeRate/RateMask/List.aspx\" target=\"mainFrame\">Rate Mask</a></li>");
  55. //sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/ExchangeRate/RateMask/CurrencyList.aspx\" target=\"mainFrame\">Cross Rate Decimal Mask</a></li>");
  56. //sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"#\">Cost Rate Setup</a></li>");
  57. //sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"#\">Exchange Rate Treasury</a></li>");
  58. //sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"#\">Reports</a></li>");
  59. //sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"#\">Agent Exchange Rate Menu</a></li>");
  60. //sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"#\">Cost Margin Report</a></li>");
  61. //sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"#\">Exchange Rate History</a></li>");
  62. //sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"#\">Approve Exchange Rate Treasury</a></li>");
  63. //sb.AppendLine("</ul></li>");
  64. ////service charge
  65. //sb.AppendLine("<li class=\"dropdown-submenu\"><a tabindex=\"-1\" href=\"#\">Service Charge & Commission</a>");
  66. //sb.AppendLine("<ul class=\"dropdown-menu\">");
  67. //sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"#\">Service Charge</a></li>");
  68. //sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"#\">Intl Send Commission</a></li>");
  69. //sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"#\">Intl Pay Commission</a></li>");
  70. //sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"#\">Domestic Commission</a></li>");
  71. //sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"#\">Commission Group Mapping</a></li>");
  72. //sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"#\">Agent Commission Rule</a></li>");
  73. //sb.AppendLine("</ul></li>");
  74. //sb.AppendLine("<li class=\"dropdown-submenu\"><a tabindex=\"-1\" href=\"#\">Credit Risk Management</a></li><li class=\"dropdown-submenu\"><a tabindex=\"-1\" href=\"#\">Reports</a>");
  75. //sb.AppendLine("<li><a href=\"#\">Transaction</a></li><li><a href=\"#\">Reports</a></li><li><a href=\"#\">Send Domestic</a></li><li><a href=\"#\">Pay Domestic</a></li></ul>");
  76. //## ACCOUNT MENU GROUP
  77. sb.AppendLine("</li><li class=\"dropdown\">");
  78. sb.AppendLine("<a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\" role=\"button\" aria-haspopup=\"true\" aria-expanded=\"false\">Account <span class=\"caret\"></span></a>");
  79. sb.AppendLine("<ul class=\"dropdown-menu\"><li><a href=\"AccountSetting/CreateLedger/List.aspx\" target=\"mainFrame\"> Create Account </a></li><li><a href=\"AccountReport/AccountDetail/List.aspx\" target=\"mainFrame\">Account Details</a></li><li><a href=\"BillVoucher/VoucherEntry/List.aspx\" target=\"mainFrame\">Voucher Entry</a></li>");
  80. sb.AppendLine("<li><a href=\"BillVoucher/VoucherEdit/List.aspx\" target=\"mainFrame\">Edit Voucher</a></li>");
  81. sb.AppendLine("<li><a href=\"AccountReport/RemittanceVoucher/List.aspx\" target=\"mainFrame\"> Remittance Voucher </a></li>");
  82. sb.AppendLine("<li><a href=\"/AccountReport/AccountStatement/List.aspx\" target=\"mainFrame\">Account Statement</a></li><li><a href=\"AccountReport/BalanceSheet/List.aspx\" target=\"mainFrame\">Balancesheet</a></li><li><a href=\"AccountReport/TrialBalance/List.aspx\" target=\"mainFrame\">Trail Balance</a></li>");
  83. sb.AppendLine("<li><a href=\"BillVoucher/VoucherReport/List.aspx\" target=\"mainFrame\"> Voucher Report</a></li><li><a href=\"AccountReport/DayBook/List.aspx\" target=\"mainFrame\">Daybook</a></li><li><a href=\"AccountReport/PLAccount/List.aspx\" target=\"mainFrame\"> Profit and Loss </a></li></ul>");
  84. //## COMPLIANCE MENU GROUP
  85. sb.AppendLine("</li><li class=\"dropdown\">");
  86. sb.AppendLine("<a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\" role=\"button\" aria-haspopup=\"true\" aria-expanded=\"false\">Compliance <span class=\"caret\"></span></a>");
  87. //sb.AppendLine("<ul class=\"dropdown-menu\"><li><a href=\"#\">Compliance Rule Setup</a></li><li><a href=\"#\">OFAC Management</a></li></ul></li>");
  88. sb.AppendLine("</ul></div>");
  89. menu.InnerHtml = sb.ToString();
  90. }
  91. private void PopulateDevelopmentMenu()
  92. {
  93. StringBuilder sb = new StringBuilder();
  94. sb.AppendLine("<div id=\"navbar-main\" class=\"navbar-collapse collapse\">");
  95. sb.AppendLine("<ul class=\"nav navbar-nav\">");
  96. sb.AppendLine("<li class=\"active\"><a href=\"Dashboard.aspx\">Dashboard</a></li>");
  97. sb.AppendLine("<li class=\"dropdown\">");
  98. sb.AppendLine("<a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\" role=\"button\" aria-haspopup=\"true\" aria-expanded=\"false\">Administration <span class=\"caret\"></span></a>");
  99. sb.AppendLine("<ul class=\"dropdown-menu\">");
  100. sb.AppendLine("<li class=\"dropdown\"><a tabindex=\"-1\" target=\"mainFrame\" href=\"SwiftSystem/UserManagement/ApplicationUserSetup/List.aspx\">User Management</a></li>");
  101. sb.AppendLine("<li class=\"dropdown-submenu\"><a tabindex=\"-1\" href=\"#\">Applications Settings</a>");
  102. sb.AppendLine("<ul class=\"dropdown-menu\">");
  103. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/SwiftSystem/GeneralSetting/StaticData/List.aspx\" target=\"mainFrame\">Static Data</a></li>");
  104. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/SwiftSystem/GeneralSetting/MessageSetting/ListNewsFeeder.aspx\" target=\"mainFrame\">Message Setting</a></li>");
  105. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/SwiftSystem/GeneralSetting/PasswordFormat/PasswordFormat.aspx\" target=\"mainFrame\">Password and Security Policy</a></li>");
  106. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/SwiftSystem/GeneralSetting/MessageSetting/emailServerList.aspx\" target=\"mainFrame\">Email Server Setup</a></li>");
  107. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/SwiftSystem/GeneralSetting/FieldSetting/List.aspx\" target=\"mainFrame\">Field Setting</a></li>");
  108. sb.AppendLine("</ul></li>");
  109. sb.AppendLine("<li class=\"dropdown\"><a tabindex=\"-1\" target=\"mainFrame\" href=\"SwiftSystem/UserManagement/AgentSetup/List.aspx\">Agent Management</a></li>");
  110. sb.AppendLine("<li class=\"dropdown\"><a tabindex=\"-1\" target=\"mainFrame\" href=\"SwiftSystem/UserManagement/ApplicationRoleSetup/List.aspx\">Role Management</a></li>");
  111. sb.AppendLine("<li class=\"dropdown\"><a tabindex=\"-1\" target=\"mainFrame\" href=\"SwiftSystem/ApplicationLog/List.aspx\">Application Log</a></li>");
  112. sb.AppendLine("<li class=\"dropdown\"><a tabindex=\"-1\" target=\"mainFrame\" href=\"SwiftSystem/UserManagement/ApplicationUserPool/List.aspx\">User Monitor</a></li>");
  113. sb.AppendLine("<li class=\"dropdown\"><a tabindex=\"-1\" target=\"mainFrame\" href=\"SwiftSystem/UserManagement/AgentUserSetup/List.aspx\">Agent User Setup</a></li>");
  114. sb.AppendLine("<li class=\"dropdown-submenu\"><a tabindex=\"-1\" href=\"#\">DC Management</a></li>");
  115. sb.AppendLine("<li class=\"dropdown-submenu\"><a tabindex=\"-1\" href=\"#\">Site Maintenance</a></li>");
  116. sb.AppendLine("<li class=\"dropdown-submenu\"><a tabindex=\"-1\" href=\"#\">Utilities</a></li>");
  117. sb.AppendLine("<li class=\"dropdown-submenu\"><a tabindex=\"-1\" href=\"#\">Administration</a>");
  118. //adminstration
  119. sb.AppendLine("<ul class=\"dropdown-menu\">");
  120. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/Administration/GroupLocationMap/List.aspx\" target=\"mainFrame\">Location and Group Mapping</a></li>");
  121. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/Administration/AgentGroupSetup/List.aspx\" target=\"mainFrame\">Agent and Group Mapping</a></li>");
  122. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/Administration/CountrySetup/List.aspx\" target=\"mainFrame\">Country Setup</a></li>");
  123. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/Administration/CurrencySetup/List.aspx\" target=\"mainFrame\">Currency Setup</a></li>");
  124. sb.AppendLine("</ul></li>");
  125. sb.AppendLine("</ul></li>");
  126. sb.AppendLine("<li class=\"dropdown\">");
  127. sb.AppendLine("<a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\" role=\"button\" aria-haspopup=\"true\" aria-expanded=\"false\">System security<span class=\"caret\"></span></a>");
  128. sb.AppendLine("<ul class=\"dropdown-menu\"><li><a href=\"/SwiftSystem/Notification/AppException/List.aspx\" target=\"mainFrame\" >Error Logs</a></li>");
  129. sb.AppendLine("<li><a href=\"/SwiftSystem/Notification/ApplicationLogs/TransactionViewLog.aspx\" target=\"mainFrame\" > Transaction View Log</a></li>");
  130. sb.AppendLine("<li><a href=\"/SwiftSystem/Notification/LoginLogs/List.aspx\" target=\"mainFrame\" >Login Logs</a></li>");
  131. sb.AppendLine("<li><a href=\"/SwiftSystem/Notification/ApplicationLogs/List.aspx\" target=\"mainFrame\" >Application Logs</a></li>");
  132. sb.AppendLine("<li><a href=\"/SwiftSystem/Notification/PwdChangedLogs/List.aspx\" target=\"mainFrame\" >Pwd Changed Logs</a></li>");
  133. sb.AppendLine("<li><a href=\"/SwiftSystem/Notification/CommissionLogs/List.aspx\" target=\"mainFrame\" >Commission Logs</a></li>");
  134. sb.AppendLine("<li><a href=\"/SwiftSystem/Notification/ExchangeRateLogs/List.aspx\" target=\"mainFrame\" >Exchange Rate Logs</a></li>");
  135. sb.AppendLine("<li><a href=\"/SwiftSystem/Notification/FraudAccessMonitoring/List.aspx\" target=\"mainFrame\" > Fraud Access Monitoring</a></li>");
  136. sb.AppendLine("<li><a href=\"/Remit/Transaction/Reports/FraudAnalysis/Manage.aspx\" target=\"mainFrame\" > Fraud Analysis</a></li>");
  137. sb.AppendLine("<li><a href=\"/SwiftSystem/Notification/TroubleTicket/UnResolvedList.aspx\" target=\"mainFrame\" >Trouble Ticket Resolve</a></li>");
  138. sb.AppendLine("<li><a href=\"/SwiftSystem/Notification/TroubleTicket/Manage.aspx\" target=\"mainFrame\" > Trouble Ticket Report</a></li>");
  139. sb.AppendLine("<li><a href=\"/SwiftSystem/Notification/ApplicationLogRpt/Manage.aspx\" target=\"mainFrame\" > Tran View Report</a></li>");
  140. sb.AppendLine("</ul></li><li class=\"dropdown\">");
  141. sb.AppendLine("<a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\" role=\"button\" aria-haspopup=\"true\" aria-expanded=\"false\"> Remittance <span class=\"caret\"></span></a>");
  142. //exchange rate
  143. sb.AppendLine("<ul class=\"dropdown-menu\"><li class=\"dropdown-submenu\"><a tabindex=\"-1\" href=\"#\">Exchange Rate</a>");
  144. sb.AppendLine("<ul class=\"dropdown-menu\">");
  145. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/ExchangeRate/RateMask/List.aspx\" target=\"mainFrame\">Rate Mask</a></li>");
  146. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/ExchangeRate/CrossRateDecimalMask/List.aspx\" target=\"mainFrame\">Cross Rate Decimal Mask</a></li>");
  147. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/ExchangeRate/AgentRateSetup/List.aspx\" target=\"mainFrame\">Cost Rate Setup</a></li>");
  148. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/ExchangeRate/ExRateTreasury/List.aspx\" target=\"mainFrame\">Exchange Rate Treasury</a></li>");
  149. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/ExchangeRate/Reports/List.aspx\" target=\"mainFrame\">Reports</a></li>");
  150. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/ExchangeRate/AgentExRateMenu/List.aspx\" target=\"mainFrame\">Agent Exchange Rate Menu</a></li>");
  151. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/ExchangeRate/Reports/ForexReport.aspx\" target=\"mainFrame\">Cost Margin Report</a></li>");
  152. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/ExchangeRate/Reports/HistoryReport.aspx\" target=\"mainFrame\">Exchange Rate History</a></li>");
  153. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/ExchangeRate/ExRateTreasury/ApproveListOnly.aspx\" target=\"mainFrame\">Approve Exchange Rate Treasury</a></li>");
  154. sb.AppendLine("</ul></li>");
  155. //service charge
  156. sb.AppendLine("<li class=\"dropdown-submenu\"><a tabindex=\"-1\" href=\"#\">Service Charge & Commission</a>");
  157. sb.AppendLine("<ul class=\"dropdown-menu\">");
  158. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/ServiceCharge_Commission/ServiceCharge/List.aspx\" target=\"mainFrame\">Service Charge</a></li>");
  159. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/ServiceCharge_Commission/CommissionAgent/Send/List.aspx\" target=\"mainFrame\">Intl Send Commission</a></li>");
  160. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/ServiceCharge_Commission/CommissionAgent/Pay/List.aspx\" target=\"mainFrame\">Intl Pay Commission</a></li>");
  161. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/ServiceCharge_Commission/CommissionDomestic/List.aspx\" target=\"mainFrame\">Domestic Commission</a></li>");
  162. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/ServiceCharge_Commission/CommissionGroupMapping/CommissionPackage.aspx\" target=\"mainFrame\">Commission Group Mapping</a></li>");
  163. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/ServiceCharge_Commission/AgentCommissionRule/List.aspx\" target=\"mainFrame\">Agent Commission Rule</a></li>");
  164. sb.AppendLine("</ul></li>");
  165. //Credit Risk Management
  166. sb.AppendLine("<li class=\"dropdown-submenu\"><a tabindex=\"-1\" href=\"#\">Credit Risk Management</a>");
  167. sb.AppendLine("<ul class=\"dropdown-menu\">");
  168. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/CreditRiskManagement/TransactionLimit/Countrywise/List.aspx\" target=\"mainFrame\">Country Per Transaction Limit</a></li>");
  169. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/CreditRiskManagement/TransactionLimit/Agentwise/List.aspx\" target=\"mainFrame\">Agent Per Transaction Limit</a></li>");
  170. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/CreditRiskManagement/CreditLimit/List.aspx\" target=\"mainFrame\">Credit Limit</a></li>");
  171. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/CreditRiskManagement/CreditSecurity/ListAgent.aspx\" target=\"mainFrame\">Credit Security</a></li>");
  172. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/CreditRiskManagement/UserTopUpLimit/List.aspx\" target=\"mainFrame\">User Top-Up Limit</a></li>");
  173. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/CreditRiskManagement/BalanceTopUp/List.aspx\" target=\"mainFrame\"> Balance Top Up</a></li>");
  174. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/CreditRiskManagement/TopUpApprove/List.aspx\" target=\"mainFrame\">Balance Top Up Approve</a></li>");
  175. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/CreditRiskManagement/ExtraLimit/ApproveList.aspx\" target=\"mainFrame\">Extra Limit Approve</a></li>");
  176. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/CreditRiskManagement/Reports/CreditSecurityRPT.aspx\" target=\"mainFrame\">Credit Security Report</a></li>");
  177. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/CreditRiskManagement/Transaction/Agent/FundTransfer/List.aspx\" target=\"mainFrame\">Deposit Slip Approve</a></li>");
  178. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/CreditRiskManagement//DomesticOperation/UserWiseTxnLimit/List.aspx\" target=\"mainFrame\"> User Wise Txn Limit</a></li>");
  179. sb.AppendLine("</ul></li>");
  180. sb.AppendLine("<li class=\"dropdown-submenu\"><a tabindex=\"-1\" href=\"#\">Reports</a>");
  181. sb.AppendLine("<ul class=\"dropdown-menu\">");
  182. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/Transaction/Reports/Transaction/Manage.aspx\" target=\"mainFrame\"> Transaction Report</a></li>");
  183. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/Transaction/Reports/TranAnalysisRpt/ManageDomestic.aspx\" target=\"mainFrame\"> Transaction Analysis Report</a></li>");
  184. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/Transaction/Reports/RemittancePayableRpt/Manage.aspx\" target=\"mainFrame\"> Remittance Payble Report</a></li>");
  185. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/Transaction/Reports/AgentStmtReport.aspx\" target=\"mainFrame\"> Agent Statement Report</a></li>");
  186. sb.AppendLine("</ul></li>");
  187. //Transaction
  188. //sb.AppendLine("<li><a href=\"#\">Transaction</a></li><li>");
  189. sb.AppendLine("<li class=\"dropdown-submenu\"><a tabindex=\"-1\" href=\"#\">Transaction</a>");
  190. sb.AppendLine("<ul class=\"dropdown-menu\">");
  191. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"Remit/Transaction/AdminTransaction/Pay/PaySearch.aspx\" target=\"mainFrame\">Pay Transaction</a></li>");
  192. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"Remit/Transaction/Cancel/Cancel.aspx\" target=\"mainFrame\">Cancel Transaction</a></li>");
  193. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"Remit/Transaction/Modify/ModifyTran.aspx\" target=\"mainFrame\">Modify Transaction</a></li>");
  194. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"Remit/Transaction/Approve/Manage.aspx\" target=\"mainFrame\">Approve Transaction</a></li>");
  195. sb.AppendLine("<li class=\"submenu\"><a tabindex=\"-1\" href=\"/Remit/Transaction/Reports/SearchTransaction.aspx\" target=\"mainFrame\"> Search Transaction</a></li>");
  196. sb.AppendLine("</ul></li>");
  197. sb.AppendLine("<li><a href=\"#\">Send Domestic</a></li><li><a href=\"#\">Pay Domestic</a></li></ul>");
  198. sb.AppendLine("</li><li class=\"dropdown\">");
  199. sb.AppendLine("<a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\" role=\"button\" aria-haspopup=\"true\" aria-expanded=\"false\">Account <span class=\"caret\"></span></a>");
  200. sb.AppendLine("<ul class=\"dropdown-menu\"><li><a href=\"AccountSetting/CreateLedger/List.aspx\" target=\"mainFrame\"> Create Account </a></li><li><a href=\"AccountReport/AccountDetail/List.aspx\" target=\"mainFrame\">Account Details</a></li><li><a href=\"BillVoucher/VoucherEntry/List.aspx\" target=\"mainFrame\">Voucher Entry</a></li>");
  201. sb.AppendLine("<li><a href=\"BillVoucher/VoucherEdit/List.aspx\" target=\"mainFrame\">Edit Voucher</a></li>");
  202. sb.AppendLine("<li><a href=\"AccountReport/RemittanceVoucher/List.aspx\" target=\"mainFrame\"> Remittance Voucher </a></li>");
  203. sb.AppendLine("<li><a href=\"/AccountReport/AccountStatement/List.aspx\" target=\"mainFrame\">Account Statement</a></li><li><a href=\"AccountReport/BalanceSheet/List.aspx\" target=\"mainFrame\">Balancesheet</a></li><li><a href=\"AccountReport/TrialBalance/List.aspx\" target=\"mainFrame\">Trail Balance</a></li>");
  204. sb.AppendLine("<li><a href=\"BillVoucher/VoucherReport/List.aspx\" target=\"mainFrame\"> Voucher Report</a></li><li><a href=\"AccountReport/DayBook/List.aspx\" target=\"mainFrame\">Daybook</a></li><li><a href=\"AccountReport/PLAccount/List.aspx\" target=\"mainFrame\"> Profit and Loss </a></li></ul>");
  205. sb.AppendLine("</li>");
  206. sb.AppendLine("<li class=\"dropdown\">");
  207. sb.AppendLine("<a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\" role=\"button\" aria-haspopup=\"true\" aria-expanded=\"false\">Compliance <span class=\"caret\"></span></a>");
  208. sb.AppendLine("<ul class=\"dropdown-menu\">");
  209. sb.AppendLine("<li><a href=\"#\">Compliance Rule Setup</a></li>");
  210. sb.Append("<li><a href=\"#\">OFAC Management</a></li>");
  211. sb.Append("</ul></li>");
  212. sb.AppendLine("</ul> </div>");
  213. menu.InnerHtml = sb.ToString();
  214. }
  215. private void LoadFrame(string url = "")
  216. {
  217. mainFrame.Attributes.Add("src", url);
  218. }
  219. }
  220. }