From d257711d1642cf3e601e4ff2bcb59dd592e2faca Mon Sep 17 00:00:00 2001 From: SamSys Date: Sun, 20 Apr 2025 18:44:19 +0330 Subject: [PATCH] Create ClientAcount on InstitutionContract when edit or extend --- .../Areas/Admin/Pages/Company/InstitutionContracts/Edit.cshtml | 2 +- .../Admin/Pages/Company/InstitutionContracts/Index.cshtml.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ServiceHost/Areas/Admin/Pages/Company/InstitutionContracts/Edit.cshtml b/ServiceHost/Areas/Admin/Pages/Company/InstitutionContracts/Edit.cshtml index b188c123..901c5319 100644 --- a/ServiceHost/Areas/Admin/Pages/Company/InstitutionContracts/Edit.cshtml +++ b/ServiceHost/Areas/Admin/Pages/Company/InstitutionContracts/Edit.cshtml @@ -115,7 +115,7 @@ - + diff --git a/ServiceHost/Areas/Admin/Pages/Company/InstitutionContracts/Index.cshtml.cs b/ServiceHost/Areas/Admin/Pages/Company/InstitutionContracts/Index.cshtml.cs index c6267b2f..0b127ce9 100644 --- a/ServiceHost/Areas/Admin/Pages/Company/InstitutionContracts/Index.cshtml.cs +++ b/ServiceHost/Areas/Admin/Pages/Company/InstitutionContracts/Index.cshtml.cs @@ -360,6 +360,7 @@ public class IndexModel : PageModel var representativList = new List(); var contractingPartyList = new List(); var res = _institutionContract.GetDetails(id); + var representative = new RepresentativeViewModel { Id = res.RepresentativeId,