Create ClientAcount on InstitutionContract when edit or extend

This commit is contained in:
SamSys
2025-04-20 18:44:19 +03:30
parent 7ab83c73aa
commit d257711d16
2 changed files with 2 additions and 1 deletions

View File

@@ -115,7 +115,7 @@
</div>
<span asp-validation-for="ContractingPartyId" class="error"></span>
<input type="hidden" asp-for="@Model.ContractingPartyId" value="@Model.ContractingPartyId" />
</div>
</div>

View File

@@ -360,6 +360,7 @@ public class IndexModel : PageModel
var representativList = new List<RepresentativeViewModel>();
var contractingPartyList = new List<PersonalContractingPartyViewModel>();
var res = _institutionContract.GetDetails(id);
var representative = new RepresentativeViewModel
{
Id = res.RepresentativeId,