public void ShowCustMoneyBalanceReport()
        {
            _branchId = GlobalVariableBO._branchId;
            SummeryReportBAL        summeryReportBal   = new SummeryReportBAL();
            DataTable               dtCustMoneybalance = new DataTable();
            crCustTodayMoneyBalance crCustMoneyBalance = new crCustTodayMoneyBalance();
            CustMoneyBalanceViewer  custMoneyBalance   = new CustMoneyBalanceViewer();

            //dtCustMoneybalance = summeryReportBal.GetCustMoneyBalance(GlobalVariableBO._currentServerDate);
            dtCustMoneybalance = summeryReportBal.GetCustMoneyBalance();

            _filterdColumnName = dtCustMoneybalance.Columns[0].ToString();
            RecordLevelFilteringBAL obj = new RecordLevelFilteringBAL(dtCustMoneybalance, _filterdColumnName, ResourceName.Todays_Summery_Report_Money_Balance);

            dtCustMoneybalance = obj.GetRecordLevelFilteredData();

            crCustMoneyBalance.SetDataSource(dtCustMoneybalance);


            ///// Load Company Name
            GetCommonInfo();
            ((TextObject)crCustMoneyBalance.ReportDefinition.Sections[2].ReportObjects["txtCompanyName"]).Text = _CommpanyName;

            ///// Load Branch Name
            ((TextObject)crCustMoneyBalance.ReportDefinition.Sections[2].ReportObjects["txtBranchName"]).Text = "Branch Name:" + _branchName + "," + _branchAddress + ". Phone:" + _branchContactNumber;
            ((TextObject)crCustMoneyBalance.ReportDefinition.Sections[2].ReportObjects["txtPrintDate"]).Text  = GlobalVariableBO._currentServerDate.ToString("dd-MMM-yyyy");
            custMoneyBalance.crvCustMoneyBalanceReportViewer.ReportSource = crCustMoneyBalance;
            custMoneyBalance.Show();
        }
        private void ShowToadysCustBalanceReport()
        {
            _branchId = GlobalVariableBO._branchId;
            SummeryReportBAL       summeryReportBal       = new SummeryReportBAL();
            DataTable              dtCustToadysCustBal    = new DataTable();
            crTodayCustBalance     crTodayCustBal         = new crTodayCustBalance();
            TodayCustBalanceViewer todayCustBalanceViewer = new TodayCustBalanceViewer();

            dtCustToadysCustBal = summeryReportBal.GetTodaysCustBalance();

            _filterdColumnName = dtCustToadysCustBal.Columns[0].ToString();
            RecordLevelFilteringBAL obj = new RecordLevelFilteringBAL(dtCustToadysCustBal, _filterdColumnName, ResourceName.Todays_Summery_Report_Cust_Balance);

            dtCustToadysCustBal = obj.GetRecordLevelFilteredData();

            crTodayCustBal.SetDataSource(dtCustToadysCustBal);

            GetCommonInfo();
            ///// Load Company Name
            ((TextObject)crTodayCustBal.ReportDefinition.Sections[2].ReportObjects["txtCompanyName"]).Text = _CommpanyName;

            ///// Load Branch Name
            ((TextObject)crTodayCustBal.ReportDefinition.Sections[2].ReportObjects["txtBranchName"]).Text = "Branch Name:" + _branchName + "," + _branchAddress + ". Phone:" + _branchContactNumber;
            ((TextObject)crTodayCustBal.ReportDefinition.Sections[2].ReportObjects["txtPrintDate"]).Text  = GlobalVariableBO._currentServerDate.ToString("dd-MMM-yyyy");
            todayCustBalanceViewer.crvTodayCustBalanceReportViewer.ReportSource     = crTodayCustBal;
            todayCustBalanceViewer.crvTodayCustBalanceReportViewer.DisplayGroupTree = false;
            todayCustBalanceViewer.Show();
        }