예제 #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            masterPage = this.Page.Master.Master as Protected.ClaimRuler;

            string js = string.Format("javascript:processInvoiceServiceType(this, '{0}', '{1}');", txtServiceDescription.ClientID, txtServiceQty.ClientID);

            //ddlInvoiceServiceType.Attributes.Add("onchange", js);
        }
예제 #2
0
        public void bindData(int claimID)
        {
            masterPage = this.Page.Master.Master as Protected.ClaimRuler;
            List<ClaimService> services = null;

            services = loadClaimServices(claimID);

            gvClaimService.DataSource = services;
            gvClaimService.DataBind();

            bindActivity();
            bindServiceTypes();

            //if (ddlInvoiceServiceType.Items.Count < 2) //if only the --select-- is available show pop up
            //{
            //    popup.Show();
            //}
        }
예제 #3
0
        public void bindData(int claimID)
        {
            masterPage = this.Page.Master.Master as Protected.ClaimRuler;
            List <ClaimService> services = null;

            services = loadClaimServices(claimID);


            gvClaimService.DataSource = services;
            gvClaimService.DataBind();

            bindActivity();
            bindServiceTypes();

            //if (ddlInvoiceServiceType.Items.Count < 2) //if only the --select-- is available show pop up
            //{
            //    popup.Show();
            //}
        }
예제 #4
0
        public void bindData(int claimID)
        {
            masterPage = this.Page.Master.Master as Protected.ClaimRuler;

            int clientID = SessionHelper.getClientId();

            List <ClaimExpense> expenses     = null;
            List <ExpenseType>  expenseTypes = null;

            expenses = loadExpenses(claimID);

            if (Session["ComingFromAllClaimsExpense"] != null)
            {
                pnlEditExpense.Visible = true;
            }

            gvExpense.DataSource = expenses;
            gvExpense.DataBind();
            if (Session["ComingFromAllClaimsExpense"] != null) //NEW OC 10/20/2014 ADDED to handle if coming from the all claims screen on the "addNote" button
            {
                var proID = Session["CarrierInvoiceID"];       //only thing that changed
                using (ExpenseTypeManager repository = new ExpenseTypeManager())
                {
                    expenseTypes = repository.GetAll2(Convert.ToInt32(proID)).ToList(); //was clientID
                }
                Core.CollectionManager.FillCollection(ddlExpenseType, "ExpenseTypeID", "ExpenseName", expenseTypes);
                Session["ExpenseCount"] = ddlExpenseType.Items.Count;
            }
            else
            {
                var proID = Session["InvoiceProfileID"];
                using (ExpenseTypeManager repository = new ExpenseTypeManager())
                {
                    expenseTypes = repository.GetAll2(Convert.ToInt32(proID)).ToList(); //was clientID
                }
                Core.CollectionManager.FillCollection(ddlExpenseType, "ExpenseTypeID", "ExpenseName", expenseTypes);
                Session["ExpenseCount"] = ddlExpenseType.Items.Count;
            }
        }
예제 #5
0
        protected void Page_Load(object sender, EventArgs e)
        {
            masterPage = this.Page.Master.Master as Protected.ClaimRuler;

            // check permissions
            if (Core.PermissionHelper.checkViewPermission("UsersLeads.aspx") && !Core.PermissionHelper.checkEditPermission("UsersLeads.aspx"))
                masterPage.disableControls(this.pnlContent, false);

            showFormFields();
            Session["InvoiceProfileID"] = ddlCarrierInvoiceProfile.SelectedValue;
            var a = Session["InvoiceProfileID"];
        }
예제 #6
0
        protected void Page_Init(object sender, EventArgs e)
        {
            masterPage = (CRM.Web.Protected.ClaimRuler) this.Page.Master.Master;

            //lbtnNewComment.Visible = Core.PermissionHelper.checkAddPermission("UsersLeads.aspx");
        }
예제 #7
0
 protected void Page_Load(object sender, EventArgs e)
 {
     masterPage = this.Page.Master.Master as Protected.ClaimRuler;
 }
예제 #8
0
        protected void Page_Load(object sender, EventArgs e)
        {
            masterPage = this.Page.Master.Master as Protected.ClaimRuler;

            string js = string.Format("javascript:processInvoiceServiceType(this, '{0}', '{1}');", txtServiceDescription.ClientID, txtServiceQty.ClientID);

            //ddlInvoiceServiceType.Attributes.Add("onchange", js);
        }
예제 #9
0
 protected void Page_Load(object sender, EventArgs e)
 {
     masterPage = this.Page.Master.Master as Protected.ClaimRuler;
 }
예제 #10
0
        public void bindData(int claimID)
        {
            masterPage = this.Page.Master.Master as Protected.ClaimRuler;

            int clientID = SessionHelper.getClientId();

            List<ClaimExpense> expenses = null;
            List<ExpenseType> expenseTypes = null;

            expenses = loadExpenses(claimID);

            if(Session["ComingFromAllClaimsExpense"] != null)
            {
                pnlEditExpense.Visible = true;
            }

            gvExpense.DataSource = expenses;
            gvExpense.DataBind();
            if (Session["ComingFromAllClaimsExpense"] != null)//NEW OC 10/20/2014 ADDED to handle if coming from the all claims screen on the "addNote" button
            {
                var proID = Session["CarrierInvoiceID"]; //only thing that changed
                using (ExpenseTypeManager repository = new ExpenseTypeManager())
                {
                    expenseTypes = repository.GetAll2(Convert.ToInt32(proID)).ToList(); //was clientID
                }
                Core.CollectionManager.FillCollection(ddlExpenseType, "ExpenseTypeID", "ExpenseName", expenseTypes);
                Session["ExpenseCount"] = ddlExpenseType.Items.Count;
            }
            else
            {
                var proID = Session["InvoiceProfileID"];
                using (ExpenseTypeManager repository = new ExpenseTypeManager())
                {
                    expenseTypes = repository.GetAll2(Convert.ToInt32(proID)).ToList(); //was clientID
                }
                Core.CollectionManager.FillCollection(ddlExpenseType, "ExpenseTypeID", "ExpenseName", expenseTypes);
                Session["ExpenseCount"] = ddlExpenseType.Items.Count;
            }
        }