Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

AE-1987: käskypäätös / varsinainen päätös toimenpide changes #966

Merged
merged 19 commits into from
Oct 23, 2023

Conversation

Juholei
Copy link
Contributor

@Juholei Juholei commented Oct 6, 2023

  • Move käskypäätös / varsinainen päätös toimenpide fields 'recipient-answered', 'answer-commentary-fi', 'answer-commentary-sv', 'statement-fi', 'statement-sv' to be osapuoli-specific

  • New UI where all the osapuoli specific fields are organized by osapuoli

…ipient-answered', 'answer-commentary-fi', 'answer-commentary-sv', 'statement-fi', 'statement-sv' to be osapuoli-specific

- Preliminary UI changes to support this change included, will be rethought later
…ional in schema and hidden in UI for käskypäätös / varsinainen päätös toimenpidetype
…, statement-sv to null if recipient-answered is false when sending toimen pide to backend
… statement fields when there is no document for osapuoli, move their original schema under osapuoli-specific-data
@Juholei Juholei changed the title AE-1987: Move käskypäätös / varsinainen päätös toimenpide fields AE-1987: käskypäätös / varsinainen päätös toimenpide changes Oct 16, 2023
@Juholei Juholei marked this pull request as ready for review October 16, 2023 10:28
@solita-antti-mottonen
Copy link
Contributor

Joku erotin loppuun ennen mainintaa manuaalisesta toimittamisesta olisi hyvä

… päätös if the osapuoli doesn't have document
- All osapuoli specific fields are under the heading with the osapuoli name
- Separate osapuolitable removed as unnecessary
… in the preview api call for käskypäätös / varsinanen päätös document

- If other osapuolis are still missing the data, it's now possible to preview the document for an osapuoli that has all the required data filled in
…view for each osapuoli

- Previously the errors were visible only in the top of the dialog so they weren't visible most of the time
…ated for preview

- Otherwise the partial data was validated agains a full schema that expected all osapuolis to be present
… the fields in käskypäätös / varsinainen päätös form
@Juholei Juholei merged commit 18c0868 into develop Oct 23, 2023
8 checks passed
@Juholei Juholei deleted the feature/AE-1987 branch October 23, 2023 06:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants