// GET: PropertyClaim public ActionResult NewPropertyClaim() { if (TempData[TempDataHelper.NewClaimModel] == null) { return(RedirectToAction("Index", "NewClaim")); } NewClaimModel newClaimModel = TempData[TempDataHelper.NewClaimModel] as NewClaimModel; //login = Session[SessionHelper.LoginClient] as LoginClient; //Session[SessionHelper.StoreobjectList] = null; PropertyClaim claim = new PropertyClaim(); pickListServices = new PicklistServicecs(); claimServices = new ClaimServices(); claim.Claim_Team = newClaimModel.Claim_Team; claim.Claim_Team_Name = newClaimModel.Claim_Team; claim.Account_Name = newClaimModel.Account_Name; claim.Accountid = newClaimModel.Accountid; claim.Claim_Type = newClaimModel.Claim_Type; claim.Oc_Id = newClaimModel.Oc_No; claim.Oc_Num = newClaimModel.Oc_Name; claim.Policy_No = newClaimModel.Policy_No; claim.Assigned_User = newClaimModel.Assigned_To_Id; claim.Property_Address_1 = newClaimModel.Property_Address_1; claim.Property_Address_2 = newClaimModel.Property_Address_2; claim.Property_Postalcode = newClaimModel.Property_Postalcode; claim.Property_State = newClaimModel.Property_State; claim.Property_Suburb = newClaimModel.Property_Suburb; claim.Account_Manager_Property = newClaimModel.AccountManager; claim.Insurer = newClaimModel.Insurer; claim.InsurerName = newClaimModel.InsurerName; claim.Insured_Name = newClaimModel.Insured_Name; claim.Account_Manager_Property = newClaimModel.Account_Manager_Property; claim.Policy_Class = newClaimModel.Policy_Class; claim.Policy_Id = newClaimModel.Policy_Id; claim.Date_Of_Loss = newClaimModel.Incident_Date; claim.Incident_Date = newClaimModel.Incident_Date; //claim.Claim_Team = login.ClaimTeam; //claim.Claim_Type = string.IsNullOrEmpty(Request.QueryString[QueryStringHelper.PageType]) ? Session[SessionHelper.Page].ToString() : Request.QueryString[QueryStringHelper.PageType]; //Get Claim Reference # claim.Claim_Reference_Num = claimServices.GenerateClaimRefNo(claim.Claim_Team); claim.Claim_Reference_Num = claim.Claim_Reference_Num.Replace("\"", ""); InitializeModel(claim, claimServices); return(View(claim)); }
public ActionResult NewRisksmartGccClaim() { client = Session[SessionHelper.claimTeamLogin] as ClaimTeamLoginModel; if (TempData[TempDataHelper.NewClaimModel] == null) { return(RedirectToAction("Index", "NewClaim")); } NewClaimModel newClaimModel = TempData[TempDataHelper.NewClaimModel] as NewClaimModel; claimServices = new ClaimServices(); RisksmartGccClaim model = new RisksmartGccClaim(); model.Claim_Received = model.Claim_Received == null || model.Claim_Received == false ? false : true; model.Claim_Acknowledged = model.Claim_Acknowledged == null || model.Claim_Acknowledged == false ? false : true; model.Review = model.Review == null || model.Review == false ? false : true; model.Outcome_Settlement = model.Outcome_Settlement == null || model.Outcome_Settlement == false ? false : true; model.Outcome_Declined = model.Outcome_Declined == null || model.Outcome_Declined == false ? false : true; model.Claim_Closed = model.Claim_Closed == null || model.Claim_Closed == false ? false : true; model.Litigated = model.Litigated == null || model.Litigated == false ? false : true; model.Claim_Team = newClaimModel.Claim_Team; model.Claim_Team_Name = newClaimModel.Claim_Team; model.Account_Name = newClaimModel.Account_Name; model.Accountid = newClaimModel.Accountid; model.Claim_Type = newClaimModel.Claim_Type; model.Oc_Num = newClaimModel.Oc_No; model.Policy_No = newClaimModel.Policy_No; model.Assigned_User = newClaimModel.Assigned_To_Id; model.Property_Address_1 = newClaimModel.Property_Address_1; model.Property_Address_1 = newClaimModel.Property_Address_2; model.Property_Postalcode = newClaimModel.Property_Postalcode; model.Property_State = newClaimModel.Property_State; model.Property_Suburb = newClaimModel.Property_Suburb; model.Insurer = newClaimModel.Insurer; model.InsurerName = newClaimModel.InsurerName; model.Insured_Name = newClaimModel.Insured_Name; model.Date_Of_Loss = newClaimModel.Incident_Date; model.Incident_Date = newClaimModel.Incident_Date; model.Policy_Id = newClaimModel.Policy_Id; // Get Claim Reference # model.Claim_Reference_Num = claimServices.GenerateClaimRefNo(model.Claim_Team); model.Claim_Reference_Num = model.Claim_Reference_Num.Replace("\"", ""); InitializeModel(model, claimServices); return(View(model)); }
public ActionResult NewRisksmartPropertyClaim() { client = Session[SessionHelper.loginCounter] as ClaimTeamLoginModel; if (TempData[TempDataHelper.NewClaimModel] == null) { return(RedirectToAction("Index", "NewClaim")); } claimServices = new ClaimServices(); NewClaimModel newClaimModel = TempData[TempDataHelper.NewClaimModel] as NewClaimModel; RisksmartPropertyClaim model = new RisksmartPropertyClaim(); model.Claim_Team = newClaimModel.Claim_Team; model.Claim_Team_Name = newClaimModel.Claim_Team; model.Account_Name = newClaimModel.Account_Name; model.Accountid = newClaimModel.Accountid; model.Claim_Type = newClaimModel.Claim_Type; model.Oc_Id = newClaimModel.Oc_Name; model.Oc_Num = newClaimModel.Oc_Name; model.Policy_No = newClaimModel.Policy_No; model.Assigned_User = newClaimModel.Assigned_To_Id; model.Property_Address_1 = newClaimModel.Property_Address_1; model.Property_Address_2 = newClaimModel.Property_Address_2; model.Property_Postalcode = newClaimModel.Property_Postalcode; model.Property_State = newClaimModel.Property_State; model.Property_Suburb = newClaimModel.Property_Suburb; model.Insurer = newClaimModel.Insurer; model.Insurer_Name = newClaimModel.InsurerName; model.Insured_Name = newClaimModel.Insured_Name; model.Policy_Class = newClaimModel.Policy_Class; model.Policy_Id = newClaimModel.Policy_Id; model.Account_Manager_Property = newClaimModel.Account_Manager_Property; model.Date_Of_Loss = newClaimModel.Incident_Date; model.Incident_Date = newClaimModel.Incident_Date; model.Policy_Id = newClaimModel.Policy_Id; // Get Claim Reference # model.Claim_Reference_Num = claimServices.GenerateClaimRefNo(model.Claim_Team); model.Claim_Reference_Num = model.Claim_Reference_Num.Replace("\"", ""); InitializeModel(model, claimServices); return(View(model)); }