Skip to content

LTD-6169 add generated documents to caseworker docs tab #2472

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

Merged

Conversation

markj0hnst0n
Copy link
Contributor

@markj0hnst0n markj0hnst0n commented Apr 23, 2025

Aim

Make documents tab show generated docs/outcome letters

LTD-6169

Copy link
Contributor

@Tllew Tllew left a comment

Choose a reason for hiding this comment

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

minor comment, looks good

def generated_document_data(data_f680_case):
return [
{
"id": str(uuid.uuid4()), # /PS-IGNORE
Copy link
Contributor

Choose a reason for hiding this comment

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

this ID and the above document_data.id will be different values, I assume that ok right?

if not maybe another helper function to generate the uuid to keep it consistent would work

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They should be different documents in this case as one is an exporter uploaded doc and the other is an outcome letter generated by the caseworker.

@markj0hnst0n markj0hnst0n merged commit 7883ae2 into dev Apr 25, 2025
12 checks passed
@markj0hnst0n markj0hnst0n deleted the LTD-6169-add-generated-documents-to-caseworker-docs-tab branch April 25, 2025 09:25
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