Wishlist - Add Survey Responses to Patron Data Print Template

Bug #1994057 reported by Susan Morrison
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Wishlist
Unassigned

Bug Description

Wish list - we'd like to be able to access survey responses on the Patron Data print template. For example, when printing a patron's profile, it would be beneficial for the voter registration survey response to be included, so staff can print out the registration and have the patron sign it instead of using the registration form.

Surveys store every time someone answers, and there can be multiple surveys on an account, so the code would need to retrieve the most recent answer for every survey on the account.

tags: added: printing surveys wishlist
Changed in evergreen:
importance: Undecided → Wishlist
assignee: nobody → Terran McCanna (tmccanna)
Revision history for this message
Terran McCanna (tmccanna) wrote :
tags: added: pullrequest
tags: removed: wishlist
Revision history for this message
Katie Greenleaf Martin (kgmspark) wrote :

This is lovely! I tested it on Terran's test server and it prints the most recent survey answer, for each available survey -- so if different locations have different surveys, you will get the most recent answer to all surveys in the output.

I have tested this code and consent to signing off on it with my name, Katie Greenleaf Martin and my email address, <email address hidden>

Changed in evergreen:
assignee: Terran McCanna (tmccanna) → nobody
tags: added: signedoff
Changed in evergreen:
milestone: none → 3.12-beta
Revision history for this message
Jane Sandberg (sandbergja) wrote :

This is great, Terran! My only suggestion is to also add some data to the seed_user in Open-ILS/web/js/ui/default/staff/admin/workstation/app.js, for the benefit of anybody editing this template in the print template editor.

Also adding the needsreleasenote tag, to make sure it gets some release notes before it is merged.

For anybody else interested in trying this out, you can exercise this template by:
1. opening a patron record,
2. opening the Edit tab, then
3. pressing the Print button.

tags: added: needsreleasenote
Revision history for this message
Terran McCanna (tmccanna) wrote :

Thanks, I'll work on those!

Changed in evergreen:
assignee: nobody → Terran McCanna (tmccanna)
Revision history for this message
Terran McCanna (tmccanna) wrote :
tags: removed: needsreleasenote
Changed in evergreen:
assignee: Terran McCanna (tmccanna) → nobody
Changed in evergreen:
status: New → Fix Committed
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.