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

invoice edit: fetch receivable types by lease's service unit #499

Merged

Conversation

NC-jsAhonen
Copy link
Contributor

@NC-jsAhonen NC-jsAhonen commented Jun 27, 2024

Previously, receivable types (saamislaji) were filtered by user's active service unit in Vuokraus => Laskutus tab, both in the invoice edit view and create new invoice view. However, they should be filtered by the current lease's service unit in order to make sure that it is not possible to give a receivable type for the lease's invoice that belongs to a wrong service unit.

Notice that saving the changes to the invoice does not work. That issue will be handled separately.

@NC-jsAhonen NC-jsAhonen merged commit e35ea7e into develop Jun 28, 2024
3 checks passed
@NC-jsAhonen NC-jsAhonen deleted the MVJ-371-receivable-types-filtered-by-lease-service-unit branch June 28, 2024 07:41
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