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-5948: Add option to make approval recommendation for F680 application #2379

Open
wants to merge 11 commits into
base: dev
Choose a base branch
from

Conversation

saruniitr
Copy link
Contributor

@saruniitr saruniitr commented Feb 26, 2025

Change description

Add option to make approval recommendation for F680.
This is based on recommendation flow for SIEL where user can either approve/refuse all. Currently only approve option is presented.

When making recommendation we pull approval text (picklists) corresponding to the team. User can optionally enter provisos etc and submit recommendation. We then show the given recommendation details.

Currently any user can make a recommendation but this needs to be enclosed in a rule which will be done in subsequent PRs. This is mainly to limit the size of PR.

The option is add recommendation is not exposed to the user. It can only be accessed using the URL.

LTD-5948

At the moment only approve option is available but will be extended later
The forms are duplication for F680 with the idea that they may differ
from SIELs
We need to enclose the action buttons with rules etc but that will
follow in later patches
Comment on lines +13 to +14


Copy link
Contributor Author

Choose a reason for hiding this comment

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

These forms are created separately for F680 with the idea they can be different following user feedback once they see initial version.

Comment on lines +40 to +41
def post_approval_recommendation(request, case, data, level="user-advice"):
json = [
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same here, some of these are same as advice function but unlike SIELs we are only going to create one Advice instance for F680 so some of these helper functions will be different.

@saruniitr saruniitr marked this pull request as draft February 26, 2025 16:52
@saruniitr saruniitr force-pushed the LTD-5948-F680-select-recommendation-type branch from 8eb8e63 to 66d064b Compare February 27, 2025 13:05
@saruniitr saruniitr marked this pull request as ready for review February 27, 2025 13:05
@currycoder currycoder self-requested a review February 27, 2025 13:10
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.

1 participant