fix: correct IsOldContract logic to properly identify old contracts

This commit is contained in:
2025-12-20 14:35:02 +03:30
parent 20e3d454cf
commit 8c6336b9bd

View File

@@ -162,7 +162,7 @@ public class InstitutionContract : EntityBase
public List<InstitutionContractAmendment> Amendments { get; private set; }
public bool IsOldContract => LawId!= 0;
public bool IsOldContract => LawId== 0;
public InstitutionContract()
{