-
Notifications
You must be signed in to change notification settings - Fork 93
Description
Description
We currently have the option to print the declaration page from the review page. This ticket is to add scopes for this feature and also support printing of supporting documents
This ticket is to:
-
Adds
record.print-declaration -
Adds
record.print-supporting-documents. If a user has this scope then it shows the checkbox 'Include supporting documents' -
Each png/jpf supporting document appears below the declaration and prints on a separate page
-
If a supporting document is a pdf. Then on confirm open all pdfs in separate tabs
-
Refactors the Print declaration button into the 'Action menu'
-
On click of Print declaration. A model shows. If the users has the supporting document scope then a checkbox shows to include supporting documents or not.
-
Record audit history updated to show that the declaration had been printed.
Stretch goal?
- Refactor Save declaration into the Action Menu
- Refactor Delete declaration into the Action Menu
- Refactor the Exit button to use the Icon variant
Design
ACs
GIVEN I am on declaration review page (Status = In Progress, Incomplete, Requires Update, In Review, Archived)
WHEN I have the scope record.print-declaration
THEN I can see Print declaration option in the Action menu
GIVEN I click Print declaration
WHEN I have the scope record.print-supporting-documents
THEN I show the checkbox 'Include supporting documents
GIVEN I click confirm to print the declaration
THEN open the preview view
GIVEN I click confirm to print the declaration with supporting documents
THEN show the images below the declaration form

GIVEN I have printed the declaration
WHEN on Record Audit
THEN show a line item that the declaration was printed
Action: Declaration printed, Date and Time, User, Location
Action: Declaration printed with supporting documents, Date and Time, User, Location
Tech tasks
Metadata
Metadata
Assignees
Labels
Type
Projects
Status