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.

24 lines
717 B

  1. using Swift.web.Library;
  2. using System;
  3. namespace Swift.web.Remit.AgeingReport
  4. {
  5. public partial class SearchOutstanding : System.Web.UI.Page
  6. {
  7. private readonly StaticDataDdl _sdd = new StaticDataDdl();
  8. private readonly RemittanceLibrary _sl = new RemittanceLibrary();
  9. private const string ViewFunctionId = "43000000";
  10. protected void Page_Load(object sender, EventArgs e)
  11. {
  12. Authenticate();
  13. if (!IsPostBack)
  14. {
  15. asOnDate.Text = DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd");
  16. }
  17. }
  18. private void Authenticate()
  19. {
  20. _sl.CheckAuthentication(ViewFunctionId);
  21. }
  22. }
  23. }