diff --git a/CompanyManagment.App.Contracts/Contract/IContractApplication.cs b/CompanyManagment.App.Contracts/Contract/IContractApplication.cs index 38c2fc2b..c2f10398 100644 --- a/CompanyManagment.App.Contracts/Contract/IContractApplication.cs +++ b/CompanyManagment.App.Contracts/Contract/IContractApplication.cs @@ -128,6 +128,7 @@ public class ContractPrintEmployerViewModel public ContractPrintLegalEmployerViewModel LegalEmployer { get; set; } public string WorkshopName { get; set; } public string Address { get; set; } + public string WorkshopCode { get; set; } } diff --git a/CompanyManagment.EFCore/Repository/ContractRepository.cs b/CompanyManagment.EFCore/Repository/ContractRepository.cs index 08a8a43f..c684138e 100644 --- a/CompanyManagment.EFCore/Repository/ContractRepository.cs +++ b/CompanyManagment.EFCore/Repository/ContractRepository.cs @@ -1660,6 +1660,7 @@ public class ContractRepository : RepositoryBase, IContractRepos NationalCode = x.Employer.Nationalcode } : null, + WorkshopCode = workshop.InsuranceCode }; var employeeRes = new ContractPrintEmployeeViewModel()