add workshopCode on client contract print

This commit is contained in:
2025-12-20 15:21:34 +03:30
parent 20c00893b6
commit 0dd2dc7c43
2 changed files with 2 additions and 0 deletions

View File

@@ -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; }
}

View File

@@ -1660,6 +1660,7 @@ public class ContractRepository : RepositoryBase<long, Contract>, IContractRepos
NationalCode = x.Employer.Nationalcode
}
: null,
WorkshopCode = workshop.InsuranceCode
};
var employeeRes = new ContractPrintEmployeeViewModel()