예제 #1
0
        protected void Fix_BillingRates(object sender, EventArgs e)
        {
            int periodid = Int32.Parse(Request.Params["id"]);

            TFS.Intranet.Data.Billing.SPs.SpFixPeriodBillingRates(periodid).Execute();
            DisabledAccountsRepeater.DataBind();
            AccountsBillingRatesRepeater.DataBind();
            AccountsPerDiemRepeater.DataBind();
        }
예제 #2
0
        protected void Enable_BillingAccount(object sender, EventArgs e)
        {
            int accountid = Int32.Parse(((LinkButton)sender).CommandArgument);
            int periodid  = Int32.Parse(Request.Params["id"]);

            new TFS.Intranet.Data.Billing.BillingPeriodAccountController().Insert(periodid, accountid);

            DisabledAccountsRepeater.DataBind();
            AccountsBillingRatesRepeater.DataBind();
            AccountsPerDiemRepeater.DataBind();
            rptBillingCityRates.DataBind();
        }