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.
37 lines
1.1 KiB
37 lines
1.1 KiB
using Swift.web.Library;
|
|
using System;
|
|
|
|
namespace Swift.web.AccountReport.SettlementReport
|
|
{
|
|
public partial class SettlementHoSearch : System.Web.UI.Page
|
|
{
|
|
private SwiftLibrary _swiftLib = new SwiftLibrary();
|
|
private const string ViewFunctionId = "20140400";
|
|
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
Authenticate();
|
|
if (!IsPostBack)
|
|
{
|
|
fromDate.Text = DateTime.Now.ToString("d");
|
|
fromDate.Attributes.Add("readonly", "readonly");
|
|
toDate.Text = DateTime.Now.ToString("d");
|
|
toDate.Attributes.Add("readonly", "readonly");
|
|
}
|
|
}
|
|
private void Authenticate()
|
|
{
|
|
_swiftLib.CheckAuthentication(ViewFunctionId);
|
|
}
|
|
|
|
protected void populateDDL_Click(object sender, EventArgs e)
|
|
{
|
|
PopulateDDL();
|
|
}
|
|
|
|
private void PopulateDDL()
|
|
{
|
|
_swiftLib.SetDDL(ref branchDDL, "EXEC Proc_MistakelyPostViewAdd @flag = 'bDisp',@agentId= '" + acInfo.Value + "'", "map_code", "agent_name", "", "Select Branch");
|
|
}
|
|
}
|
|
}
|