Closed dave-mills closed 1 year ago
Pulled latest code and performed testing in local env.
Create a new initiative, "Save" button caption is not correct...
Created a new initiative, assess red flags
Click "Save and Start Principle Assessment" button
It does not divert to assess principles. It goes back to initiatives page...
Assess principles
Click "Finalise and begin Additional Assessment" button
It diverts to assess additioanl assessment, success
Create a new initiative, "Save" button caption is not correct...
Fixed by reverting to the previous save button trait setup.
It does not divert to assess principles. It goes back to initiatives page...
Fixed by harmonising how both "save and..." buttons work. Now both use the same startAssessment() method.
Thanks :)
Thank you Dave. It works well now. Now we have a very smooth process from creating new initiative to finalise additional assessments in one go.
P.S. I have also disabled additional assessment criteria, then created a new initiative and assessed them smoothly.
Screen shots:
Create new initiative, Save button caption is correct now
New initiative created, assess red flags
Click "Save and Start Principle Assessment" button
It goes to assess principle directly now
Click "Finalise and begin Additional Assessment" button
It goes to assess additional assessment criteria now
Finalise additional assessment
It goes back to initiative page, the newly created initiative has been fully assessed
This PR addresses a request to include a link to continue the next stage of the assessment within the current assessment:
On the Red Flags page
This is done by overwriting the default save options within Backpack. Instead, the buttons are included directly in the
redline.blade.php
template._redirect
input value before submitting the form._redirect
value is used in the redirect after saving, with a default set in case something goes wrong.Principle Assessment
Similar to the red flags, a new option is added to take the user directly to the additional criteria assessment page. This option only appears when the organisation has additional criteria active. It is enabled when the assessment is marked as finalised and disabled when not.