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

LTD-5939-f680-approval-doc-spike #2430

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

depsiatwal
Copy link
Contributor

https://uktrade.atlassian.net/browse/LTD-5939

Approval letter for F680

This is a spike to get the approval letter working

@@ -453,6 +453,15 @@ def get_unique_documents(self, final_advice, pk):
return latest_documents


class F680FinalAdviceDocuments(APIView):
Copy link
Contributor

Choose a reason for hiding this comment

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

I feel like for now this one should perhaps live in api/cases/generated_documents/

Copy link
Contributor

Choose a reason for hiding this comment

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

It's also not F680 specific so I wonder if this could just be a caseworker URL under e.g. /caseworker/cases/<<case_uuid>>/generated_documents/

A DRF filter could perhaps be used to enable the frontend to get advice documents only e.g. enabling the frontend to filter results by only those which have an advice_type

Comment on lines +13 to +19
<ul class="govuk-list govuk-list--bullet">
{% for good in goods.refuse %}
<li>
{{good.good.name}}
</li>
{% endfor %}
</ul>
Copy link
Contributor

Choose a reason for hiding this comment

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

We can probably drop this for now

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