Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CON-3951 - Revamped legal agreements page #2211

Merged
merged 7 commits into from
Oct 27, 2021

Conversation

Howesy77
Copy link
Contributor

@Howesy77 Howesy77 commented Oct 1, 2021

No description provided.

@item.Template.PublishedInfo
</a>
</li>
@Html.Partial("_AcceptedAgreement", agreement, new ViewDataDictionary{{"Inset", agreement.Template.InsetText(Model.Data) } })
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it worth using some sort of constant rather than hardcoding "Inset"

@@ -292,6 +292,8 @@ public async Task<ActionResult> WhenDoYouWantToView(int? choice, string agreemen
public async Task<ActionResult> ViewAllAgreements(string hashedAccountId, string accountLegalEntityHashedId)
{
var model = await _orchestrator.GetOrganisationAgreements(accountLegalEntityHashedId);
ViewBag.AgreementId = accountLegalEntityHashedId;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would it be better to have the "AgreementId" on the model rather than using viewbag?

Copy link
Contributor

@cofaulco cofaulco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a couple of minor comments

@narendranogothu narendranogothu merged commit 19244b5 into master Oct 27, 2021
@narendranogothu narendranogothu deleted the CON-3951---Revamped-legal-agreements-page branch October 27, 2021 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants