From 0dd2dc7c43d4e1860b01d06ab82e399c7561688f Mon Sep 17 00:00:00 2001 From: mahan Date: Sat, 20 Dec 2025 15:21:34 +0330 Subject: [PATCH] add workshopCode on client contract print --- CompanyManagment.App.Contracts/Contract/IContractApplication.cs | 1 + CompanyManagment.EFCore/Repository/ContractRepository.cs | 1 + 2 files changed, 2 insertions(+) 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()