Index: App/Supporting Projects/ServiceConsumer/ServiceConsumer/Classes/EmployeeI9StatusResponse.cs =================================================================== --- App/Supporting Projects/ServiceConsumer/ServiceConsumer/Classes/EmployeeI9StatusResponse.cs (revision 83761) +++ App/Supporting Projects/ServiceConsumer/ServiceConsumer/Classes/EmployeeI9StatusResponse.cs (working copy) @@ -24,7 +24,7 @@ switch (status) { case OnBoardSharedFunction.I9VerificationStatus.Authorized: - status_label = "Authorized from E-Verify"; + status_label = "Authorized"; break; case OnBoardSharedFunction.I9VerificationStatus.Case_Closed: status_label = "Case Closed"; @@ -33,14 +33,17 @@ status_label = "Incomplete"; break; case OnBoardSharedFunction.I9VerificationStatus.Pending_for_Verification: - status_label = "Pending for verification by E-Verify"; + status_label = "Pending for Verification "; break; - case OnBoardSharedFunction.I9VerificationStatus.Pending_Initial_Submission: + case OnBoardSharedFunction.I9VerificationStatus.Pending_Employer_Verification: status_label = "Pending Employer Verification"; break; case OnBoardSharedFunction.I9VerificationStatus.Rejected: - status_label = "Rejected by E-Verify"; + status_label = "Rejected"; break; + case OnBoardSharedFunction.I9VerificationStatus.Employer_Verified: + status_label = "Employer Verified"; + break; } return new EmployeeI9StatusResponse() Index: Shared Library/SharedFunction/SharedFunction/OnBoardSharedFunction.cs =================================================================== --- Shared Library/SharedFunction/SharedFunction/OnBoardSharedFunction.cs (revision 83761) +++ Shared Library/SharedFunction/SharedFunction/OnBoardSharedFunction.cs (working copy) @@ -274,15 +274,16 @@ TourInProgress = 2, TourCompleted = 3 } - + //Added by sushodhan for generating I9 statuse responses types public enum I9VerificationStatus { Authorized=1, Pending_for_Verification=2, Incomplete=3, Rejected=4, - Pending_Initial_Submission=5, - Case_Closed=6 + Pending_Employer_Verification=5, + Case_Closed=6, + Employer_Verified=7 } //added by rohit m (NF-210) public enum LanguageIndicatorID Index: Web/SharedFunctionWebTier/SharedFunctionWebTier/Models/APIStatusResponses/EmployeeI9StatusResponse.cs =================================================================== --- Web/SharedFunctionWebTier/SharedFunctionWebTier/Models/APIStatusResponses/EmployeeI9StatusResponse.cs (revision 83761) +++ Web/SharedFunctionWebTier/SharedFunctionWebTier/Models/APIStatusResponses/EmployeeI9StatusResponse.cs (working copy) @@ -24,7 +24,7 @@ switch (status) { case OnBoardSharedFunction.I9VerificationStatus.Authorized: - status_label = "Authorized from E-Verify"; + status_label = "Authorized"; break; case OnBoardSharedFunction.I9VerificationStatus.Case_Closed: status_label = "Case Closed"; @@ -33,14 +33,17 @@ status_label = "Incomplete"; break; case OnBoardSharedFunction.I9VerificationStatus.Pending_for_Verification: - status_label = "Pending for verification by E-Verify"; + status_label = "Pending for Verification "; break; - case OnBoardSharedFunction.I9VerificationStatus.Pending_Initial_Submission: + case OnBoardSharedFunction.I9VerificationStatus.Pending_Employer_Verification: status_label = "Pending Employer Verification"; break; case OnBoardSharedFunction.I9VerificationStatus.Rejected: - status_label = "Rejected by E-Verify"; + status_label = "Rejected"; break; + case OnBoardSharedFunction.I9VerificationStatus.Employer_Verified: + status_label = "Employer Verified"; + break; } return new EmployeeI9StatusResponse() Index: Web/Web Projects/OnBoard/Areas/Customization/Controllers/I9Verification/I9VerificationController.cs =================================================================== --- Web/Web Projects/OnBoard/Areas/Customization/Controllers/I9Verification/I9VerificationController.cs (revision 83761) +++ Web/Web Projects/OnBoard/Areas/Customization/Controllers/I9Verification/I9VerificationController.cs (working copy) @@ -123,7 +123,7 @@ sbShowAlert.Append("ShowAlert('").Append(WORKTERRAResource.I9EmploymentEligibilityVerification ).Append( "','" ).Append( "I9 " ).Append( WORKTERRAResource.InformationAddedSuccessfully ).Append("',3,'MoveToNextScreen()')"); //Added by Sushodhan (NF-677) - ResponseHelper.SendStatusResponseToAPI(WORKTERRASharedFunction.APIStatusResponse.I9VerificationStatus, OnBoardSharedFunction.I9VerificationStatus.Pending_Initial_Submission); + ResponseHelper.SendStatusResponseToAPI(WORKTERRASharedFunction.APIStatusResponse.I9VerificationStatus, OnBoardSharedFunction.I9VerificationStatus.Pending_Employer_Verification); return JavaScript(sbShowAlert.ToString()); } else @@ -148,6 +148,7 @@ objI9VerificationModel.SaveDataSection3(); SharedFunctionWebTier.AddSessionValue("Execute", "True"); sbMsg = objI9VerificationModel.SubmitToEverify(objI9VerificationModel); + //Added by Sushodhan (NF-677) ResponseHelper.SendStatusResponseToAPI(WORKTERRASharedFunction.APIStatusResponse.I9VerificationStatus, OnBoardSharedFunction.I9VerificationStatus.Pending_for_Verification); return JavaScript(sbMsg); } @@ -230,6 +231,8 @@ if (result > 0) { sbShowAlert.Append("ShowAlert('").Append(WORKTERRAResource.lblI9Title).Append("','").Append(WORKTERRAResource.I9Rejected).Append("',3,'I9Review()')"); + //Added by Sushodhan (NF-677) + ResponseHelper.SendStatusResponseToAPI(WORKTERRASharedFunction.APIStatusResponse.I9VerificationStatus, OnBoardSharedFunction.I9VerificationStatus.Rejected); } else { sbShowAlert.Append("ShowAlert('").Append(WORKTERRAResource.lblI9Title).Append("','").Append(WORKTERRAResource.I9RejectionFailed).Append("',2,'I9Review()')");