Skip to content

Commit

Permalink
Changes to work as-is
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Howes committed Apr 8, 2020
1 parent f998e01 commit 4b83b9f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -310,12 +310,5 @@ public async Task<ActionResult> WhenDoYouWantToView(int? choice, string agreemen
}
}
}

[HttpGet]
[Route("agreements/{accountLegalEntityHashedId}/viewallagreements")]
public ActionResult ViewAllAgreements(string hashedAccountId, string accountLegalEntityHashedId)
{
throw new NotImplementedException();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,14 @@
}
</td>
<td class="govuk-table__cell">
<a href="@Url.Action(ControllerConstants.ViewAllAgreementActionName, ControllerConstants.EmployerAgreementControllerName, new {accountLegalEntityHashedId = employerAgreement.LegalEntity.AccountLegalEntityPublicHashedId})" title="View all agreements">
View all agreements
</a>
@if (employerAgreement.HasPendingAgreement)
{
<a href="@Url.Action(ControllerConstants.AboutYourAgreementActionName, ControllerConstants.EmployerAgreementControllerName, new { agreementid = employerAgreement.Pending.HashedAgreementId })" title="View agreement for @employerAgreement.LegalEntity.Name">Accept agreement</a>
}
else if (employerAgreement.HasSignedAgreement)
{
<a href="@Url.Action(ControllerConstants.DetailsActionName, ControllerConstants.EmployerAgreementControllerName, new { agreementid = employerAgreement.Signed.HashedAgreementId })" title="View agreement">View</a>
}
</td>
<td class="govuk-table__cell">
@if (Model.Data.EmployerAgreementsData.EmployerAgreements.Count > 1)
Expand Down

0 comments on commit 4b83b9f

Please sign in to comment.