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

MVJ-421 Tasotarkistus Add New #555

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

NC-jsAhonen
Copy link
Contributor

@NC-jsAhonen NC-jsAhonen commented Dec 13, 2024

These changes implement the feature of adding tasotarkistus to a rent that previously does not have it.

The old_dwellings_in_housing_companies_price_index has to be fetched from the database through the API, and the best way to implement this in the MVJ-UI is to create a new reducer for it. It should fetch the latest data from the DB when the LeaseListPage is opened. That data is used for adding a tasotarkistus for the rent.

Currently, it cannot resolve the fetch, although it seems to be implemented the same way as reducers for VAT and service unit. The most likely cause is something missing in the viewset definition in the API.

These changes depend on these changes in the API: City-of-Helsinki/mvj#793

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.

1 participant