Add a help popover on the patron bills screen for "Convert change to patron credit"

Bug #1929596 reported by Jane Sandberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Wishlist
Unassigned
3.11
Fix Released
Wishlist
Unassigned

Bug Description

The Patron bills screen has a modifier checkbox at the bottom called "Convert Change to Patron Credit"

This was brought up as a confusing concept that could use more information in an eg-help-popover next to the label.

Here are two possibilities for what the text could be, from Allison Pryor and April Durrence respectively:

"Instead of physical change handed back, patrons can choose to use it towards future payments"

"Applies any remaining amount after payment to the patron account for future use"

Thanks, Allison and April!

tags: added: circ-billing
removed: billing
Changed in evergreen:
importance: Undecided → Wishlist
Gina Monti (gmonti90)
Changed in evergreen:
assignee: nobody → Gina Monti (gmonti90)
Revision history for this message
Gina Monti (gmonti90) wrote :
tags: added: pullrequest
Changed in evergreen:
status: New → Confirmed
Revision history for this message
Susan Morrison (smorrison425) wrote :

Testing for bug squashing, I'm not able to see the help popover on terran-main, so I'm not sure if this was applied or if there was any issue with it. Sorry if I'm missing it.

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

Sorry, that was my fault - please clear cache and try again!

Revision history for this message
Susan Morrison (smorrison425) wrote :

Thank you, Terran, I see it now. The alignment of the option and the popover is a tad off. Screenshot attached.

tags: added: needswork
tags: removed: pullrequest
Revision history for this message
Gina Monti (gmonti90) wrote :

Sorry, the commit got messed up because of the line endings, but I added new div tags to keep it in line:

https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/gmonti/lp1929596_convert_patron_credit_help_popover

The real diff is:

Open-ILS/src/templates/staff/circ/patron/t_bills.tt2

   <eg-help-popover help-text="[% l('Applies any remaining amount after payment to the patron account for future use.') %]">
      </label>
    </div>
  </div>
+ <form class="flex-row" role="form">
- <form class="form-inline" role="form">
   <div class="checkbox">

Thing is I can't get the "# Copies" to align with everything else. Must be from how it labels the textbox for input.

tags: added: pullrequest
removed: needswork
Revision history for this message
Terran McCanna (tmccanna) wrote :

After comparing this to a test server without this patch, I see that the alignment was off before the popover was ever added. So, considering that, and that the slight misalignment looks better than the copy number box being pushed to a second line, I squashed Gina's 3 commits into one and changed the "flex-row" back to "form-inline".

My sign-off is at:
https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/mccanna/lp1929596_convert_patron_credit_help_popover_signoff

tags: added: signedoff
Revision history for this message
Jane Sandberg (sandbergja) wrote :

Thanks, Gina and Terran! Merged to rel_3_11 and above.

Changed in evergreen:
status: Confirmed → Fix Committed
milestone: none → 3.12.3
assignee: Gina Monti (gmonti90) → nobody
Revision history for this message
Gina Monti (gmonti90) wrote :

Thanks, all, and sorry for the weirdly formatted commit!

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.