From 18a4334d8a895b343b7914e2f92d5ae4c9c30acd Mon Sep 17 00:00:00 2001 From: SamSys Date: Mon, 29 Dec 2025 14:36:03 +0330 Subject: [PATCH] change WarningMessage on InsuranceList Edit --- CompanyManagment.EFCore/Repository/InsuranceListRepository.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CompanyManagment.EFCore/Repository/InsuranceListRepository.cs b/CompanyManagment.EFCore/Repository/InsuranceListRepository.cs index 3f2eb9ac..88c92f26 100644 --- a/CompanyManagment.EFCore/Repository/InsuranceListRepository.cs +++ b/CompanyManagment.EFCore/Repository/InsuranceListRepository.cs @@ -177,7 +177,7 @@ public class InsuranceListRepository : RepositoryBase, IIns { checkout.SetUpdateNeeded(); if (!_context.CheckoutWarningMessages.Any(x => - x.CheckoutId == checkout.id && x.TypeOfCheckoutWarning != + x.CheckoutId == checkout.id && x.TypeOfCheckoutWarning == TypeOfCheckoutWarning.InsuranceEmployeeShare)) { var createWarrning =