Beispiel #1
0
    protected void btnPrintByBranch_Click(object sender, EventArgs e)
    {
        DateTime fromDate = DateTime.Parse(tbStartDate.Text);
        DateTime toDate   = DateTime.Parse(tbEndDate.Text);
        int      branchID = int.Parse(ddlBranches.SelectedValue);

        ReportController.AllPolicies(fromDate, toDate, 0, 0, 0, branchID, 0);
    }
Beispiel #2
0
    protected void btnPrintByCompany_Click(object sender, EventArgs e)
    {
        DateTime fromDate  = DateTime.Parse(tbStartDate.Text);
        DateTime toDate    = DateTime.Parse(tbEndDate.Text);
        int      companyID = int.Parse(ddlCompanies.SelectedValue);

        ReportController.AllPolicies(fromDate, toDate, 0, 0, 0, 0, companyID);
    }
Beispiel #3
0
    protected void btnPrintByInsuranceSubType_Click(object sender, EventArgs e)
    {
        DateTime fromDate           = DateTime.Parse(tbStartDate.Text);
        DateTime toDate             = DateTime.Parse(tbEndDate.Text);
        int      insuranceSubTypeID = int.Parse(ddlInsuranceSubTypes.SelectedValue);

        ReportController.AllPolicies(fromDate, toDate, 0, insuranceSubTypeID, 0, 0, 0);
    }