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

TS-1631: Display multiple pending contracts for the same property #89

Merged
merged 2 commits into from
Dec 10, 2024

Conversation

martapederiva
Copy link
Contributor

Link to JIRA ticket

https://hackney.atlassian.net/browse/TS-1631

Describe this PR

What is the problem we're trying to solve

On BTA, the Contracts approval Worktray relies on the Housing Search system to display what contract belongs to which asset. Currently, only the latest contract is saved by the Listener, however, in some instances, BTA users will need to approve more than one contract on the same property. This happens, for example, if a tenant moves in and out of the property in a matter of days: since the contract approval is not guaranteed to be done on a daily basis, those contracts would not be approved in time.
The changes in this and following PRs will move AssetContract property on the Asset entity from a single one to a list of AssetContracts.

What changes have we introduced

Change from single AssetContract to list of AssetContracts where needed.

Follow up actions after merging PR

Updates to Listener and API.

@martapederiva martapederiva requested a review from a team December 9, 2024 14:36
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.

2 participants