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-6074-f680-approval-letter-generation #2489

Merged
merged 5 commits into from
Apr 9, 2025

Conversation

depsiatwal
Copy link
Contributor

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

This Sets up the framework to generate the initial outcome letter.

There's a lot of work to do around formatting etc
But figure in this V0.1 we should as WIP await feedback and then look at formatting as a final task together with the refusal letter.

@depsiatwal depsiatwal force-pushed the LTD-6074-f680-approval-letter-generation branch from cfa884c to 70ced0c Compare April 3, 2025 15:33
@depsiatwal depsiatwal force-pushed the LTD-6074-f680-approval-letter-generation branch from 70ced0c to 4f2930f Compare April 4, 2025 08:41
@depsiatwal depsiatwal marked this pull request as ready for review April 4, 2025 09:24
</p>
<p>Yours sincerely,</p>

<p>signature here</P>
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need a special signed signature of some kind? I'm not sure how that works for SIELs

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah I think we defo need a follow up

one to include the missing bits of pieces i.e Expiry date /signature and another for formatting

Copy link
Contributor

Choose a reason for hiding this comment

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

Could you create a follow up ticket for this? And anything else you have in mind. Keen to make sure that we have the extra work noted down so we know what needs finishing pre-launch

Copy link
Contributor

Choose a reason for hiding this comment

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

In case of SIELs I think we add a page at the end for digital signature, we need something similar in this case.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I wanted to get a baseline template in that's kind of 90% there. I've written a jira for things like signature, remaining variables and formatting.

@depsiatwal
Copy link
Contributor Author

increased the scope slightly here to include the refusal to have a working baseline.
Note this still needs work for conditions

@depsiatwal depsiatwal force-pushed the LTD-6074-f680-approval-letter-generation branch from be85fba to c5e5f09 Compare April 7, 2025 15:52
Copy link
Contributor

@currycoder currycoder left a comment

Choose a reason for hiding this comment

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

This looks good. A couple of straggling comments which I will leave with you

</div>
<div id="references" class="govuk-caption-m">
Our Ref: {{ case_reference }}<br>
Your Ref: {{ details.user_reference }}<br><br>
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be the application name, right? It seems to be missing in the generated document

Comment on lines +27 to +28
<p>This application is refused under</p>
{{ security_release_outcome.refusal_reasons }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like this departs from the template because we only have a refusal_reasons text block, and the template assumes full on refusal criteria like SIELs. Can we negotiate with UCD to adapt the template to just take a text block here?

@depsiatwal depsiatwal force-pushed the LTD-6074-f680-approval-letter-generation branch from c5e5f09 to df62d03 Compare April 8, 2025 14:59
@depsiatwal depsiatwal merged commit 9bae4ff into dev Apr 9, 2025
18 checks passed
@depsiatwal depsiatwal deleted the LTD-6074-f680-approval-letter-generation branch April 9, 2025 14:38
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