private void LoadReportList()
        {
            HBM.Reporting.Reports reports = new Reporting.Reports();

            cmbReportType.DataSource = reports.GetReportTypes();
            cmbReportType.ValueField = "key";
            cmbReportType.TextField  = "Value";
            cmbReportType.DataBind();
        }
        private void LoadCustomerReport()
        {
            Reporting.Reports report = new Reporting.Reports();

            Session[Constants.SESSION_CURRENTREPORT] = report.GetCustomerList(SessionHandler.CurrentCompanyId).Tables[0];

            //gvReports.DataSource = report.GetCustomerList(SessionHandler.CurrentCompanyId).Tables[0];
            //gvReports.DataBind();

            if (report.GetCustomerList(SessionHandler.CurrentCompanyId).Tables[0] != null && report.GetCustomerList(SessionHandler.CurrentCompanyId).Tables[0].Rows.Count > 0)
            {
                //cbmExporter.Visible = true;
            }
        }
        private void LoadReservationReport()
        {
            Reporting.Reports report = new Reporting.Reports();

            Session[Constants.SESSION_CURRENTREPORT] = report.GetReservationList(SessionHandler.CurrentCompanyId).Tables[0];

            //gvReports.DataSource = report.GetReservationList(SessionHandler.CurrentCompanyId).Tables[0];
            //gvReports.DataBind();

            if (report.GetReservationList(SessionHandler.CurrentCompanyId).Tables[0] != null && report.GetReservationList(SessionHandler.CurrentCompanyId).Tables[0].Rows.Count > 0)
            {
                //cbmExporter.Visible = true;
                //gvExporter.FileName = "Reservation Report";
                //gvReports.TotalSummary.Add(DevExpress.Data.SummaryItemType.Count, "ReservationCode");
                //gvReports.TotalSummary.Add(DevExpress.Data.SummaryItemType.Sum, "RoomTotal");
                //gvReports.TotalSummary.Add(DevExpress.Data.SummaryItemType.Sum, "ServiceTotal");
                //gvReports.TotalSummary.Add(DevExpress.Data.SummaryItemType.Sum, "NetTotal");
                //gvReports.TotalSummary.Add(DevExpress.Data.SummaryItemType.Sum, "Discount");
                //gvReports.TotalSummary.Add(DevExpress.Data.SummaryItemType.Sum, "TaxAmount");
                //gvReports.TotalSummary.Add(DevExpress.Data.SummaryItemType.Sum, "Total");
                //gvReports.TotalSummary.Add(DevExpress.Data.SummaryItemType.Sum, "PaidAmount");
                //gvReports.TotalSummary.Add(DevExpress.Data.SummaryItemType.Sum, "Balance");
            }
        }
        private void LoadCustomerReport()
        {
            Reporting.Reports report = new Reporting.Reports();

            Session[Constants.SESSION_CURRENTREPORT] = report.GetCustomerList(SessionHandler.CurrentCompanyId).Tables[0];

            //gvReports.DataSource = report.GetCustomerList(SessionHandler.CurrentCompanyId).Tables[0];
            //gvReports.DataBind();

            if (report.GetCustomerList(SessionHandler.CurrentCompanyId).Tables[0] != null && report.GetCustomerList(SessionHandler.CurrentCompanyId).Tables[0].Rows.Count > 0)
            {
                //cbmExporter.Visible = true;

            }
        }
        private void LoadReservationReport()
        {
            Reporting.Reports report = new Reporting.Reports();

            Session[Constants.SESSION_CURRENTREPORT] = report.GetReservationList(SessionHandler.CurrentCompanyId).Tables[0];

            //gvReports.DataSource = report.GetReservationList(SessionHandler.CurrentCompanyId).Tables[0];
            //gvReports.DataBind();

            if (report.GetReservationList(SessionHandler.CurrentCompanyId).Tables[0] != null && report.GetReservationList(SessionHandler.CurrentCompanyId).Tables[0].Rows.Count > 0)
            {
                //cbmExporter.Visible = true;
                //gvExporter.FileName = "Reservation Report";
                //gvReports.TotalSummary.Add(DevExpress.Data.SummaryItemType.Count, "ReservationCode");
                //gvReports.TotalSummary.Add(DevExpress.Data.SummaryItemType.Sum, "RoomTotal");
                //gvReports.TotalSummary.Add(DevExpress.Data.SummaryItemType.Sum, "ServiceTotal");
                //gvReports.TotalSummary.Add(DevExpress.Data.SummaryItemType.Sum, "NetTotal");
                //gvReports.TotalSummary.Add(DevExpress.Data.SummaryItemType.Sum, "Discount");
                //gvReports.TotalSummary.Add(DevExpress.Data.SummaryItemType.Sum, "TaxAmount");
                //gvReports.TotalSummary.Add(DevExpress.Data.SummaryItemType.Sum, "Total");
                //gvReports.TotalSummary.Add(DevExpress.Data.SummaryItemType.Sum, "PaidAmount");
                //gvReports.TotalSummary.Add(DevExpress.Data.SummaryItemType.Sum, "Balance");

            }
        }
        private void LoadReportList()
        {
            HBM.Reporting.Reports reports = new Reporting.Reports();

            cmbReportType.DataSource = reports.GetReportTypes();
            cmbReportType.ValueField = "key";
            cmbReportType.TextField = "Value";
            cmbReportType.DataBind();
        }