Ejemplo n.º 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);
    }
Ejemplo n.º 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);
    }
Ejemplo n.º 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);
    }