-
Notifications
You must be signed in to change notification settings - Fork 1
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
base: dev
Are you sure you want to change the base?
Conversation
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
|
||
|
There was a problem hiding this comment.
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.
def post_approval_recommendation(request, case, data, level="user-advice"): | ||
json = [ |
There was a problem hiding this comment.
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.
8eb8e63
to
66d064b
Compare
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